[Backlogmanager] [FIWARE-JIRA] (HELP-17305) [fiware-stackoverflow] FIWARE' s subscription do not notify

Fernando Lopez (JIRA) jira-help-desk at jira.fiware.org
Mon Jan 25 09:27:00 CET 2021


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

Fernando Lopez reassigned HELP-17305:
-------------------------------------

    Assignee: Fermín Galán

> [fiware-stackoverflow] FIWARE's subscription do not notify
> --------------------------------------------------------------
>
>                 Key: HELP-17305
>                 URL: https://jira.fiware.org/browse/HELP-17305
>             Project: Help-Desk
>          Issue Type: Monitor
>          Components: FIWARE-TECH-HELP
>            Reporter: Backlog Manager
>            Assignee: Fermín Galán
>              Labels: fiware, fiware-orion
>
> Created question in FIWARE Q/A platform on 20-01-2021 at 18:01
> {color: red}Please, ANSWER this question AT{color} https://stackoverflow.com/questions/65814534/fiwares-subscription-do-not-notify
> +Question:+
> FIWARE's subscription do not notify
> +Description:+
> I have multiple subscriptions to different entities, and at some random time one of the subscriptions stops being notified.
> This is because the lastNotification attribute is set in the future. Here is an example :
>  curl 'http://localhost:1026/v2/subscriptions/xxxxxxxxxxxxxxx'
> {
>     "id": "xxxxxxxxxxxxxxx",
>     ...
>     "status": "active",
>     ...
>     "notification": {
>         "timesSent": 1316413,
>         "lastNotification": "2021-01-20T18:33:39.000Z",
>         ...
>         "lastFailure": "2021-01-18T12:11:26.000Z",
>         "lastFailureReason": "Timeout was reached",
>         "lastSuccess": "2021-01-20T17:12:09.000Z",
>         "lastSuccessCode": 204
>     }
> }
> In this example, lastNotification is ahead of time. It is not until 2021-01-20T18: 33: 39.000Z for the subscription to be notified again.
> I tried to modify lastNotification in the mongo database but that does not change it. Looks like the value 2021-01-20T18: 33: 39.000Z is cached.



--
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