can t reach cygnus instance from orion context broker

0 votes

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) <<EOF
{
    "entities": [
        {
            "type": "sensors",
            "isPattern": "false",
            "id": "sensors:switch2A"
        }
    ],
    "attributes": [
        "switch2A"
    ],
    "reference": "http://193.48.247.223:5050/notify",
    "duration": "P1M",
    "notifyConditions": [
        {
            "type": "ONCHANGE",
            "condValues": [
                "switch2A"
            ]
        }
    ],
    "throttling": "PT1S"
}
EOF


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? 

thanks!

Oct 3, 2018 in IoT (Internet of Things) by Upasana
• 8,620 points
1,124 views

1 answer to this question.

0 votes

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.

answered Oct 3, 2018 by Annie97
• 2,160 points

Related Questions In IoT (Internet of Things)

0 votes
1 answer

Eclipse Paho: read data from MQTT Broker

From what I could analyze, you've been ...READ MORE

answered Aug 9, 2018 in IoT (Internet of Things) by DataKing99
• 8,250 points
2,450 views
0 votes
1 answer

What is the maximum message length for a MQTT broker?

It's not entirely clear what you're asking ...READ MORE

answered Jul 17, 2018 in IoT (Internet of Things) by anonymous2
• 4,240 points
9,462 views
0 votes
1 answer

AWS IoT login from android MQTT client using IAM is not working

Seeing your comments and questions. I had ...READ MORE

answered Jul 24, 2018 in IoT (Internet of Things) by anonymous2
• 4,240 points
2,347 views
0 votes
1 answer

Cygnus : I'm getting this exception "curl/7.29.0 user agent not supported"

Cygnus version <= 0.8.2 controls the HTTP ...READ MORE

answered Nov 23, 2018 in IoT (Internet of Things) by Shubham
• 13,490 points
824 views
0 votes
1 answer

RPMs for IoT Agents of Backend Device Management GE in FIWARE IoT ecosystem

The RPMs for IDAS component are availaible. ...READ MORE

answered Jul 30, 2018 in IoT (Internet of Things) by DataKing99
• 8,250 points
818 views
0 votes
1 answer

Can't install IDAS through provided RPMs on CentOS 7 VM

You should get that GitHub repository and ...READ MORE

answered Nov 20, 2018 in IoT (Internet of Things) by nirvana
• 3,130 points
872 views
0 votes
1 answer

Detecting when a sensor is not sending data to Orion CB in FiWARE

Orion in itself has no such mechanism ...READ MORE

answered Nov 22, 2018 in IoT (Internet of Things) by Shubham
• 13,490 points
747 views
0 votes
1 answer
0 votes
1 answer

Authenticate on an ASP.Net Forms Authorization website from a console app

Essentially, we need to record a regular ...READ MORE

answered Sep 20, 2018 in IoT (Internet of Things) by Annie97
• 2,160 points
911 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP