Navigation

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

    getting error while calling smartconnect.py

    Python SDK
    2
    2
    42
    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.
    • A
      A161430 last edited by

      Hi

      I am getting error while calling smartconnect.py ,,,,,,,,

      runfile('C:/Projects/smartapi-python-main/SmartApi/smartConnect.py', wdir='C:/Projects/smartapi-python-main/SmartApi')
      Exception while retriving IP Address,using local host IP address HTTPSConnectionPool(host='api.ipify.org', port=443): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x00000228D944DEB0>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed'))

      A 1 Reply Last reply Reply Quote 0
      • A
        admin @A161430 last edited by

        Hi @A161430 please reinstall the SmartAPI lib and try again.

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