Open arilwan opened 5 years ago
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:
curl -v http://193.136.xx.xx:1026/version
Hi @aarranz
Thank you for the guide, I understand the issue now. port 1026
externally mapped to 53154
.
Akil$curl -v http://193.136.xx.xx:53154/version
* Trying 193.136.29.17...
* TCP_NODELAY set
* Connected to 193.136.xx.xx (193.136.xx.xx) port 53154 (#0)
> GET /version HTTP/1.1
> Host: 193.136.xx.xx:53154
> User-Agent: curl/7.63.0
> Accept: */*
>
< HTTP/1.1 200 OK
< Connection: Keep-Alive
< Content-Length: 346
< Content-Type: application/json
< Fiware-Correlator: aabead72-717e-11e9-aee4-0242ac160007
< Date: Wed, 08 May 2019 10:47:25 GMT
<
{
"orion" : {
"version" : "2.1.0-next",
"uptime" : "1 d, 18 h, 4 m, 18 s",
"git_hash" : "7ae8c69b97cd875236b952322a6bd503debbd13d",
"compile_time" : "Tue Feb 12 10:51:10 UTC 2019",
"compiled_by" : "root",
"compiled_in" : "4f8128ac7b5b",
"release_date" : "Tue Feb 12 10:51:10 UTC 2019",
"doc" : "https://fiware-orion.rtfd.io/"
}
}
* Connection #0 to host 193.136.xx.xx left intact
@aarranz
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?
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:
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?