问题描述
在我上一个问题之后如何显示MapViewer小部件中来自OrionContextBroker的实体,我使用Rush配置了上下文代理实例,并且使用的是 https://ngsiproxy.lab.fi-ware.org 作为NGSI代理.
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.
我像这样启动orionContextBroker实例: contextBroker -rush localhost:5001 ,一切似乎都正常运行(我可以插入/查询数据等),但是当MapViewerWidget加载完毕后,我从OrionInstance日志中收到以下消息:
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
谢谢!
推荐答案
检查您的 Rush 安装,它应该在localhost:5001
上运行(您的上下文代理无法连接到它).
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.
这篇关于如何让OrionInstance变得忙碌的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!