You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Wirecloud Mashup: Error creating subscription in the context broker server: Connection Error #31
I am creating a wirecloud mashup using my own deployed Orion CB instance. On the wiring, I added an NGSI Source and an NGSI Entity to PoI.
In the NGSI Source settings I added the following configurations:
NGSI Source: http://193.136.xx.xx:1026/
NGSI Entity to PoI: https://ngsiproxy.lab.fiware.org
Use the FIWARE credentials of the user: Unchecked
Use the FIWARE credentials of the workspace owner: Unchecked
FIWARE-Service: environment
FIWARE-ServicePath: /basic
NGSI entity types: WeatherObserved, AirQualityObserved, NoiseLevelObserved
Id pattern: Empty
Monitored NGSI Attributes: location, temperature, relativeHumidity, illuminance, name, measurand, sonometerClass, particles, O3
NB: my orion CB in hosted on server IP 193.136.xx.xx Fiware-service, servicepath, entities and attributes are all defined and available with the Orion CB.
However, I keep receiving the following error in the NGSI Source logs. a few seconds ago Error creating subscription in the context broker server: Connection Error
What is the problem here?
This means that ngsi-source cannot stablish a connection to http://193.136.xx.xx:1026/. Currently, this connection is stablished using WireCloud as proxy. So it seems that the connection cannot be stablished from the WireCloud container, you can check this by using the following command on the WireCloud container:
But the error still emerge after changing port in the NGSI source operator: Error creating subscription in the context broker server: Connection Error
Noticed also that while I can execute curl http://193.136.xx.xx:53154/version via the terminal, this doesn't work via Postmann. Could this be permission error?
Activity
aarranz commentedon May 8, 2019
This means that ngsi-source cannot stablish a connection to
http://193.136.xx.xx:1026/. Currently, this connection is stablished using WireCloud as proxy. So it seems that the connection cannot be stablished from the WireCloud container, you can check this by using the following command on the WireCloud container:arilwan commentedon May 8, 2019
Hi @aarranz
Thank you for the guide, I understand the issue now.
port 1026externally mapped to53154.arilwan commentedon May 8, 2019
@aarranz
But the error still emerge after changing port in the NGSI source operator:
Error creating subscription in the context broker server: Connection ErrorNoticed also that while I can execute
curl http://193.136.xx.xx:53154/versionvia the terminal, this doesn't work via Postmann. Could this be permission error?