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
- relates to
-
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)
- Closed
Activity
Transition | Time In Source Status | Execution Times | Last Executer | Last Execution Date | |||||
---|---|---|---|---|---|---|---|---|---|
|
8d 23h 43m | 1 | Francisco Romero | 03/Jun/15 4:32 PM | |||||
|
2m 48s | 1 | Francisco Romero | 03/Jun/15 4:35 PM | |||||
|
20d 23h 15m | 1 | Francisco Romero | 24/Jun/15 3:50 PM |