-->

How to make rush work with my orionInstance

2019-02-22 10:09发布

问题:

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!

回答1:

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.