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 27-09-2018 at 15:09
Please, ANSWER this question AT https://stackoverflow.com/questions/52538387/fiware-orion-subscription-creation-failed
Question:
Fiware Orion subscription creation failed
Description:
Trying to create subscription on Fiware Orion to notify Cygnus instance. But no matter what i try or do i get failed as subscription status.
Main problem seem to be Cygnus URL i am using for notification, but cygnus i up and running without any issues and this problem still persist.
Fiware Orion version:
"orion" :
{ "version" : "1.15.0-next", "uptime" : "0 d, 0 h, 24 m, 24 s", "git_hash" : "9cf2ea8243e4757a52c9019d197112abcf715dbe", "compile_time" : "Mon Sep 24 08:22:30 UTC 2018", "compiled_by" : "root", "compiled_in" : "ea5d2e530912", "release_date" : "Mon Sep 24 08:22:30 UTC 2018", "doc" : "https://fiware-orion.readthedocs.org/en/master/" }Fiware Cygnus version:
version 1.9.0_SNAPSHOT.887d615a9dfc2c09c99e511f8cefb148aa54809e
Fiware Orion error log:
time=Thursday 27 Sep 13:33:09 2018.712Z | lvl=WARN | corr=N/A |
trans=1538055058-177-00000000002 | from=pending | srv=pending |
subsrv=pending | comp=Orion |
op=AlarmManager.cpp[328]:notificationError | msg=Raising alarm
NotificationError http://172.20.0.2:5050/notify: (curl_easy_perform
failed: Timeout was reached)
Subscription body:
{
"description": "A subscription to get info about Room entity",
"subject": {
"entities": [
],
"condition":
},
"notification": {
"http":
,
"attrs": [
]
},
"expires": "2040-01-01T14:00:00.00Z",
"throttling": 5
}
I found good amount of simmilar problems they all point out to url issues of Cygnus because it is run as docker container.
But u can see in logs and example that i use ip adders of containers(not localhost etc), and issue is constant.
What did i miss here since there is no much to do with subscription creation and it looks very simple but still all subscription are getting back with failed as status and issue i describe above.
Thanks.
Activity
Transition | Time In Source Status | Execution Times | Last Executer | Last Execution Date | |||||
---|---|---|---|---|---|---|---|---|---|
|
20h 59m | 1 | Backlog Manager | 28/Sep/18 3:05 PM | |||||
|
3h | 1 | Backlog Manager | 28/Sep/18 6:05 PM |