It looks like you're new here. If you want to get involved, click one of these buttons!
Node JS client
.Net API client
.Net / VBA / Excel (3rd party)
Algorithms and Strategies
Mobile and Desktop apps
Market data (WebSockets)
In this Discussion
Websocket connection closed error
Can you tell me what could be the possible reason for bellow disconnection, server is hosted on AWS, so internet connectivity issue is less likely.
[2022-06-14 18:30:42,344] INFO - Connection Closed !! Reason: connection was closed uncleanly (peer dropped the TCP connection without previous WebSocket closing handshake)
This error generally happens due to some internal error in your program which causes the websocket to disconnect.
edited June 2022
I never close my websocket connection manually, i wonder how it could be happening, anyway, I'll try to find the reason.