Uploaded image for project: 'Help-Desk'
  1. Help-Desk
  2. HELP-14687

FIWARE.Question.Tech.Python Orion Context Broker Token problems.

    Details

      Description

      Created question in FIWARE Q/A platform on 21-09-2018 at 16:09
      Please, ANSWER this question AT https://stackoverflow.com/questions/52445417/python-orion-context-broker-token-problems

      Question:
      Python Orion Context Broker Token problems

      Description:
      I've been developing the following code:

      datos =

      { "id":"1", "type":"Car", "bra":"0", }

      jsonData = json.dumps(datos)
      url = 'http://130.456.456.555:1026/v2/entities'

      head =

      { "Content-Type": "application/json", "Accept": "application/json", "X-Auth-Token": token }

      response = requests.post(url, data=jsonData, headers=head)

      My problem is that I can't establish a connection between my computer and my fiware Lab instance.

      The error is:

      requests.exceptions.ConnectionError: HTTPConnectionPool(host='130.206.113.177', port=1026): Max retries exceeded with url: /v1/entities (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f02c97c1f90>: Failed to establish a new connection: [Errno 110] Connection timed out',))

        Activity

        backlogmanager Backlog Manager created issue -
        backlogmanager Backlog Manager made changes -
        Field Original Value New Value
        Component/s FIWARE-TECH-HELP [ 10278 ]
        backlogmanager Backlog Manager made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        backlogmanager Backlog Manager made changes -
        Resolution Done [ 10000 ]
        Status In Progress [ 3 ] Closed [ 6 ]
        backlogmanager Backlog Manager made changes -
        Summary [fiware-stackoverflow] Python Orion Context Broker Token problems FIWARE.Question.Tech.Python Orion Context Broker Token problems.
        fla Fernando Lopez made changes -
        HD-Enabler Orion [ 10875 ]
        Description
        Created question in FIWARE Q/A platform on 21-09-2018 at 16:09
        {color: red}Please, ANSWER this question AT{color} https://stackoverflow.com/questions/52445417/python-orion-context-broker-token-problems


        +Question:+
        Python Orion Context Broker Token problems

        +Description:+
        I've been developing the following code:

            datos = {

                    "id":"1",
                    "type":"Car",
                    "bra":"0",
            }

            jsonData = json.dumps(datos)
            url = 'http://130.456.456.555:1026/v2/entities&#39;

            head = {
                "Content-Type": "application/json",
                "Accept": "application/json",
                "X-Auth-Token": token
            }

            response = requests.post(url, data=jsonData, headers=head)


        My problem is that I can't establish a connection between my computer and my fiware Lab instance.

        The error is:

        requests.exceptions.ConnectionError: HTTPConnectionPool(host='130.206.113.177', port=1026): Max retries exceeded with url: /v1/entities (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f02c97c1f90&gt;: Failed to establish a new connection: [Errno 110] Connection timed out',))

        Created question in FIWARE Q/A platform on 21-09-2018 at 16:09
        {color: red}Please, ANSWER this question AT{color} https://stackoverflow.com/questions/52445417/python-orion-context-broker-token-problems


        +Question:+
        Python Orion Context Broker Token problems

        +Description:+
        I've been developing the following code:

            datos = {

                    "id":"1",
                    "type":"Car",
                    "bra":"0",
            }

            jsonData = json.dumps(datos)
            url = 'http://130.456.456.555:1026/v2/entities&#39;

            head = {
                "Content-Type": "application/json",
                "Accept": "application/json",
                "X-Auth-Token": token
            }

            response = requests.post(url, data=jsonData, headers=head)


        My problem is that I can't establish a connection between my computer and my fiware Lab instance.

        The error is:

        requests.exceptions.ConnectionError: HTTPConnectionPool(host='130.206.113.177', port=1026): Max retries exceeded with url: /v1/entities (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f02c97c1f90&gt;: Failed to establish a new connection: [Errno 110] Connection timed out',))

        fla Fernando Lopez made changes -
        Assignee Backlog Manager [ backlogmanager ]
        fla Fernando Lopez made changes -
        Fix Version/s 2021 [ 12600 ]

          People

          • Assignee:
            backlogmanager Backlog Manager
            Reporter:
            backlogmanager Backlog Manager
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: