Navigation

    SmartAPI Forum
    • Register
    • Login
    • Search
    • Categories
    • Popular
    • Groups
    • FAQs
    • API Docs

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

    Python SDK
    0
    4
    17
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      suraj.g2 last edited by

      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:

      A M 2 Replies Last reply Reply Quote 2
      • A
        Abid @suraj.g2 last edited by

        @suraj-g2 We are facing the same issue while generateSession(). Our code hasn't changed but still we are facing this intermittently. Someone from angel one should look into it...

        S 1 Reply Last reply Reply Quote 0
        • M
          Moderator_1 @suraj.g2 last edited by

          Hello @suraj-g2, @Abid
          Thank you for raising this issue. Our technical team is currently investigating it. We will update you once it is resolved.

          Thank you.

          Regards
          SmartAPI Team

          1 Reply Last reply Reply Quote 0
          • S
            suraj.g2 @Abid last edited by

            @Abid Yes, something is really wrong from their end. I use AWS VM, so I can rule out network issues from my end.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post