Disconnected after burst of queries

Options

Hello. I have encountered a situation when after sending 50 instrument subscriptions from pricing stream and 50 queries of reference data from FundamentalAndReference module; the stream connection disconnects:

EventCode [StreamDisconnected] msg {
"Contents": "Connection to the WebSocket server [localhost:9002/api/rdp/streaming/pricing/v1/WebSocket] down. Microsoft's ClientWebSocket connection terminated. Code: InvalidState. Reason: [The 'System.Net.WebSockets.InternalClientWebSocket' instance cannot be used for communication because it has been transitioned into the 'Aborted' state.]"
}

Some of the FundamentalAndReference request are also not returning anything. Showing errors that the request is refused by the machine. Can you please advise about the capacity of queries that can be handled by refinitiv? I am using .net refinitiv data library

Answers

  • Jirapongse
    Jirapongse ✭✭✭✭✭

    @Dunhill

    Thank you for reaching out to us.

    For now, we only provide the Usage and Limits Guideline for LSEG Data Library for .NET.

    The log indicated that the WebSocket connection was disconnected. There are many reasons for disconnections.

    To verify this issue, you may need to enable the trace log in the library. For example:

     Log.Level = NLog.LogLevel.Trace;


    Log.Output = (loginfo, parms) => Console.WriteLine($"Application: {loginfo.Level} - {loginfo.FormattedMessage}");

    With the trace log, we can verify the behavior of the library.

    Moreover, the Refinitiv Data Library for .NET is feature-complete and has been rebranded as the LSEG Data Library for .NET. Please migrate the application to use the LSEG Data Library for .NET instead.