[Backlogmanager] [FIWARE-JIRA] (HELP-14687) FIWARE.Question.Tech.Python Orion Context Broker Token problems.

Fernando Lopez (JIRA) jira-help-desk at jira.fiware.org
Wed Dec 19 18:45:00 CET 2018


     [ https://jira.fiware.org/browse/HELP-14687?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Fernando Lopez updated HELP-14687:
----------------------------------
    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'

    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',))



  was:

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'

    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',))



     HD-Enabler: Orion

> FIWARE.Question.Tech.Python Orion Context Broker Token problems.
> ----------------------------------------------------------------
>
>                 Key: HELP-14687
>                 URL: https://jira.fiware.org/browse/HELP-14687
>             Project: Help-Desk
>          Issue Type: Monitor
>          Components: FIWARE-TECH-HELP
>            Reporter: Backlog Manager
>              Labels: fiware, fiware-orion, python-2.7, token
>
> 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'
>     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',))



--
This message was sent by Atlassian JIRA
(v6.4.1#64016)


More information about the Backlogmanager mailing list

You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy   Cookies policy