Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to make rush work with my orionInstance

Following my previous question How to show an entity from OrionContextBroker in the MapViewer widget I configured my context broker instance using Rush and I am using https://ngsiproxy.lab.fi-ware.org as NGSI proxy.

I start the orionContextBroker instance like this: contextBroker -rush localhost:5001 and everything seems to be working correctly (I can insert/query data etc), but when the MapViewerWidget gets loaded I get this message from the OrionInstance log:

INFO@17:32:53  clientSocketHttp.cpp[152]: Starting transaction to ngsiproxy.lab.fi-ware.org:443/callbacks/19:32:59-1:19:33:01-1
WARNING@17:32:53  clientSocketHttp.cpp[342]: Notification failure for localhost:5001 (curl_easy_perform failed: Couldn't connect to server)
INFO@17:32:53  clientSocketHttp.cpp[359]: Transaction ended

Thanks!

like image 875
José Castillo Lema Avatar asked Oct 19 '22 21:10

José Castillo Lema


1 Answers

Check your Rush installation, it should be running at localhost:5001 (your context broker cannot connect to it).

See the "Using Rush relayer" and the "Security consideration" sections for more information. You can also take a look to the responses to this question.

like image 104
Álvaro Arranz Avatar answered Dec 22 '22 01:12

Álvaro Arranz