Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/ruby-on-rails-3/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Fiware cygnus中的错误订阅_Fiware_Fiware Orion_Fiware Cygnus - Fatal编程技术网

Fiware cygnus中的错误订阅

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

我在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.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:

  • 在安装java和maven的同时将其放到fiware的web上
  • 使用yum安装cygnus
  • 在ApacheFlume放到fiware的web上时安装它
  • 安装mySQL
  • 配置代理一切都已经开始工作了
  • 应该注意的是,这是针对天鹅座版本0.13的。在下一篇文章中,我将尝试让它在1.7版中工作


    您能否编辑您的问题,以解释您是如何执行“在天鹅座创建订阅”这一步骤的?我是说,这正是你的要求。谢谢!布埃纳斯,@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配置代理一切都已就绪。