Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connection Refused Error #8

Open
rahul606 opened this issue Aug 29, 2016 · 2 comments
Open

Connection Refused Error #8

rahul606 opened this issue Aug 29, 2016 · 2 comments

Comments

@rahul606
Copy link

rahul606 commented Aug 29, 2016

Having error on connection with host http://130.206.80.40:5371/iot/devices

Traceback (most recent call last):
File "RegisterDevice.py", line 82, in
r = requests.post(URL, data=PAYLOAD, headers=HEADERS)
File "/usr/lib/python2.7/dist-packages/requests/api.py", line 94, in post
return request('post', url, data=data, json=json, *_kwargs)
File "/usr/lib/python2.7/dist-packages/requests/api.py", line 49, in request
return session.request(method=method, url=url, *_kwargs)
File "/usr/lib/python2.7/dist-packages/requests/sessions.py", line 457, in request
resp = self.send(prep, *_send_kwargs)
File "/usr/lib/python2.7/dist-packages/requests/sessions.py", line 569, in send
r = adapter.send(request, *_kwargs)
File "/usr/lib/python2.7/dist-packages/requests/adapters.py", line 407, in send
raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: ('Connection aborted.', error(111, 'Connection refused'))

@synergiator
Copy link

To comment with more details on this problem, we consider that the IDAS API instance is no more available.

We have the data from this tutorial:
http://fiwaretourguide.readthedocs.io/en/latest/connection-to-the-internet-of-things/how-to-read-measures-captured-from-iot-devices/

And same host is also referenced in the Instances section of the Catalogue:
http://catalogue.fiware.org/enablers/backend-device-management-idas/instances

Tracerout goes to: fiwat-router.red.rediris.es

@GerfriedC
Copy link

OK any pointers to an updated tutorial?
ConnectionError: HTTPConnectionPool(host='cloud.lab.fi-ware.org', port=4730): Max retries exceeded with url: /v2.0/tokens (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x0000028E8E158D08>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed'))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants