WebSocket opening handshake timeout

amit307d
amit307d edited April 2023 in Python client
Hi @sujith, @rakeshr

I am unable to fetch ticker data. I check the code but the code does not seem to be the problem as it used to run till last Thursday and I've verified the code with other threads as well. Below is the error trace.

2023-04-24 16:22:30+0530 [-] Log opened.
2023-04-24 16:22:30+0530 [-] Log opened.
2023-04-24 16:22:35+0530 [-] dropping connection to peer tcp4:65.1.229.26:443 with abort=True: WebSocket opening handshake timeout (peer did not finish the opening handshake in time)
2023-04-24 16:22:35+0530 [-] Connection error: 1006 - connection was closed uncleanly (WebSocket opening handshake timeout (peer did not finish the opening handshake in time))
2023-04-24 16:22:35+0530 [-] Connection closed: 1006 - connection was closed uncleanly (WebSocket opening handshake timeout (peer did not finish the opening handshake in time))
2023-04-24 16:22:35+0530 [-] will retry in 2 seconds
2023-04-24 16:22:35+0530 [-] Stopping factory
2023-04-24 16:22:35+0530 [-] Received SIGTERM, shutting down.
2023-04-24 16:22:35+0530 [-] Main loop terminated.
2023-04-24 16:22:35+0530 [-] Received SIGTERM, shutting down.
2023-04-24 16:22:35+0530 [-] Connection error: 1006 - connection was closed uncleanly (peer dropped the TCP connection without previous WebSocket closing handshake)
2023-04-24 16:22:35+0530 [-] Connection closed: 1006 - connection was closed uncleanly (peer dropped the TCP connection without previous WebSocket closing handshake)
2023-04-24 16:22:35+0530 [KiteTickerClientProtocol (TLSMemoryBIOProtocol),client] will retry in 3 seconds
2023-04-24 16:22:35+0530 [-] Stopping factory
2023-04-24 16:22:35+0530 [-] Main loop terminated.

In addition, I've tried regenerating the access token after invalidating the access token.
Sign In or Register to comment.