It been happening since last two days.
it attempts to reconnect but fails, prior to day before yesterday it was working fine.
when the terminal is killed and the websocket is restarted it works for sometime from 5-45 mins then again gives me the same error
below is the error message
Tick 4100: NIFTY25O0724700CE @ 151.55
WS Error: Connection to remote host was lost.
Attempting reconnect 1 of 5…
WS Error: [WinError 10054] An existing connection was forcibly closed by the remote host
Attempting reconnect 2 of 5…
WS Error: Connection to remote host was lost.
Attempting reconnect 3 of 5…
WebSocket opened - subscribed to 15 symbols
WS Error: [WinError 10054] An existing connection was forcibly closed by the remote host
Attempting reconnect 4 of 5…
WS Error: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond
Attempting reconnect 5 of 5…
WS Error: [WinError 10054] An existing connection was forcibly closed by the remote host
Max reconnect attempts reached. Connection abandoned.
Hello @aewitoADpV , if you are still facing the same issue, it likely lies with the internet service provider, as there are no problems detected on our end with the APIs. If the issue persists, please raise the concern directly with your ISP provider for further assistance.
Hello @ranjeet.ekawade.mb52yqxe, you can hold the position till the expiry as long as the position is overnight. Please refer to this link for more details.
It’s happening in Azure too, much less frequently but still. Please check my post below there’s another issue that came back. Unknown symbol after socket reconnection