IDAS not connecting to the ContextBroker

落爺英雄遲暮 提交于 2019-12-13 02:25:03

问题


i'm having a problem sending the mesurements to the contextBroker. I have the ContextBroker running on a CentOS virtual machine. On another CentOS virtual machine i'm setting the figway config.ini file with the host=/ContextBroker Virtual Machine Host IP/ and Port=1026. When i send mesurements to my ContextBroker:

python2.7 SendObservation.py Bus1 't|1'

it simply doesn't stick the values to the entity. It gives me a code:200 but the response is just blank.

What am i doing wrong?

UPDATE:

Even when i do from one VM to another (to the one where the contextBroker is running) the command:

GET *ip*:1026/version

, it returns nothing.

UPDATE:

Running

GET localhost:1026/version 

works. Returns what's supose to return.


回答1:


The problem could be similar to the one described in the answer to this question. The most probable causes of Orion connection problems are:

  • Something in the Orion host (e.g a firewall or security group) is blocking the incoming connection
  • Something in the client host (e.g a firewall) is blocking the outcoming connection
  • There is some other network issue is causing the connection problem.


来源:https://stackoverflow.com/questions/29751664/idas-not-connecting-to-the-contextbroker

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!