[Backlogmanager] [FIWARE-JIRA] (HELP-20111) [fiware-stackoverflow] Fiware Orion MQTT notification not working (anymore)

Fernando Lopez (JIRA) jira-help-desk at jira.fiware.org
Wed Oct 5 10:50:00 CEST 2022


     [ https://jira.fiware.org/browse/HELP-20111?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Fernando Lopez reassigned HELP-20111:
-------------------------------------

    Assignee: Miguel Ángel Pedraza

> [fiware-stackoverflow] Fiware Orion MQTT notification not working (anymore)
> ---------------------------------------------------------------------------
>
>                 Key: HELP-20111
>                 URL: https://jira.fiware.org/browse/HELP-20111
>             Project: Help-Desk
>          Issue Type: Monitor
>          Components: FIWARE-TECH-HELP
>            Reporter: Backlog Manager
>            Assignee: Miguel Ángel Pedraza
>              Labels: fiware, fiware-orion
>
> Created question in FIWARE Q/A platform on 04-10-2022 at 08:10
> {color: red}Please, ANSWER this question AT{color} https://stackoverflow.com/questions/73945390/fiware-orion-mqtt-notification-not-working-anymore
> +Question:+
> Fiware Orion MQTT notification not working (anymore)
> +Description:+
> I don’t know where to look anymore, maybe someone has an idea what’s going wrong?
> I created an MQTT subscription on my Orion Context Broker:
> {
> "description": "Subscription to notify of all WaterQualityObserved changes",
> "subject": {
>     "entities": [{
>         "idPattern": ".*",
>         "type": "WaterQualityObserved"
>     }],
>      "condition": {
>             "attrs": []
>         }
> },
> "notification": {
>     "mqtt": {
>         "url": "mqtt://127.0.0.1:1883",
>         "topic": "water-quality-observed-changed"
>     }
> }
> }
> I have both my Orion Context Broker and Mosquitto MQTT broker running locally in Docker containers.
> I get this when listing the subscriptions in my Orion CB:
> [
> {
>     "id": "633bf12fe929777b6a60242b",
>     "description": "MQTT subscription to notify of all WaterQualityObserved changes",
>     "status": "active",
>     "subject": {
>         "entities": [
>             {
>                 "idPattern": ".*",
>                 "type": "WaterQualityObserved"
>             }
>         ],
>         "condition": {
>             "attrs": []
>         }
>     },
>     "notification": {
>         "timesSent": 3,
>         "lastNotification": "2022-10-04T08:47:55.000Z",
>         "attrs": [],
>         "onlyChangedAttrs": false,
>         "attrsFormat": "normalized",
>         "mqtt": {
>             "url": "mqtt://127.0.0.1:1883",
>             "topic": "water-quality-observed-changed",
>             "qos": 0
>         },
>         "lastFailure": "2022-10-04T08:47:55.000Z",
>         "failsCounter": 3,
>         "covered": false
>     }
> }
> ]
> As you can see “timesSent” augments when I PATCH the entity.
> The strange thing is it worked before!
> Any idea what I’m doing wrong?
> Thanks.
> Guy



--
This message was sent by Atlassian JIRA
(v6.4.1#64016)


More information about the Backlogmanager mailing list

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