Navigation

    SmartAPI Forum
    • Register
    • Login
    • Search
    • Categories
    • Popular
    • Groups
    • FAQs
    • API Docs
    1. Home
    2. c_harish
    3. Best
    C
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    Best posts made by c_harish

    • API errors? 26-Sep-2022
      While feteching order_book
      ***** STORE NOTIF: HTTPSConnectionPool(host='apiconnect.angelbroking.com', port=443): Read timed out. (read timeout=7)
      
       Couldn't parse the JSON response received from the server: b'<html>\r\n<head><title>502 Bad Gateway</title></head>\r\n<body bgcolor="white">\r\n<center><h1>502 Bad Gateway</h1></center>\r\n<hr><center>nginx/1.14.1</center>\r\n</body>\r\n</html>\r\n'
      
      

      @admin getting too many timed out and gateway errors from today morning. fix it.

      posted in General Discussion
      C
      c_harish
    • RE: Timeout errors happening

      @pari said in Timeout errors happening:

      @c_harish

      Correct. This issue is not about exceeding the rate access limit of 10 per second. Even my program sleeps for 1 second after sending 10 requests. My script also polls only once a minute. Currently I'm only polling for 'ltp' for 4 scrips, which is well within the limit. This issue is clearly about 'http' timeouts happening at the server level and not due to the script.

      It's now past 12:18, the issue seems to have stopped and the script is running as before. I wonder if it will occur again at 1:08.

      true. it is not client specific when everyone faces it. i am appalled by @admin 's silence on this thread. not a single reply in this thread from @admin after almost 20 minutes of downtime in 3 hrs.

      as usual, @admin will ask for if we are running locally/cloud, timestamp, error code and forget as if nothing happened.

      posted in Bugs
      C
      c_harish