[Fiware-help] IDAS4 doesnt respond

Seyhan Agaoglu seyhan_eng at yahoo.com
Thu Dec 25 17:26:41 CET 2014


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'))
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.fiware.org/private/fiware-help/attachments/20141225/d5b7674c/attachment.html>


More information about the Fiware-help mailing list

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