问题
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