Details
-
Type: extRequest
-
Status: Closed
-
Priority: Major
-
Resolution: Done
-
Fix Version/s: 2021
-
Component/s: FIWARE-TECH-HELP
-
Labels:None
-
Sender Email:
-
HD-Chapter:IoT
-
HD-Enabler:IDAS
Description
Hi,
I want to test your FIWARE Lab environment so I followed up these steps which was written on this public article. at the device register step, python script gives me an error like below. First I thought that IDAS4 might be down but later I checked your server by nmap tool and it was up. Port 5371 is filtered and a service which is called "teradataordbms" is running behind port 8002 so everything seems fine. I don't know how I can solve this problem or debug your figway tools. Is there any help documentation other than this article or maybe a forum website or a mail list etc?
$ python2.7 RegisterDevice.py SENSOR_TEMP Sensor1 Temperature-Madrid28001
- YOUR DEVICE details:
-
- DEVICE ID = f3:62:dc:Sensor1
- ASSET ID = f3:62:dc:Temperature-Madrid28001
-
- This device will be sent to the ContextBroker with the following configuration
-
- Entity ID = SENSOR_TEMP.f3:62:dc:Temperature-Madrid28001
- Entity Type = Device
- FIWARE_SERVICE = OpenIoT
-
- Asking to http://130.206.80.47:5371/m2m/v2/services/OpenIoT/assets
- Headers: {'content-type': 'application/json', 'X-Auth-Token': 'gLHl**********************************************************************iaTYg'}
- Sending PAYLOAD:
{
"model": "SENSOR_TEMP",
"name": "f3:62:dc:Sensor1",
"asset": { "name": "f3:62:dc:Temperature-Madrid28001", "description": "asset model protocol" }}
...
Traceback (most recent call last):
File "RegisterDevice.py", line 93, in <module>
r = requests.post(URL, data=PAYLOAD, headers=HEADERS)
File "/usr/lib/python2.7/site-packages/requests/api.py", line 99, in post
return request('post', url, data=data, json=json, **kwargs)
File "/usr/lib/python2.7/site-packages/requests/api.py", line 49, in request
response = session.request(method=method, url=url, **kwargs)
File "/usr/lib/python2.7/site-packages/requests/sessions.py", line 461, in request
resp = self.send(prep, **send_kwargs)
File "/usr/lib/python2.7/site-packages/requests/sessions.py", line 573, in send
r = adapter.send(request, **kwargs)
File "/usr/lib/python2.7/site-packages/requests/adapters.py", line 415, in send
raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: ('Connection aborted.', error(111, 'Connection refused'))
_______________________________________________
Fiware-lab-help mailing list
Fiware-lab-help@lists.fi-ware.org
https://lists.fi-ware.org/listinfo/fiware-lab-help
[Created via e-mail received from: Seyhan Agaoglu <seyhan_eng@yahoo.com>]
Hi Carlos,
Please forward your answer to the user as well, to seyhan_eng@yahoo.com
Thanks,
Sandor
– Level-1 support team