Read Timeout : HTTPSConnectionPool System time is way off
-
Hi @admin ,
I am getting below error every 30 min or so every alternate day. I am fetching Index LTP once every 1 min. can you please check from your end. what it means by "System time is way off", my system time, timezone all looks ok, even sync time is enabled which is syncing time when needed. How do we run algos if the systems are this much unstable? Please look into this get back. Thanks.
TimeoutError Traceback (most recent call last)
File ~\AppData\Roaming\Python\Python310\site-packages\urllib3\connectionpool.py:467, in HTTPConnectionPool._make_request(self, conn, method, url, body, headers, retries, timeout, chunked, response_conn, preload_content, decode_content, enforce_content_length)
466 try:
--> 467 self._validate_conn(conn)
468 except (SocketTimeout, BaseSSLError) as e:File ~\AppData\Roaming\Python\Python310\site-packages\urllib3\connectionpool.py:1092, in HTTPSConnectionPool._validate_conn(self, conn)
1091 if conn.is_closed:
-> 1092 conn.connect()
1094 if not conn.is_verified:File ~\AppData\Roaming\Python\Python310\site-packages\urllib3\connection.py:642, in HTTPSConnection.connect(self)
634 warnings.warn(
635 (
636 f"System time is way off (before {RECENT_DATE}). This will probably "
(...)
639 SystemTimeWarning,
640 )
--> 642 sock_and_verified = _ssl_wrap_socket_and_match_hostname(
643 sock=sock,
644 cert_reqs=self.cert_reqs,
645 ssl_version=self.ssl_version,
646 ssl_minimum_version=self.ssl_minimum_version,
647 ssl_maximum_version=self.ssl_maximum_version,
...
--> 532 raise ReadTimeout(e, request=request)
533 elif isinstance(e, _InvalidHeader):
534 raise InvalidHeader(e, request=request)ReadTimeout: HTTPSConnectionPool(host='apiconnect.angelbroking.com', port=443): Read timed out. (read timeout=7)