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

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        3d 3h 1 Backlog Manager 24/Sep/18 9:06 PM
        In Progress In Progress Closed Closed
        2h 59m 1 Backlog Manager 25/Sep/18 12:05 AM
        fla Fernando Lopez made changes -
        Fix Version/s 2021 [ 12600 ]
        fla Fernando Lopez made changes -
        Assignee Backlog Manager [ backlogmanager ]
        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',))

        backlogmanager Backlog Manager made changes -
        Summary [fiware-stackoverflow] Python Orion Context Broker Token problems FIWARE.Question.Tech.Python Orion Context Broker Token problems.
        Hide
        backlogmanager Backlog Manager added a comment -

        2018-09-25 00:05|UPDATED status: transition Finish| # answers= 1, accepted answer= True

        Show
        backlogmanager Backlog Manager added a comment - 2018-09-25 00:05|UPDATED status: transition Finish| # answers= 1, accepted answer= True
        backlogmanager Backlog Manager made changes -
        Resolution Done [ 10000 ]
        Status In Progress [ 3 ] Closed [ 6 ]
        Hide
        backlogmanager Backlog Manager added a comment -

        2018-09-24 21:06|UPDATED status: transition Answer| # answers= 1, accepted answer= True

        Show
        backlogmanager Backlog Manager added a comment - 2018-09-24 21:06|UPDATED status: transition Answer| # answers= 1, accepted answer= True
        backlogmanager Backlog Manager made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        backlogmanager Backlog Manager made changes -
        Field Original Value New Value
        Component/s FIWARE-TECH-HELP [ 10278 ]
        Hide
        backlogmanager Backlog Manager added a comment -

        2018-09-21 18:05|CREATED monitor | # answers= 0, accepted answer= False

        Show
        backlogmanager Backlog Manager added a comment - 2018-09-21 18:05|CREATED monitor | # answers= 0, accepted answer= False
        backlogmanager Backlog Manager created issue -

          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: