We use proprietary and third party´s cookies to improve your experience and our services, identifying your Internet Browsing preferences on our website; develop analytic activities and display advertising based on your preferences. If you keep browsing, you accept its use. You can get more information on our Cookie Policy
Cookies Policy
Ask Your Question
0

why not connect to the orion server that I have in the cloud?

asked 2017-10-20 21:26:48 +0100

betzabet gravatar image

hello, good afternoon I have a problem I am doing a test with my arduino I see an example but I mark an error that should be based on this example. https://www.fiware.org/2015/06/10/iot... Connected to WiFi SSID: *** IP Address: 0.0.0.0 signal strength (RSSI): - 61 dBm

Starting to connect to the server ... Connected to server

-1

Starting to connect to the server ... Connected to server

-1

Starting to connect to the server ... Connected to server

-1

Starting to connect to the server ... Connected to server

-1

Starting to connect to the server ... No Socket available

Disconnected from server

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
0

answered 2017-10-24 16:09:17 +0100

fernando.lopez gravatar image

If you deploy the instance of Orion in the FIWARE Lab you have to keep in mind that by default all the ports are closed by security reasons. Please, be sure that in your security group you have open the port corresponding to the Orion Context Broker port.

edit flag offensive delete link more

Comments

if thank you very much and if indeed I have port 1026 enabled in my security groups, but in the same way when implementing the communication with my arduino and my instance in the cloud does not connect even though

betzabet gravatar imagebetzabet ( 2017-10-25 19:11:07 +0100 )edit

it has in the group of followad enabled port 1026 and does not perform the process, since after the connection has to perform the following action.    if (client.connect (orion, 1026)) {      Serial.println ("Connected to server");      client.println ("GET / v1 / contextEntities / LED13");    }

betzabet gravatar imagebetzabet ( 2017-10-25 19:11:40 +0100 )edit

since the coding is identical to the person who made the example I have not modified anything

betzabet gravatar imagebetzabet ( 2017-10-25 19:12:22 +0100 )edit

I have stated that my orion server is the IP address of my instance in the cloud where I can actually make calls in the RESTclient from google Chrome. but when I call from my arduino sends me that message.

betzabet gravatar imagebetzabet ( 2017-10-25 19:17:35 +0100 )edit

I do not know if it would also apply here include the library of httpclient that has arduino to implement the so-called rest

betzabet gravatar imagebetzabet ( 2017-10-25 19:19:11 +0100 )edit
Login/Signup to Answer

Question Tools

2 followers

Stats

Asked: 2017-10-20 21:26:48 +0100

Seen: 71 times

Last updated: Oct 24