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

[fiware-stackoverflow] FIWARE Orion Docker container: problems in notification subscriptions

    Details

      Description

      Created question in FIWARE Q/A platform on 12-12-2018 at 16:12
      Please, ANSWER this question AT https://stackoverflow.com/questions/53746833/fiware-orion-docker-container-problems-in-notification-subscriptions

      Question:
      FIWARE Orion Docker container: problems in notification subscriptions

      Description:
      I'm using Orion on my own server (through the provided Docker container (container Orion at version 1.14.0-next)).
      Everything works except the subscriptions.
      I found a lot of possible contents to send to Orion to submit a subscription but I continue to see "status": "failed" when I query the list of subscriptions (and, in any case, no data is received). Do you have any idea on how to solve such a problem?

      In the following you can find the links to the different versions I tried:

      http://telefonicaid.github.io/fiware-orion/api/v2/stable/
      https://fiware-orion.readthedocs.io/en/master/user/walkthrough_apiv2/index.html#subscriptions

      and also (even though it is for a different purpose):

      https://fiware-orion.readthedocs.io/en/master/user/initial_notification/index.html

      and finally one of the submitted subscriptions:

      (curl localhost:1026/v2/subscriptions s -S --header 'Content-Type: application/json' -d @) <<EOF
      {
      "description": "A subscription to get info about Compartment",
      "subject": {
      "entities": [

      { "id": "Compartment", "type": "Compartment" }

      ],
      "condition":

      { "attrs": [ "lastUpdate" ] }

      },
      "notification": {
      "http":

      { "url": "http://0.0.0.0:1028/accumulate" }

      ,
      "attrs": [
      ]
      },
      "expires": "2040-01-01T14:00:00.00Z",
      "throttling": 1
      }
      EOF

        Activity

        Hide
        backlogmanager Backlog Manager added a comment -

        2018-12-12 18:05|CREATED monitor | # answers= 1, accepted answer= True

        Show
        backlogmanager Backlog Manager added a comment - 2018-12-12 18:05|CREATED monitor | # answers= 1, accepted answer= True
        Hide
        backlogmanager Backlog Manager added a comment -

        2018-12-12 21:05|UPDATED status: transition Answer| # answers= 1, accepted answer= True

        Show
        backlogmanager Backlog Manager added a comment - 2018-12-12 21:05|UPDATED status: transition Answer| # answers= 1, accepted answer= True
        Hide
        backlogmanager Backlog Manager added a comment -

        2018-12-13 00:05|UPDATED status: transition Finish| # answers= 1, accepted answer= True

        Show
        backlogmanager Backlog Manager added a comment - 2018-12-13 00:05|UPDATED status: transition Finish| # answers= 1, accepted answer= True

          People

          • Assignee:
            backlogmanager Backlog Manager
            Reporter:
            backlogmanager Backlog Manager
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: