Uploaded image for project: 'Help-Coaches-Desk'
  1. Help-Coaches-Desk
  2. HELC-771

FIWARE.Request.Coach.CreatiFI.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
    • Component/s: CreatiFI
    • 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

          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open In Progress In Progress
          8d 23h 43m 1 Francisco Romero 03/Jun/15 4:32 PM
          In Progress In Progress Answered Answered
          2m 48s 1 Francisco Romero 03/Jun/15 4:35 PM
          Answered Answered Closed Closed
          20d 23h 15m 1 Francisco Romero 24/Jun/15 3:50 PM

            People

            • Assignee:
              silviocretti Silvio Cretti
              Reporter:
              fw.ext.user FW External User
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: