What should I do if the RPC connection flow is different than expected in Mail & Deploy?

Modified on Fri, 30 Aug at 2:33 PM

FIRST CREATED ON 7 May 2023  I  AUTHOR Emma Camacho


If you encounter a situation where the RPC connection flow deviates from your expectations, it may indicate configuration or connectivity issues. Here’s a brief guide to help you troubleshoot and address this problem.


Issue: 


You receive the following error related to the RPC connection:



The connection to the datasource could not be established.
ADDITIONAL INFORMATION
The RPC connection flow was different than expected.
STACK TRACE
Exception: The RPC connection flow was different than expected.
at MailAndDeploy.Server.Connectors.QlikSense.Rpc.RpcConnection..ctor(IRpcConnectionInitiator pInitiator, String pUrl, RpcHeader[] pHeaders, RpcCookie[] pCookies, RpcAuthenticationMethod pAuthenticationMethod, NetworkCredential pCredentials, RpcConnectionResetSettings pResetSettings)
at MailAndDeploy.Server.Connectors.QlikSense.QsConnection.CreateRpcConnection(String pUrl, RpcHeader[] pHeaders, RpcCookie[] pCookies, RpcConnectionResetSettings pResetSettings)
at MailAndDeploy.Server.Connectors.QlikSense.QsConnection.OpenApp(String pAppId, String pEngineSessionId)
at MailAndDeploy.Server.Connectors.QlikSense.QlikSenseAppConnector.FromDatasource(QlikSenseAppDatasource pDatasource)
at MailAndDeploy.Server.Services.Management.Ui.DatasourcesSheet.ListPage_EntitiesTable_CellButtonClicked(String pSender, String pData)
Exception: Response 'OnAuthenticationInformation' or 'OnConnected' was expected, but 'OnMaxParallelSessionsExceeded' has been received. 



Resolution


Please make sure that the Mail & Deploy Service Account has a dedicated license. The Mail & Deploy Service Account should not be the same one as the Qlik Sense Service Account.




Looking for Additional Guidance?


If you require more detailed information or further assistance, please visit our comprehensive Online Documentation. Our resources are designed to help you navigate all features and functionalities effectively.


Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article