Uploaded image for project: 'Help-Desk'
  1. Help-Desk
  2. HELP-15774

[fiware-stackoverflow] Creating NGSI Source subscription in wirecloud mashup

    Details

      Description

      Created question in FIWARE Q/A platform on 03-05-2019 at 13:05
      Please, ANSWER this question AT https://stackoverflow.com/questions/55969197/creating-ngsi-source-subscription-in-wirecloud-mashup

      Question:
      Creating NGSI Source subscription in wirecloud mashup

      Description:
      I must admit I'm missing some points in creating an NGSI Source subscription for a wirecloud mashup. I tried the Wirecloud Basic History Info tutorial, tried my own deployed instance of Orion CB, tried creating subscription for both Manchester and Eindhoven cities' orion endpoint but nothing actually work: Here's the attempts I made for each case:

      Wirecloud User Guide Basic Tutorial (History Info -settings created as described here):

      NGSI server URL: http://orion.lab.fiware.org:1026/

      NGSI proxy URL: https://ngsiproxy.lab.fiware.org

      Use the FIWARE credentials of the user: Enabled

      Use the FIWARE credentials of the workspace owner: Disabled

      NGSI tenant/service: Emtpy

      NGSI scope: /

      NGSI entity types: Node, AMMS, Regulator

      Id pattern: Empty

      Monitored NGSI attributes: Latitud, Longitud, presence, batteryCharge, illuminance, ActivePower, ReactivePower, electricPotential, electricalCurrent

      Unfortunately, after adding the NGSI Entity to PoI and creating settings as described in the Guide, PoI are not displayed on map as it is on the guide. Instead, I get the following error (NGSI Source operator logs):

      Error creating subscription in the context broker server: Unexpected response from WireCloud's proxy

      2. Own instance of Orion CB:
      Added the following settings to the NGSI Source operator (NB: my orion instance is hosted by server ip 193.136.xx.xx):

      NGSI server URL: http://193.136.xx.xx:1026/

      NGSI proxy URL: https://ngsiproxy.lab.fiware.org

      FIWARE-Service: environment

      FIWARE-SERvicePath: /basic

      NGSI Entity types: WeatherObserved

      Monitored NGSI Attributes: location, temperature, relativeHumidity

      I then get following error as well:

      Error creating subscription in the context broker server: Connection Error

      What exactly am i doing wrong here please?

        Activity

        fla Fernando Lopez made changes -
        Fix Version/s 2021 [ 12600 ]
        backlogmanager Backlog Manager made changes -
        Resolution Done [ 10000 ]
        Status Answered [ 10104 ] Closed [ 6 ]
        mjimenezganan Miguel Jiménez made changes -
        Status In Progress [ 3 ] Answered [ 10104 ]
        mjimenezganan Miguel Jiménez made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        fla Fernando Lopez made changes -
        HD-Enabler Wirecloud [ 10857 ]
        Description
        Created question in FIWARE Q/A platform on 03-05-2019 at 13:05
        {color: red}Please, ANSWER this question AT{color} https://stackoverflow.com/questions/55969197/creating-ngsi-source-subscription-in-wirecloud-mashup


        +Question:+
        Creating NGSI Source subscription in wirecloud mashup

        +Description:+
        I must admit I'm missing some points in creating an NGSI Source subscription for a wirecloud mashup. I tried the Wirecloud Basic History Info tutorial, tried my own deployed instance of Orion CB, tried creating subscription for both Manchester and Eindhoven cities' orion endpoint but nothing actually work: Here's the attempts I made for each case:


        Wirecloud User Guide Basic Tutorial (History Info -settings created as described here):


        NGSI server URL: http://orion.lab.fiware.org:1026/

        NGSI proxy URL: https://ngsiproxy.lab.fiware.org

        Use the FIWARE credentials of the user: Enabled

        Use the FIWARE credentials of the workspace owner: Disabled

        NGSI tenant/service: Emtpy

        NGSI scope: /

        NGSI entity types: Node, AMMS, Regulator

        Id pattern: Empty

        Monitored NGSI attributes: Latitud, Longitud, presence, batteryCharge, illuminance, ActivePower, ReactivePower, electricPotential, electricalCurrent

        Unfortunately, after adding the NGSI Entity to PoI and creating settings as described in the Guide, PoI are not displayed on map as it is on the guide. Instead, I get the following error (NGSI Source operator logs):

        Error creating subscription in the context broker server: Unexpected response from WireCloud's proxy


        2. Own instance of Orion CB:
        Added the following settings to the NGSI Source operator (NB: my orion instance is hosted by server ip 193.136.xx.xx):

        NGSI server URL: http://193.136.xx.xx:1026/

        NGSI proxy URL: https://ngsiproxy.lab.fiware.org

        FIWARE-Service: environment

        FIWARE-SERvicePath: /basic

        NGSI Entity types: WeatherObserved

        Monitored NGSI Attributes: location, temperature, relativeHumidity

        I then get following error as well:

        Error creating subscription in the context broker server: Connection Error


        What exactly am i doing wrong here please?
        Created question in FIWARE Q/A platform on 03-05-2019 at 13:05
        {color: red}Please, ANSWER this question AT{color} https://stackoverflow.com/questions/55969197/creating-ngsi-source-subscription-in-wirecloud-mashup


        +Question:+
        Creating NGSI Source subscription in wirecloud mashup

        +Description:+
        I must admit I'm missing some points in creating an NGSI Source subscription for a wirecloud mashup. I tried the Wirecloud Basic History Info tutorial, tried my own deployed instance of Orion CB, tried creating subscription for both Manchester and Eindhoven cities' orion endpoint but nothing actually work: Here's the attempts I made for each case:


        Wirecloud User Guide Basic Tutorial (History Info -settings created as described here):


        NGSI server URL: http://orion.lab.fiware.org:1026/

        NGSI proxy URL: https://ngsiproxy.lab.fiware.org

        Use the FIWARE credentials of the user: Enabled

        Use the FIWARE credentials of the workspace owner: Disabled

        NGSI tenant/service: Emtpy

        NGSI scope: /

        NGSI entity types: Node, AMMS, Regulator

        Id pattern: Empty

        Monitored NGSI attributes: Latitud, Longitud, presence, batteryCharge, illuminance, ActivePower, ReactivePower, electricPotential, electricalCurrent

        Unfortunately, after adding the NGSI Entity to PoI and creating settings as described in the Guide, PoI are not displayed on map as it is on the guide. Instead, I get the following error (NGSI Source operator logs):

        Error creating subscription in the context broker server: Unexpected response from WireCloud's proxy


        2. Own instance of Orion CB:
        Added the following settings to the NGSI Source operator (NB: my orion instance is hosted by server ip 193.136.xx.xx):

        NGSI server URL: http://193.136.xx.xx:1026/

        NGSI proxy URL: https://ngsiproxy.lab.fiware.org

        FIWARE-Service: environment

        FIWARE-SERvicePath: /basic

        NGSI Entity types: WeatherObserved

        Monitored NGSI Attributes: location, temperature, relativeHumidity

        I then get following error as well:

        Error creating subscription in the context broker server: Connection Error


        What exactly am i doing wrong here please?
        fla Fernando Lopez made changes -
        Assignee Miguel Jiménez [ mjimenezganan ]
        backlogmanager Backlog Manager made changes -
        Field Original Value New Value
        Component/s FIWARE-TECH-HELP [ 10278 ]
        backlogmanager Backlog Manager created issue -

          People

          • Assignee:
            mjimenezganan Miguel Jiménez
            Reporter:
            backlogmanager Backlog Manager
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: