I used Cygnus 0.8.2 on fiware image CentOS-7-x64, to subscribe to Orion context broker. This is the code I've used.
(curl 193.48.247.246:1026/v1/subscribeContext -s -S --header 'Content-Type: application/json' --header 'Accept: application/json' --header 'Fiware-Service: egmmqtt' --header 'Fiware-ServicePath: /egmmqttpath' -d @- | python -mjson.tool) <I received the following error on OrionContextBroker logs.
time=2015-10-06T17:43:37.898CEST | lvl=WARNING | trans=1443447780-161-00000000423 | function=sendHttpSocket | comp=Orion | msg=clientSocketHttp.cpp[358]: Notification failure for 193.48.247.223:5050 (curl_easy_perform failed: Couldn't connect to server)I can't really figure out why the Cygnus instance is not reached under the associated public IP address. In fact, I can't even ping Cygnus machine instance from Orion instance. Any clue on what I might have missed?
In the security rules of Cygnus instance, the port on which Cygnus is listening (in my case 5050) has to be open so Orion can reach Cygnus instance.