IDAS未连接到ContextBroker
我在将测量结果发送到contextBroker时遇到问题. 我在CentOS虚拟机上运行了ContextBroker.在另一台CentOS虚拟机上,我使用host =/ ContextBroker虚拟机主机IP /和端口= 1026设置figway config.ini文件.当我将测量值发送到ContextBroker时:
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'
它只是不会将值粘贴到实体上.它给了我一个代码:200,但响应只是空白.
it simply doesn't stick the values to the entity. It gives me a code:200 but the response is just blank.
我在做什么错了?
更新:
即使我从一个虚拟机到另一个虚拟机(运行contextBroker的虚拟机)也要执行以下命令:
Even when i do from one VM to another (to the one where the contextBroker is running) the command:
GET *ip*:1026/version
,它什么也不返回.
更新:
运行
GET localhost:1026/version
有效.返回要返回的内容.
works. Returns what's supose to return.