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?
2019-05-03 15:06|CREATED monitor | # answers= 0, accepted answer= False