2014-12-02 67 views
5

繼我上一個問題How to show an entity from OrionContextBroker in the MapViewer widget我使用Rush配置了我的上下文代理實例,並且我使用https://ngsiproxy.lab.fi-ware.org作爲NGSI代理。如何使我的orionInstance快速工作

我開始喜歡這個orionContextBroker實例:contextBroker -rush本地主機:5001,一切似乎工作正常(我可以插入/查詢數據等),但是當MapViewerWidget被加載我得到這個消息OrionInstance日誌:

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

謝謝!

回答

3

檢查您的Rush安裝,它應該運行在localhost:5001(您的上下文代理無法連接到它)。

查看"Using Rush relayer""Security consideration"章節瞭解更多信息。您也可以看看對question的迴應。

+0

我更新了新配置的問題! – 2014-12-09 14:32:11

+0

@JoseCastillo您的上下文代理實例無法啓動,因爲另一個進程正在偵聽端口1026.檢查上下文代理尚未運行(ps aux | grep contextBroker)。 – 2014-12-09 15:55:30

+0

沒有任何實例已經運行,任何進程在端口1026上都沒有偵聽:/我已經更新了這個問題!和thnks的幫助! – 2014-12-10 15:23:06