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

FIWARE.Question.Tech.Fiware Orion subscription creation failed.

    Details

      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": [

      { "idPattern": ".*", "type": "Room" }

      ],
      "condition":

      { "attrs": [ ] }

      },
      "notification": {
      "http":

      { "url": "http://172.20.0.2:5050/notify" }

      ,
      "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
        Open Open In Progress In Progress
        20h 59m 1 Backlog Manager 28/Sep/18 3:05 PM
        In Progress In Progress Closed Closed
        3h 1 Backlog Manager 28/Sep/18 6:05 PM
        fla Fernando Lopez made changes -
        Fix Version/s 2021 [ 12600 ]
        fla Fernando Lopez made changes -
        HD-Enabler Orion [ 10875 ]
        Description
        Created question in FIWARE Q/A platform on 27-09-2018 at 15:09
        {color: red}Please, ANSWER this question AT{color} 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": [
          {
            "idPattern": ".*",
            "type": "Room"
          }
        ],
        "condition": {
          "attrs": [

          ]
        }
        },
        "notification": {
        "http": {
          "url": "http://172.20.0.2:5050/notify"
        },
        "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.
        Created question in FIWARE Q/A platform on 27-09-2018 at 15:09
        {color: red}Please, ANSWER this question AT{color} 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": [
          {
            "idPattern": ".*",
            "type": "Room"
          }
        ],
        "condition": {
          "attrs": [

          ]
        }
        },
        "notification": {
        "http": {
          "url": "http://172.20.0.2:5050/notify"
        },
        "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.
        backlogmanager Backlog Manager made changes -
        Summary [fiware-stackoverflow] Fiware Orion subscription creation failed FIWARE.Question.Tech.Fiware Orion subscription creation failed.
        Hide
        backlogmanager Backlog Manager added a comment -

        2018-09-28 18:05|UPDATED status: transition Finish| # answers= 1, accepted answer= True

        Show
        backlogmanager Backlog Manager added a comment - 2018-09-28 18:05|UPDATED status: transition Finish| # answers= 1, accepted answer= True
        backlogmanager Backlog Manager made changes -
        Resolution Done [ 10000 ]
        Status In Progress [ 3 ] Closed [ 6 ]
        Hide
        backlogmanager Backlog Manager added a comment -

        2018-09-28 15:05|UPDATED status: transition Answer| # answers= 1, accepted answer= True

        Show
        backlogmanager Backlog Manager added a comment - 2018-09-28 15:05|UPDATED status: transition Answer| # answers= 1, accepted answer= True
        backlogmanager Backlog Manager made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        veronika Veronika Vlnkova made changes -
        Assignee Joaquín Salvachúa [ joaquin.salvachua ]
        backlogmanager Backlog Manager made changes -
        Field Original Value New Value
        Component/s FIWARE-TECH-HELP [ 10278 ]
        Hide
        backlogmanager Backlog Manager added a comment -

        2018-09-27 18:05|CREATED monitor | # answers= 0, accepted answer= False

        Show
        backlogmanager Backlog Manager added a comment - 2018-09-27 18:05|CREATED monitor | # answers= 0, accepted answer= False
        backlogmanager Backlog Manager created issue -

          People

          • Assignee:
            joaquin.salvachua Joaquín Salvachúa
            Reporter:
            backlogmanager Backlog Manager
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: