Uploaded image for project: 'Help-Desk'
  1. Help-Desk
  2. HELP-7937

FIWARE.Request.Lab.Spain.Error: No Route to host while registering device using figway tool

    Details

    • Type: extRequest
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Fix Version/s: 2021
    • Component/s: FIWARE-LAB-HELP
    • Labels:
      None

      Description

      Hi All,

      I have installed Figway tool on Raspberry Pi. I want to register virtual sensor using UL2.0 .

      Script "python RegisterDevice.py SENSOR_TEMP Sensor1 Temperature-Madrid28001"

      Error: No route to host is obtained

      • YOUR DEVICE details:
          • DEVICE ID = 49:c7:75:Sensor1
          • ASSET ID = 49:c7:75:Temperature-Madrid28001
      • This device will be sent to the ContextBroker with the following configuration
          • Entity ID = SENSOR_TEMP.49:c7:75: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': '187d**********************************************************************d8900'}
      • Sending PAYLOAD:
        {
        "model": "SENSOR_TEMP",
        "name": "49:c7:75:Sensor1",
        "asset": { "name": "49:c7:75: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/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(113, 'No route to host'))
      root@raspberrypi:~/fiware-figway/python/Sensors_UL20#

      I am stuck at this step. Please suggest further steps to resolve this issue.

      Thanks & Regards,
      Kanika
      NEC Technlogies India Pvt. Ltd.

      Since January 1st, old domains won't be supported and messages sent to any domain different to @lists.fiware.org will be lost.
      Please, send your messages using the new domain (Fiware-tech-help@lists.fiware.org) instead of the old one.
      _______________________________________________
      Fiware-tech-help mailing list
      Fiware-tech-help@lists.fiware.org
      https://lists.fiware.org/listinfo/fiware-tech-help
      [Created via e-mail received from: Kanika Satija <kanika.satija@nectechnologies.in>]

        Activity

          People

          • Assignee:
            mcp Miguel Carrillo
            Reporter:
            fw.ext.user FW External User
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: