IDAS未连接到ContextBroker [英] IDAS not connecting to the ContextBroker

查看:70
本文介绍了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.

推荐答案

问题可能与

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

  • Orion主机中的某些内容(例如防火墙或安全组)阻止了传入连接
  • 客户端主机中的某些内容(例如防火墙)阻止了即将建立的连接
  • 还有其他网络问题导致连接问题.

这篇关于IDAS未连接到ContextBroker的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆