2014-12-02 2 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

새로운 구성으로 질문을 업데이트했습니다! –

+0

@JoseCastillo 다른 프로세스가 포트 1026에서 수신 중이기 때문에 컨텍스트 브로커 인스턴스를 시작할 수 없습니다. 컨텍스트 브로커가 아직 실행 중이 아닌지 확인하십시오 (ps aux | grep contextBroker). –

+0

이미 실행중인 인스턴스가 없으며 포트 1026에서 수신 대기하는 프로세스도 없습니다 :/질문을 업데이트했습니다! 도움을 청했습니다! –