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

[fiware-stackoverflow] IotAgent UltraLight over MQTT is not processing values from MQTT broker

    Details

      Description

      Created question in FIWARE Q/A platform on 26-02-2020 at 18:02
      Please, ANSWER this question AT https://stackoverflow.com/questions/60419637/iotagent-ultralight-over-mqtt-is-not-processing-values-from-mqtt-broker

      Question:
      IotAgent UltraLight over MQTT is not processing values from MQTT broker

      Description:
      I am following the tutorial under:
      https://github.com/FIWARE/tutorials.IoT-over-MQTT

      Steps 1 to 3 are followed exactly as in the tutorial (working fine), in Step 4 I am using mosquitto_pub to publish the message to the MQTT broker.

      The MQTT message does not get processed by the IotAgent, however. I can see this when I try to retrieve the data from the Context Broker as in Step 5.

      Using the debugger with:

      docker exec -it [IOTAGENT CONTAINER] pm2 monit

      also shows nothing happening when the MQTT message is published. I have tried the messaging formats below:

      mosquitto_pub -t "/4jggokgpepnvsb2uv4s40d59ov/motion001/attrs" -m "c|1"
      mosquitto_pub -t /4jggokgpepnvsb2uv4s40d59ov/motion001/attrs -m '

      {"c":1}

      '

      The Mosquitto broker is running and can be subscribed to.
      Am I missing a parameter? What could be the reason that the IotAgent is not working as expected?
      I had tested the setup successfully some months ago, but unfortunately the testing parameters are not available anymore.

        Activity

        backlogmanager Backlog Manager created issue -
        Hide
        backlogmanager Backlog Manager added a comment -

        2020-02-26 21:06|CREATED monitor | # answers= 0, accepted answer= False

        Show
        backlogmanager Backlog Manager added a comment - 2020-02-26 21:06|CREATED monitor | # answers= 0, accepted answer= False
        backlogmanager Backlog Manager made changes -
        Field Original Value New Value
        Component/s FIWARE-TECH-HELP [ 10278 ]
        fla Fernando Lopez made changes -
        Assignee Jason Fox [ jason.fox ]
        backlogmanager Backlog Manager made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Hide
        backlogmanager Backlog Manager added a comment -

        2020-03-02 15:06|UPDATED status: transition Answer| # answers= 1, accepted answer= False

        Show
        backlogmanager Backlog Manager added a comment - 2020-03-02 15:06|UPDATED status: transition Answer| # answers= 1, accepted answer= False
        backlogmanager Backlog Manager made changes -
        Status In Progress [ 3 ] Answered [ 10104 ]
        Hide
        backlogmanager Backlog Manager added a comment -

        2020-03-02 18:06|UPDATED status: transition Answered| # answers= 1, accepted answer= False

        Show
        backlogmanager Backlog Manager added a comment - 2020-03-02 18:06|UPDATED status: transition Answered| # answers= 1, accepted answer= False
        backlogmanager Backlog Manager made changes -
        Resolution Done [ 10000 ]
        Status Answered [ 10104 ] Closed [ 6 ]
        Hide
        backlogmanager Backlog Manager added a comment -

        2020-03-05 18:06|UPDATED status: transition Finish| # answers= 2, accepted answer= True

        Show
        backlogmanager Backlog Manager added a comment - 2020-03-05 18:06|UPDATED status: transition Finish| # answers= 2, accepted answer= True
        fla Fernando Lopez made changes -
        Fix Version/s 2021 [ 12600 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        4d 18h 1 Backlog Manager 02/Mar/20 3:06 PM
        In Progress In Progress Answered Answered
        2h 59m 1 Backlog Manager 02/Mar/20 6:06 PM
        Answered Answered Closed Closed
        3d 1 Backlog Manager 05/Mar/20 6:06 PM

          People

          • Assignee:
            jason.fox Jason Fox
            Reporter:
            backlogmanager Backlog Manager
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: