Details
-
Type: Monitor
-
Status: Closed
-
Priority: Major
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: 2021
-
Component/s: FIWARE-TECH-HELP
-
Labels:
-
HD-Enabler:Wirecloud
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
Field | Original Value | New Value |
---|---|---|
Component/s | FIWARE-TECH-HELP [ 10278 ] |
Assignee | Miguel Jiménez [ mjimenezganan ] |
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? |
Status | Open [ 1 ] | In Progress [ 3 ] |
Status | In Progress [ 3 ] | Answered [ 10104 ] |
Resolution | Done [ 10000 ] | |
Status | Answered [ 10104 ] | Closed [ 6 ] |
Fix Version/s | 2021 [ 12600 ] |
Transition | Time In Source Status | Execution Times | Last Executer | Last Execution Date | |||||
---|---|---|---|---|---|---|---|---|---|
|
2d 23h 24m | 1 | Miguel Jiménez | 06/May/19 2:30 PM | |||||
|
5s | 1 | Miguel Jiménez | 06/May/19 2:30 PM | |||||
|
12h 35m | 1 | Backlog Manager | 07/May/19 3:06 AM |
2019-05-03 15:06|CREATED monitor | # answers= 0, accepted answer= False