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

FIWARE.Request.Lab.Spain.Error registering a device to Backend Management Device IDAS

    Details

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

      Description

      I am finding troubles when registering a new device in the FiwareLab MQTT Agent IoT IDAS rel. 4 instance: I receive an error answer (500 server error) with this reason message:

      {"reason":"Database error","details":"SocketException "}

      The existing Fiware-Service is: “fiwareiot”, the Fiware-ServicePath is:” /”, the "resource": "/iot/mqtt".

      Here is the curl command sent:

      curl v -X POST http://eidas5.lab.fi-ware.org:5371/iot/devices -H "content-type: application/json" -H "X-Auth-Token: 4jggokgpepnvsb2uv4s40d59ov" -H "Fiware-Service: fiwareiot" -H "Fiware-ServicePath: /" -d @ <<EOT
      {"devices": [
      { "device_id": "mqtt001",
      "entity_name": "thing-mqtt001",
      "entity_type": "thing",
      "timezone": "Europe/Madrid",
      "protocol" : "PDI-IoTA-MQTT-UltraLight",
      "attributes": [

      { "object_id": "v", "name": "voltage", "type": "int" }

      ,

      { "object_id": "p", "name": "power", "type": "int" }

      ],
      "static_attributes": [

      { "name": "serial", "type": "string", "value": "dev-mqtt001" }

      ]}]}
      EOT

      And this is the answer received:

      • Connected to eidas5.lab.fi-ware.org (130.206.80.40) port 5371 (#0)
        > POST /iot/devices HTTP/1.1
        > User-Agent: curl/7.35.0
        > Host: eidas5.lab.fi-ware.org:5371
        > Accept: /
        > content-type: application/json
        > X-Auth-Token: 4jggokgpepnvsb2uv4s40d59ov
        > Fiware-Service: fiwareiot
        > Fiware-ServicePath: /
        > Content-Length: 461
        >
      • upload completely sent off: 461 out of 461 bytes
        < HTTP/1.1 500 Server Error
        < Connection: close
        < Host: eidas5.lab.fi-ware.org:5371
        < Content-Length: 56
        < Content-Type: application/json
        <
      • Closing connection 0 {"reason":"Database error","details":"SocketException "}

      Note that the a similar command had success in the past in the same environment.
      What is going wrong ?

      Thanks in advance.
      Gianluca

      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: "Gianluca Zanetto (Greenlab Engineering)" <gianluca.zanetto@greenlabeng.com>]

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        21d 1h 4m 1 Carlos Ralli Ucendo 03/May/16 12:23 PM
        Closed Closed In Progress In Progress
        19m 33s 1 Fernando Lopez 10/Mar/17 10:16 AM
        In Progress In Progress Answered Answered
        311d 3h 24m 2 José Ignacio Carretero Guarde 10/Mar/17 3:07 PM
        Answered Answered Closed Closed
        10d 18h 9m 2 José Ignacio Carretero Guarde 21/Mar/17 9:17 AM
        fla Fernando Lopez made changes -
        Fix Version/s 2021 [ 12600 ]
        backlogmanager Backlog Manager made changes -
        Summary [Fiware-tech-help] Error registering a device to Backend Management Device IDAS FIWARE.Request.Lab.Spain.Error registering a device to Backend Management Device IDAS
        jicg José Ignacio Carretero Guarde made changes -
        Resolution Done [ 10000 ]
        Status Answered [ 10104 ] Closed [ 6 ]
        Hide
        jicg José Ignacio Carretero Guarde added a comment -

        It seems no further action is needed. So I'm closing the ticket

        Show
        jicg José Ignacio Carretero Guarde added a comment - It seems no further action is needed. So I'm closing the ticket
        Hide
        jicg José Ignacio Carretero Guarde added a comment -

        May the onwer of the VM and the enabler could validate that the VM is accesible and everything is working inside

        Show
        jicg José Ignacio Carretero Guarde added a comment - May the onwer of the VM and the enabler could validate that the VM is accesible and everything is working inside
        jicg José Ignacio Carretero Guarde made changes -
        Assignee José Ignacio Carretero Guarde [ jicg ] Miguel Carrillo [ mcp ]
        jicg José Ignacio Carretero Guarde made changes -
        Status In Progress [ 3 ] Answered [ 10104 ]
        Hide
        jicg José Ignacio Carretero Guarde added a comment -

        The host seems to be working again and the port seems to be listening.

        Show
        jicg José Ignacio Carretero Guarde added a comment - The host seems to be working again and the port seems to be listening.
        fla Fernando Lopez made changes -
        HD-Chapter IoT [ 10839 ]
        HD-Node Unknown [ 10852 ] Spain [ 10846 ]
        HD-Enabler IDAS [ 10884 ]
        fla Fernando Lopez made changes -
        Component/s FIWARE-LAB-HELP [ 10279 ]
        Component/s FIWARE-TECH-HELP [ 10278 ]
        Hide
        fla Fernando Lopez added a comment -

        Sorry Gianluca,

        This ticket was wrongly closed, we redirect to the FIWARE Lab Team in order to evaluate correctly the problem that you have.

        Sorry for the missunderstanding.

        Show
        fla Fernando Lopez added a comment - Sorry Gianluca, This ticket was wrongly closed, we redirect to the FIWARE Lab Team in order to evaluate correctly the problem that you have. Sorry for the missunderstanding.
        fla Fernando Lopez made changes -
        Assignee Carlos Ralli Ucendo [ ralli ] José Ignacio Carretero Guarde [ jicg ]
        fla Fernando Lopez made changes -
        Resolution Done [ 10000 ]
        Status Closed [ 6 ] In Progress [ 3 ]
        ralli Carlos Ralli Ucendo made changes -
        Resolution Done [ 10000 ]
        Status Answered [ 10104 ] Closed [ 6 ]
        ralli Carlos Ralli Ucendo made changes -
        Status In Progress [ 3 ] Answered [ 10104 ]
        Hide
        ralli Carlos Ralli Ucendo added a comment -

        Hi,
        This is a connectivity issue. Please contact the FIWARE Lab team to request new instances of IDAS and ContextBroker enablers and then point the queries to these new IP addresses.
        Cheers,

        Show
        ralli Carlos Ralli Ucendo added a comment - Hi, This is a connectivity issue. Please contact the FIWARE Lab team to request new instances of IDAS and ContextBroker enablers and then point the queries to these new IP addresses. Cheers,
        Hide
        ralli Carlos Ralli Ucendo added a comment -

        Hi Gianluca,

        We are experienceing some issues with the MQTT public instances so we are going to install this week the new version of this IoT Agent, that means a major change, as it is coded now in node.js (before we had the C++ version).

        Once it is installed, I will publish here the details so that you may try again.

        Thanks for using IDAS.

        Cheers,

        Show
        ralli Carlos Ralli Ucendo added a comment - Hi Gianluca, We are experienceing some issues with the MQTT public instances so we are going to install this week the new version of this IoT Agent, that means a major change, as it is coded now in node.js (before we had the C++ version). Once it is installed, I will publish here the details so that you may try again. Thanks for using IDAS. Cheers,
        ralli Carlos Ralli Ucendo made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        backlogmanager Backlog Manager made changes -
        Assignee Carlos Ralli Ucendo [ ralli ]
        backlogmanager Backlog Manager made changes -
        HD-Chapter Unknown [ 10845 ] IoT [ 10839 ]
        mev Manuel Escriche made changes -
        HD-Enabler Unknown [ 10910 ] IDAS [ 10884 ]
        backlogmanager Backlog Manager made changes -
        HD-Enabler Unknown [ 10910 ]
        HD-Chapter Unknown [ 10845 ]
        HD-Node Unknown [ 10852 ]
        backlogmanager Backlog Manager made changes -
        Field Original Value New Value
        Component/s FIWARE-TECH-HELP [ 10278 ]
        fw.ext.user FW External User created issue -

          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: