Frequent connection timeouts

rdfoss
I started seeing frequent timeouts from around 2 PM Oct 16 2023.

Was there any issue on your end? I checked my internet connection and it is fine. Seems something is off on your side. Below is the error
Every 3rd request was getting timedout.

DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): api.kite.trade:443
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 382, in _make_request
self._validate_conn(conn)
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 1012, in _validate_conn
conn.connect()
File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 411, in connect
self.sock = ssl_wrap_socket(
File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 449, in ssl_wrap_socket
ssl_sock = _ssl_wrap_socket_impl(
File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 493, in _ssl_wrap_socket_impl
return ssl_context.wrap_socket(sock, server_hostname=server_hostname)
File "/usr/lib/python3.10/ssl.py", line 513, in wrap_socket
return self.sslsocket_class._create(
File "/usr/lib/python3.10/ssl.py", line 1071, in _create
self.do_handshake()
File "/usr/lib/python3.10/ssl.py", line 1342, in do_handshake
self._sslobj.do_handshake()
TimeoutError: _ssl.c:990: The handshake operation timed out

Also what is the quickest way to resolve this? This dev forum is not the fastest way to raise it
  • rakeshr
    TimeoutError: _ssl.c:990: The handshake operation timed out
    No, there was no websocket drop-in connection at our end. Handshake operations timeout error is encountered mostly ecause of bad internet. Maybe change the network/ISP and check the behavior.
  • rdfoss
    @rakeshr Its not the websocket. Its the HTTP requests getting timedout.

Sign In or Register to comment.