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

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        5m 28s 1 Fernando Lopez 25/Jan/21 9:26 AM
        In Progress In Progress Answered Answered
        2s 1 Fernando Lopez 25/Jan/21 9:26 AM
        Answered Answered Closed Closed
        7d 38m 1 Backlog Manager 01/Feb/21 10:04 AM
        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.
        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
        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 ]
        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
        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: