Details
-
Type:
Monitor
-
Status: Closed
-
Priority:
Major
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: 2021
-
Component/s: FIWARE-TECH-HELP
-
Labels:
-
HD-Enabler:Orion
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 | |||||
---|---|---|---|---|---|---|---|---|---|
|
3d 3h | 1 | Backlog Manager | 24/Sep/18 9:06 PM | |||||
|
2h 59m | 1 | Backlog Manager | 25/Sep/18 12:05 AM |