Navigation

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

    Issue in getting responses from API

    Python SDK
    5
    12
    70
    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.
    • S
      Surya 1 @James Bond last edited by

      @James-Bond

      This occurs everyday for me..

      S 1 Reply Last reply Reply Quote 0
      • S
        sayed @Surya 1 last edited by

        @rajanprabu
        hi can u explain what this error is?,
        res in _socket.getaddrinfo(host, port, family, type, proto, flags):
        socket.gaierror: [Errno 11004] getaddrinfo failed

        S 1 Reply Last reply Reply Quote 0
        • S
          Surya 1 @sayed last edited by

          @sayed I don't give the headers myself.. I just use the python SDK provided by Angel. It works just fine..

          S 1 Reply Last reply Reply Quote 0
          • S
            sayed @Surya 1 last edited by

            @rajanprabu okay

            S 1 Reply Last reply Reply Quote 0
            • S
              sayed @sayed last edited by

              @rajanprabu if i use angel python sdk i receive this errors

              from OpenSSL import SSL
              ModuleNotFoundError: No module named 'OpenSSL'

              Even after installing OpenSSL it is showing same.

              D James Bond 2 Replies Last reply Reply Quote 0
              • D
                djdenish @sayed last edited by

                @sayed
                type this in cmd : pip install pyOpenSSL

                1 Reply Last reply Reply Quote 0
                • James Bond
                  James Bond @sayed last edited by

                  @sayed
                  Confirm your Python and pip version you're using and then try. If you're using Python > 3, use pip3 to install pyOpenSSL.

                  “Bond. James Bond.”

                  S 1 Reply Last reply Reply Quote 0
                  • S
                    sayed @James Bond last edited by

                    @James-Bond
                    Getting this error from long time.
                    b5dbedf9-c932-4e57-9c02-8581eb16fb74-image.png

                    James Bond 1 Reply Last reply Reply Quote 0
                    • James Bond
                      James Bond @sayed last edited by James Bond

                      @sayed

                      First try to install
                      pip3 install cryptography

                      and then try
                      pip3 install pyOpenSSL

                      If you get error while installing latest cryptography lib, then use previous version,
                      pip install cryptography==2.9.1

                      Run this commands and if error persist, please attach screenshot here.

                      Which python version you're using ?This is not a big issue to solve but I can't help you much without knowing which Python version you're using.

                      “Bond. James Bond.”

                      1 Reply Last reply Reply Quote 0
                      • S
                        sayed last edited by

                        @James-Bond
                        python 3.6
                        pip 19.0.3

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