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

        fla Fernando Lopez made changes -
        Fix Version/s 2021 [ 12600 ]
        backlogmanager Backlog Manager made changes -
        Summary [fiware-stackoverflow] FIWARE's subscription do not notify FIWARE.Question.Tech.FIWARE's subscription do not notify.
        backlogmanager Backlog Manager made changes -
        Resolution Done [ 10000 ]
        Status Answered [ 10104 ] Closed [ 6 ]
        fla Fernando Lopez made changes -
        Assignee Fermín Galán [ fermin ]
        fla Fernando Lopez made changes -
        Status In Progress [ 3 ] Answered [ 10104 ]
        fla Fernando Lopez made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        backlogmanager Backlog Manager made changes -
        Field Original Value New Value
        Component/s FIWARE-TECH-HELP [ 10278 ]
        backlogmanager Backlog Manager created issue -

          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: