Navigation

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

    time out error for every 30 or 45 min

    Python SDK
    0
    7
    37
    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.
    • L
      LakshmiDevi last edited by

      ConnectTimeout: HTTPSConnectionPool(host='apiconnect.angelbroking.com', port=443): Max retries exceeded with url: /rest/secure/angelbroking/order/v1/getLtpData (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x0000022B0F729220>, 'Connection to apiconnect.angelbroking.com timed out. (connect timeout=7)'))
      angel error.jpg

      Mnagesh 1 Reply Last reply Reply Quote 0
      • Mnagesh
        Mnagesh @LakshmiDevi last edited by

        @LakshmiDevi did u got solution to this problem ?

        Now I am full time Algo Trader and successfully developed my own Apps for my personal use.

        L 1 Reply Last reply Reply Quote 0
        • L
          LakshmiDevi @Mnagesh last edited by

          @Mnagesh yes, now error solved

          Mnagesh 1 Reply Last reply Reply Quote 0
          • Mnagesh
            Mnagesh @LakshmiDevi last edited by

            @LakshmiDevi it wont come always
            but in unexpectedly once in 20 day or so it comes

            most annoying during the market hours when my script gets interruption

            Now I am full time Algo Trader and successfully developed my own Apps for my personal use.

            L 1 Reply Last reply Reply Quote 0
            • L
              LakshmiDevi @Mnagesh last edited by

              @Mnagesh try except.jpg
              Try this

              Mnagesh 1 Reply Last reply Reply Quote 0
              • Mnagesh
                Mnagesh @LakshmiDevi last edited by

                @LakshmiDevi thank you

                Now I am full time Algo Trader and successfully developed my own Apps for my personal use.

                L 1 Reply Last reply Reply Quote 0
                • L
                  LakshmiDevi @Mnagesh last edited by

                  @Mnagesh welcome

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