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

FIWARE.Question.Tech.FIWARE's subscription do not notify.

    Details

      Description

      Created question in FIWARE Q/A platform on 20-01-2021 at 18:01
      Please, ANSWER this question AT 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.

        Activity

        Hide
        backlogmanager Backlog Manager added a comment -

        2021-01-25 09:20|CREATED monitor | # answers= 1, accepted answer= False

        Show
        backlogmanager Backlog Manager added a comment - 2021-01-25 09:20|CREATED monitor | # answers= 1, accepted answer= False
        Hide
        backlogmanager Backlog Manager added a comment -

        2021-02-01 10:04|UPDATED status: transition Finish| # answers= 1, accepted answer= True

        Show
        backlogmanager Backlog Manager added a comment - 2021-02-01 10:04|UPDATED status: transition Finish| # answers= 1, accepted answer= True

          People

          • Assignee:
            fermin Fermín Galán
            Reporter:
            backlogmanager Backlog Manager
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: