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

[Coach-Impact].FruitApp.Cygnus.SubscriptionsError

    Details

    • Type: extRequest
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Fix Version/s: 2021
    • Component/s: FIWARE-TECH-HELP
    • Labels:
      None

      Description

      Cygnus:

      • Not working when i use subscription from context-broker, i make a subscription in orion to use in cygnus but every request gives me an error: "Received bad request from client.
        org.apache.flume.source.http.HTTPBadRequestException: 'fiware-servicepath' header value does not match the number of notified context responses", i've used the same examples that are in the documment, using the headers fiware-servicepath when i create the subsctiption:
        -I'ts creating a collection in MongoDB for each entity, is it better to use another Database?

        Activity

        Hide
        arigliano Francesco Arigliano added a comment -

        Hi Eslem,
        could you please add some information Orion and Cygnus in your architecture
        -version of both
        -are they deployed in containers?
        Thanks

        Show
        arigliano Francesco Arigliano added a comment - Hi Eslem, could you please add some information Orion and Cygnus in your architecture -version of both -are they deployed in containers? Thanks
        Hide
        fw.ext.user FW External User added a comment -

        Comment by eslem@fruitsapp.com :

        Hi Francesco,

        both are deployed using the latest docker container, and are running in the same machine running Amazon Linux AMI 2017.09.1 in a EC2 AWS instance.

        i've followed the documentation and if i use the notify script, works fine, but if i make the subscription in orion i get this error.

        The cygnus log is attached.

        Thank you.

        Regards.

        -

        Show
        fw.ext.user FW External User added a comment - Comment by eslem@fruitsapp.com : Hi Francesco, both are deployed using the latest docker container, and are running in the same machine running Amazon Linux AMI 2017.09.1 in a EC2 AWS instance. i've followed the documentation and if i use the notify script, works fine, but if i make the subscription in orion i get this error. The cygnus log is attached. Thank you. Regards. -
        Hide
        arigliano Francesco Arigliano added a comment -

        Hi, can you send a link to dockerfile or docker-compose you used

        Show
        arigliano Francesco Arigliano added a comment - Hi, can you send a link to dockerfile or docker-compose you used
        Hide
        fw.ext.user FW External User added a comment -

        Comment by eslem@fruitsapp.com :

        Hi,

        for the Cygnus i made a docker pull, and for the context-broker i used the one that is in the documentation (https://fiware-orion.readthedocs.io/en/develop/user/docker/index.html)

        Regards.

        Eslem Alzate.

        -

        Show
        fw.ext.user FW External User added a comment - Comment by eslem@fruitsapp.com : Hi, for the Cygnus i made a docker pull, and for the context-broker i used the one that is in the documentation ( https://fiware-orion.readthedocs.io/en/develop/user/docker/index.html ) Regards. Eslem Alzate. -
        Hide
        jicg José Ignacio Carretero Guarde added a comment -

        Will you please tell us what the "docker pull" for the Cygnus container was? From the link you provided I know what you are doing about Orion and mongo, but I don't know how the Connection with Cygnus/Orion, etc is done from your docker pull.

        On the other hand, will you provide an example of your subscription and some test data you provide to Orion?

        Best regards,
        José Ignacio

        Show
        jicg José Ignacio Carretero Guarde added a comment - Will you please tell us what the "docker pull" for the Cygnus container was? From the link you provided I know what you are doing about Orion and mongo, but I don't know how the Connection with Cygnus/Orion, etc is done from your docker pull. On the other hand, will you provide an example of your subscription and some test data you provide to Orion? Best regards, José Ignacio
        Hide
        fw.ext.user FW External User added a comment -

        Comment by eslem@fruitsapp.com :

        Hello Jose.
        I think from the docker pull the cygnus version is the  1.8. The connection between Cygnus/Orion is made with the Orion subscriptions as i saw in the documents.

        About the subscription i've attached a screenshot, you can see there the url of the context broker.

        I'm not sure if this is usefull but i have some scripts to update data to cygnus and they are working (also attached).

        Regards.
        Eslem Alzate.

         

        -

        Show
        fw.ext.user FW External User added a comment - Comment by eslem@fruitsapp.com : Hello Jose. I think from the docker pull the cygnus version is the  1.8. The connection between Cygnus/Orion is made with the Orion subscriptions as i saw in the documents. About the subscription i've attached a screenshot, you can see there the url of the context broker. I'm not sure if this is usefull but i have some scripts to update data to cygnus and they are working (also attached). Regards. Eslem Alzate.   -

          People

          • Assignee:
            jicg José Ignacio Carretero Guarde
            Reporter:
            arigliano Francesco Arigliano
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: