紧急安装并与Orion Context Broker集成 [英] Rush installation and integration with Orion Context Broker

查看:141
本文介绍了紧急安装并与Orion Context Broker集成的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Rush中运行侦听器和一次消费者之后,我运行:

After having running the listener and one time a consumer in the Rush, I run:

contextBroker -rush localhost:5001

我确保使用Orion 0.17而不是0.14以及输入/ version url后显示的内容是:

I made sure to use Orion 0.17 instead of 0.14 and what It's shown after enter to the /version url is:

<orion>
<version>0.17.0</version>
<uptime>0 d, 0 h, 12 m, 14 s</uptime>
<git_hash>127793ff921b37a6a570cd315ddce9a3ec541ccf</git_hash>
<compile_time>Fri Nov 28 09:41:22 CET 2014</compile_time>
<compiled_by>fermin</compiled_by>
<compiled_in>centollo</compiled_in>
</orion>

现在Rush继电器工作正常,它在终端显示的是:

Now Rush relayer works fine, what it's shown in the terminal is :

[root@fiware ngsi-proxy]# contextBroker -rush localhost:5001INFO@15:49:27  contextBroker.cpp[1348]: Orion Context Broker is running
[root@fiware ngsi-proxy]# INFO@15:49:27  MongoGlobal.cpp[164]: Successful connection to database
INFO@15:49:27  contextBroker.cpp[1157]: Connected to mongo at localhost:orion
INFO@15:49:28  MongoGlobal.cpp[483]: Database Operation Successful ({ conditions.type: "ONTIMEINTERVAL" })
INFO@15:49:28  contextBroker.cpp[1435]: Startup completed
[root@fiware ngsi-proxy]# INFO@16:01:41  rest.cpp[667]: Starting transaction from 181.64.209.16:8204/version
INFO@16:01:41  rest.cpp[380]: Transaction ended
INFO@16:01:42  rest.cpp[667]: Starting transaction from 181.64.209.16:8204/favicon.ico
WARNING@16:01:42  badRequest.cpp[52]: Bad Input (service '/favicon.ico' not found)
INFO@16:01:42  rest.cpp[380]: Transaction ended


推荐答案

你应该使用 http:// myorionserver:1026 用于填写NGSI服务器URL设置,因为这是您的Orion Context Broker实例的URL。通过打开以下URL确保您的orion上下文代理可以从外部访问: http:// myorionserver:1026 / version 。你应该得到类似的东西:

You should use http://myorionserver:1026 for filling the NGSI Server URL setting as this is the URL for your Orion Context Broker instance. Make sure your orion context broker is accessible from outside by opening the following URL: http://myorionserver:1026/version. You should obtain something similar this:

<orion>
  <version>0.17.0</version>
  <uptime>0 d, 4 h, 38 m, 48 s</uptime>
  <git_hash>127793ff921b37a6a570cd315ddce9a3ec541ccf</git_hash>
  <compile_time>Fri Nov 28 09:41:22 CET 2014</compile_time>
  <compiled_by>fermin</compiled_by>
  <compiled_in>centollo</compiled_in>
</orion>

如果您在连接到您的orion服务器时遇到问题,请检查您的防火墙配置。其他一切似乎都没问题。

Check your firewall configuration if you have problems connecting to your orion server. Everything else seems to be ok.

UPDATE:更新后,似乎问题与Orion Context Broker的版本有关正在使用。 Rush集成至少需要0.14.1版本,但我建议您至少使用0.17版本,因为此版本包含有关Rush集成的重要修复程序。一般来说,最好更新到Context Broker的最新稳定版本; - )

UPDATE: After your update, seems that the problem is related to the version of the Orion Context Broker you were using. Rush integration needs at least version 0.14.1, but I recommend you to use at least version 0.17 as this version contains, among other things, important fixes regarding Rush integration. In general is always a good idea to update to the latest stable version of Context Broker ;-)

这篇关于紧急安装并与Orion Context Broker集成的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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