Details
-
Type:
Monitor
-
Status: Closed
-
Priority:
Major
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: 2021
-
Component/s: FIWARE-TECH-HELP
-
Labels:
-
HD-Enabler:Orion
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": [
],
"condition":
},
"notification": {
"http":
,
"attrs": [
]
},
"expires": "2040-01-01T14:00:00.00Z",
"throttling": 1
}
EOF
Activity
Field | Original Value | New Value |
---|---|---|
Component/s | FIWARE-TECH-HELP [ 10278 ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Resolution | Done [ 10000 ] | |
Status | In Progress [ 3 ] | Closed [ 6 ] |
HD-Enabler | Orion [ 10875 ] | |
Description |
Created question in FIWARE Q/A platform on 12-12-2018 at 16:12 {color: red}Please, ANSWER this question AT{color} 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 |
Created question in FIWARE Q/A platform on 12-12-2018 at 16:12
{color: red}Please, ANSWER this question AT{color} 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 |
Assignee | Backlog Manager [ backlogmanager ] |
Fix Version/s | 2021 [ 12600 ] |
Transition | Time In Source Status | Execution Times | Last Executer | Last Execution Date | |||||
---|---|---|---|---|---|---|---|---|---|
|
3h | 1 | Backlog Manager | 12/Dec/18 9:06 PM | |||||
|
2h 59m | 1 | Backlog Manager | 13/Dec/18 12:05 AM |
2018-12-12 18:05|CREATED monitor | # answers= 1, accepted answer= True