getting error while running client.quotes ERROR - error from callback <bound method StartServer.on_open of <neo_api_client.HSWebSocketLib.StartServer object at 0x000001F5AD87C210>>: Connection is already closed. #224
Hi @Kotak-Neo , @shashwat001 @Bheema-hb @mayank408 @nbharadvajdatamatics ,
facing intermittent issue for multiple times in client quotes like this , can you please ask the dev team to fix this issue as well with proper exceptional handling so that while running client. Quotes multiple time this error should not get printed as it shows generally after running client quotes multiple times in same logged in session
We can have a working session as you want here .
2024-08-27 14:48:10,657 - websocket - INFO - Websocket connected
2024-08-27 14:48:10,659 - websocket - ERROR - error from callback <bound method StartServer.on_open of <neo_api_client.HSWebSocketLib.StartServer object at 0x000001F5ADB6A050>>: Connection is already closed.
2024-08-27 14:48:10,660 - root - INFO - [OnError]: Connection is already closed.
2024-08-27 14:48:11,999 - websocket - INFO - Connection to remote host was lost. - reconnect
2024-08-27 14:48:12,014 - websocket - INFO - reconnect() - retrying in 5 seconds [8 frames in stack]
2024-08-27 14:48:14,916 - websocket - INFO - Connection to remote host was lost. - reconnect
2024-08-27 14:48:14,932 - websocket - INFO - reconnect() - retrying in 5 seconds [8 frames in stack]
2024-08-27 14:48:15,391 - websocket - INFO - Websocket connected
2024-08-27 14:48:15,394 - websocket - ERROR - error from callback <bound method StartServer.on_open of <neo_api_client.HSWebSocketLib.StartServer object at 0x000001F5AD87C2
can you please help on this as it causing issue in our process where I am accessing the client.quotes api after every 30 or 60 secs of interval ?
Note: and this issue is not having initially after logging in freshly , it used to start after some time in that same session.
Hi @Kotak-Neo , @shashwat001 @Bheema-hb @mayank408 @nbharadvajdatamatics , facing intermittent issue for multiple times in client quotes like this , can you please ask the dev team to fix this issue as well with proper exceptional handling so that while running client. Quotes multiple time this error should not get printed as it shows generally after running client quotes multiple times in same logged in session
We can have a working session as you want here .
2024-08-27 14:48:10,657 - websocket - INFO - Websocket connected 2024-08-27 14:48:10,659 - websocket - ERROR - error from callback <bound method StartServer.on_open of <neo_api_client.HSWebSocketLib.StartServer object at 0x000001F5ADB6A050>>: Connection is already closed. 2024-08-27 14:48:10,660 - root - INFO - [OnError]: Connection is already closed. 2024-08-27 14:48:11,999 - websocket - INFO - Connection to remote host was lost. - reconnect 2024-08-27 14:48:12,014 - websocket - INFO - reconnect() - retrying in 5 seconds [8 frames in stack] 2024-08-27 14:48:14,916 - websocket - INFO - Connection to remote host was lost. - reconnect 2024-08-27 14:48:14,932 - websocket - INFO - reconnect() - retrying in 5 seconds [8 frames in stack] 2024-08-27 14:48:15,391 - websocket - INFO - Websocket connected 2024-08-27 14:48:15,394 - websocket - ERROR - error from callback <bound method StartServer.on_open of <neo_api_client.HSWebSocketLib.StartServer object at 0x000001F5AD87C2
can you please help on this as it causing issue in our process where I am accessing the client.quotes api after every 30 or 60 secs of interval ?
Note: and this issue is not having initially after logging in freshly , it used to start after some time in that same session.