I some time get status message with stream = closed. could you please let me know when should we retry to connect and login again?
When I tried reconnect/login after 2 sec. it gives me same status message with stream = closed.
Basically, what should be recovery logic ?
Certainly you can retry after a short delay- but I cannot suggest how long as we don't know what is causing the problem - the Error is non specific - which could suggest some un-handled issue .
When this happens again, I would recommend you raise a support ticket via My.Refinitiv Support - so they can confirm / investigate if their is an issue on the EDP service or your particular authorisation sever endpoint at that point in time.
Please post an example of the full closed Status Msg you receive.
Also, please answer the following so we can better understand the situation in order to assist you:
If you are seeing the ExceededMaxMountsPerUser message, this indicates that you have exceeded the number of concurrent logins (Mounts) your username is configured for.
This could be because someone else in your organisation is using your login credentials OR you yourself have active Logins from multiple devices.
When one of the other Login's disconnect, then you are able to successfully login.
If you are connecting to an internal ADS server then you should speak to your Market Data team to discuss increasing your concurrent login count. If you are connected to a hosted / server in the Cloud then you will need to contact your Refinitiv account manager.
The maximum concurrent logins is configured on a per user basis - as there is typically an exchange related cost involved for multiple logins - the default is 1.
Your internal Market Data team or Refintiv account manager should be able to confirm your actual limit.
Also, if you are connecting to EDP (Cloud) - then try setting the takeExclusiveSignOnControl to True when requesting your authorisation Token from the Authorisation server - to override any previous sessions still logged in.
I can fix the concurrent logins case of status stream closed.
but, apart from this I sometimes get the status message with stream closed with the error code.
Could please suggest what should I do here. should I try reconnect after sometime ?