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

FIWARE.Request.Tech.Data.BigData-Analysis.Cygnus connector and user-agent filtered by "orion.." content (Publish/Subscribe Context Broker - Orion Context Broker GE)

    Details

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

      Description

      Dear FIWARE coach,
      we forward you a support request received from a CreatiFI applicant we are
      not able to solve.
      Please let us know if you need direct contact with the submitter.
      Thanks.

      ******************************

      Dear,
      I guess this ticket should be addressed to Cygnus Connector GE developers.

      I am testing the "subscription-notification" mechanism of NGSI and I
      noticed that Cygnus Connector accepts only notifications that have
      User-Agent http header set to "orion/x.y.z". This forces all NGSI-like
      sources to be only instances of Orion Context Broker.

      I am using Data Handling EspR4FastData GE and it is compliant with the NGSI
      "subscription-notification"; i.e. I can create a subscription and indicate
      the address of the Cygnus connector as the end point for the notification.
      The problem is that Data Handling sends the notification using a standard
      "mozilla/5.0" user-agent that is refused by Cygnus, see trace below:

      *2015-05-25 08:37:40,437 (1535676062@qtp-62688637-20) [INFO -
      es.tid.fiware.fiwareconnectors.cygnus.handlers.OrionRestHandler.getEvents(OrionRestHandler.java:153)]
      Starting transaction (1432538977-399-0000000053)2015-05-25 08:37:40,437
      (1535676062@qtp-62688637-20) [WARN -
      es.tid.fiware.fiwareconnectors.cygnus.handlers.OrionRestHandler.getEvents(OrionRestHandler.java:183)]
      Bad HTTP notification (mozilla/5.0 user agent not supported)2015-05-25
      08:37:40,437 (1535676062@qtp-62688637-20) [WARN -
      org.apache.flume.source.http.HTTPSource$FlumeHTTPServlet.doPost(HTTPSource.java:186)]
      Received bad request from client.*

      My question is: is there a way to configure Cygnus to accept a non-Orion
      user-agent?

      ******************************

      _______________________________________________
      Fiware-creatifi-coaching mailing list
      Fiware-creatifi-coaching@lists.fi-ware.org
      https://lists.fi-ware.org/listinfo/fiware-creatifi-coaching

      [Created via e-mail received from: Andrea Maestrini <amaestrini@create-net.org>]

        Issue Links

          Activity

          Hide
          backlogmanager Backlog Manager added a comment -

          Assignee before migration = Francisco Romero

          Show
          backlogmanager Backlog Manager added a comment - Assignee before migration = Francisco Romero
          Hide
          backlogmanager Backlog Manager added a comment -

          Original time span = 29 days, 23:01:55

          Show
          backlogmanager Backlog Manager added a comment - Original time span = 29 days, 23:01:55

            People

            • Assignee:
              frb Francisco Romero
              Reporter:
              fw.ext.user FW External User
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: