Fiware cygnus中的错误订阅
我在cygnus中创建订阅时遇到问题。 我真的认为错误来自contextBroker,因为它出现在日志中-这是它显示的信息:Fiware cygnus中的错误订阅,fiware,fiware-orion,fiware-cygnus,Fiware,Fiware Orion,Fiware Cygnus,我在cygnus中创建订阅时遇到问题。 我真的认为错误来自contextBroker,因为它出现在日志中-这是它显示的信息: Time = 2017-08-07T10: 48: 09.360Z | Lvl = WARN | Corr = N / A | Trans = 1502101560-775-00000000006 | From = pending | Srv = pending | Subsrv = pending | Comp = Orion | Op = AlarmManager.c
Time = 2017-08-07T10: 48: 09.360Z | Lvl = WARN | Corr = N / A | Trans = 1502101560-775-00000000006 | From = pending | Srv = pending | Subsrv = pending | Comp = Orion | Op = AlarmManager.cpp [328]: notificationError | Msg = Raising alarm NotificationError http: // localhost: 5050 / notify: (
Easy_perform failed: Could not connect to server)
我有开放的端口。
我的订阅状态为失败
我怎样才能解决这个问题
编辑
创建过程如下:
{
"description": "A subscription to get info about Room1",
"subject": {
"entities": [
{
"id": "Room1",
"type": "Room"
}
],
"condition": {
"attrs": [
"pressure"
]
}
},
"notification": {
"http": {
"url": "http://localhost:5050/notify"
},
"attrs": [
"temperature"
],
"attrsFormat": "legacy"
}
}
当我在orion机器上对fiwarelab执行订阅时,如果它能正常工作,但当我在centos 6机器上尝试并执行安装步骤时,我会收到该错误
我已经解决了这个问题,它已经安装好了 我遵循的步骤如下: 要安装cygnus: 第一次安装java和maven,因为它放在fiware的web上 第二次使用yum安装cygnus 3º在ApacheFlume放到fiware的web上时安装它 第四次安装mySQL 第五,配置代理
一切都已经正常了。我已经解决了问题,并且已经设置好了。我遵循的步骤如下: 要安装cygnus:
您能否编辑您的问题,以解释您是如何执行“在天鹅座创建订阅”这一步骤的?我是说,这正是你的要求。谢谢!布埃纳斯,@fgalan acabo de editar el post只是一个猜测:尝试改变
http://localhost:5050/notify
至http://CYGNUS_IP:5050/notify
。请注意,localhost
仅在Orion主机/VM/container中安装cygnus的情况下才起作用。您好,ContextBroker和cygnus安装在同一台机器上。很好,我已经解决了问题,并且已经安装好了。我遵循的步骤如下:安装cygnus:1st在fiware web上安装java和maven;2nd使用yum安装cygnus 3º在fiware web上安装apache flume;4th安装mySQL;5th配置代理一切都已就绪。