Navigation

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

    suraj.g2

    @suraj.g2

    3
    Reputation
    3
    Profile views
    9
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    suraj.g2 Unfollow Follow

    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

    Latest posts made by suraj.g2

    • RE: Connection error on oracle vm

      @anurag31 @Moderator_2 @admin @admin123

      Today (25Jan24) new errors every 30Mins whole day along with timeout errors. is there someone to look into these, its been 20 days. seriously?

      "2024-01-25, 10:38:23",0,0.0,0,Couldn't parse the JSON response received from the server: b'<html>\r\n<head><title>502 Bad Gateway</title></head>\r\n<body>\r\n<center><h1>502 Bad Gateway</h1></center>\r\n<hr><center>nginx/1.25.1</center>\r\n</body>\r\n</html>\r\n'
      "2024-01-25, 10:38:23",0,0.0,0,Couldn't parse the JSON response received from the server: b'<html>\r\n<head><title>502 Bad Gateway</title></head>\r\n<body>\r\n<center><h1>502 Bad Gateway</h1></center>\r\n<hr><center>nginx/1.25.1</center>\r\n</body>\r\n</html>\r\n'
      "2024-01-25, 10:38:23",0,0.0,0,Couldn't parse the JSON response received from the server: b'<html>\r\n<head><title>502 Bad Gateway</title></head>\r\n<body>\r\n<center><h1>502 Bad Gateway</h1></center>\r\n<hr><center>nginx/1.25.1</center>\r\n</body>\r\n</html>\r\n'

      posted in Python SDK
      S
      suraj.g2
    • RE: ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x0000024771931880>, 'Connection to apiconnect.angelbroking.com timed out. (connect timeout=7)'))

      @Raj-Karande Yes, I can confirm from past one week this is ongoing with no fix yet. it was all fine before a week, looks something changed from their end.

      posted in General Discussion
      S
      suraj.g2
    • RE: Continuous Timeout errors from last 2 days (03Jan24,04jan24)

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

      posted in Python SDK
      S
      suraj.g2
    • RE: getLtpData Rate limit changed?

      Yes, I can confirm this. continuous timeout errors from past one week, interestingly there's no one to look into it from angel despite I raised it multiple times.

      posted in Python SDK
      S
      suraj.g2
    • RE: Connection error on oracle vm

      @anurag31 @Moderator_2 ,

      Exact same error from last 2 days, even just few min ago got this error. something is really not right from angel end. someone needs to fix it.

      posted in Python SDK
      S
      suraj.g2
    • RE: Not able to connect to the websocket, please help!

      @trader_noob

      same here, repeated timeout errors from last 2 days, breaking the algo multiple times a day. there's no proactive checks from angel for sure. seriously thinking of moving out.

      posted in General Discussion
      S
      suraj.g2
    • RE: Connection to apiconnect.angelbroking.com timed out.

      @Moderator_2

      Sorry, its not fixed, same error multiple times even today. It happened at 12:34:38. its a serious issue breaking our algo multiple times a day, how can we trade like this.

      posted in General Discussion
      S
      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
    • 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)

      posted in Python SDK
      S
      suraj.g2