From seyhan_eng at yahoo.com Thu Dec 25 17:26:41 2014 From: seyhan_eng at yahoo.com (Seyhan Agaoglu) Date: Thu, 25 Dec 2014 16:26:41 +0000 (UTC) Subject: [Fiware-help] IDAS4 doesnt respond Message-ID: <1483077583.783319.1419524801783.JavaMail.yahoo@jws100157.mail.ne1.yahoo.com> 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 ??? 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: