Navigation

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

    Ran my code this morning and got URLError

    Python SDK
    0
    5
    13
    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.
    • V
      Vignesha last edited by

      I've been running this code since 4 months and make sure I'm keeping updated but this morning when I download all the dependencies and run it, it failed due to url error while placing the order.

      1. I download the requirement module from github everyday so saying my module is outdated isnt correct
      2. Tried running with different device and wifi but still failing

      Anyone know how to fix this?

      URLError: <urlopen error [Errno 111] Connection refused>

      M 1 Reply Last reply Reply Quote 1
      • M
        mudit236 @Vignesha last edited by

        @Vignesha Same issue here @Moderator_1 @Moderator_2

        URLError: <urlopen error [WinError 10061] No connection could be made because the target machine actively refused it>

        V 1 Reply Last reply Reply Quote 0
        • V
          Vignesha @mudit236 last edited by

          @mudit236 @admin has there been any change in the urls that is not updated in SDK? I only use python SDK and download the packages based on requirement txt file which is in github.

          1 Reply Last reply Reply Quote 0
          • M
            Moderator_2 last edited by

            Hi @Vignesha @mudit236

            As verified, We are not facing any URL - connection refused error. Please share us which SDK version is consumed.

            Regards,
            SmartAPI team

            M 1 Reply Last reply Reply Quote 0
            • M
              mudit236 @Moderator_2 last edited by

              @Moderator_2 @Vignesha the error wasnt with the api, for the instrument list file
              "http://margincalculator.angelbroking.com/OpenAPI_File/files/OpenAPIScripMaster.json"
              This link was working fine till Saturday, but now it only works on https
              Change the instrument link to "https://margincalculator.angelbroking.com/OpenAPI_File/files/OpenAPIScripMaster.json"

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