Navigation

    SmartAPI Forum
    • Register
    • Login
    • Search
    • Categories
    • Popular
    • Groups
    • FAQs
    • API Docs
    1. Home
    2. suraj.g2
    3. Best
    S
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 9
    • Best 1
    • Groups 0

    Best posts made by suraj.g2

    • Continuous Timeout errors from last 2 days (03Jan24,04jan24)

      below Timeout errors from last 2 days (03Jan24,04jan24) and it still continues even today. every 30 min I have this error and my code breaks, pathetic. I cant believe there's none from angel to look into it or proactive checking. I use aws, so there's no chance of connectivity issue from my end and my code has not changed at all. can someone look into it ASAP, can others confirm these issues on API mainly on obj.ltpData(), am pulling ltp of one index every 10Sec, so cant angel handle even this. Now I realize what comes with free service. I may have to tweak my code and move out if this is not fixed at the earliest.

      Traceback (most recent call last):
      File "C:\Program Files\Python310\lib\site-packages\urllib3\connectionpool.py", line 467, in _make_request
      self._validate_conn(conn)
      File "C:\Program Files\Python310\lib\site-packages\urllib3\connectionpool.py", line 1092, in _validate_conn
      conn.connect()
      File "C:\Program Files\Python310\lib\site-packages\urllib3\connection.py", line 642, in connect
      sock_and_verified = _ssl_wrap_socket_and_match_hostname(
      File "C:\Program Files\Python310\lib\site-packages\urllib3\connection.py", line 783, in ssl_wrap_socket_and_match_hostname
      ssl_sock = ssl_wrap_socket(
      File "C:\Program Files\Python310\lib\site-packages\urllib3\util\ssl
      .py", line 469, in ssl_wrap_socket
      ssl_sock = ssl_wrap_socket_impl(sock, context, tls_in_tls, server_hostname)
      File "C:\Program Files\Python310\lib\site-packages\urllib3\util\ssl
      .py", line 513, in _ssl_wrap_socket_impl
      return ssl_context.wrap_socket(sock, server_hostname=server_hostname)
      File "C:\Program Files\Python310\lib\ssl.py", line 513, in wrap_socket
      return self.sslsocket_class._create(
      File "C:\Program Files\Python310\lib\ssl.py", line 1071, in _create
      self.do_handshake()
      File "C:\Program Files\Python310\lib\ssl.py", line 1342, in do_handshake
      self._sslobj.do_handshake()
      TimeoutError: _ssl.c:980: The handshake operation timed out

      The above exception was the direct cause of the following exception:

      Traceback (most recent call last):
      File "C:\Program Files\Python310\lib\site-packages\requests\adapters.py", line 486, in send
      resp = conn.urlopen(
      File "C:\Program Files\Python310\lib\site-packages\urllib3\connectionpool.py", line 844, in urlopen
      retries = retries.increment(
      File "C:\Program Files\Python310\lib\site-packages\urllib3\util\retry.py", line 470, in increment
      raise reraise(type(error), error, _stacktrace)
      File "C:\Program Files\Python310\lib\site-packages\urllib3\util\util.py", line 39, in reraise
      raise value
      File "C:\Program Files\Python310\lib\site-packages\urllib3\connectionpool.py", line 790, in urlopen
      response = self._make_request(
      File "C:\Program Files\Python310\lib\site-packages\urllib3\connectionpool.py", line 491, in _make_request
      raise new_e
      File "C:\Program Files\Python310\lib\site-packages\urllib3\connectionpool.py", line 469, in _make_request
      self._raise_timeout(err=e, url=url, timeout_value=conn.timeout)
      File "C:\Program Files\Python310\lib\site-packages\urllib3\connectionpool.py", line 370, in _raise_timeout
      raise ReadTimeoutError(
      urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='apiconnect.angelbroking.com', port=443): Read timed out. (read timeout=7)

      During handling of the above exception, another exception occurred:

      posted in Python SDK
      S
      suraj.g2