[Fiware-lab-help] Issue with Orion Context Broker and Apache PHP Server

Pierre Josselin pierre.josselin at oasc.fr
Tue Aug 29 12:14:35 CEST 2017


Hello,

I come to you today because i have an issue with Orion Context Broker. Here
is my problem :
I have installed, configured and get work Orion Context Broker on
Cloud Fiware Lab but i cant access to Context Broker from any remote Apache
PHP server. However i dont have problem to access from any web browser,
postman, curl etc on my personal computer.

*[work] Context Broker from my computer :*

[{"id":"stade_philippe_roth","type":"station_meteo","battery":{"type":"float","value":0,"metadata":{}},"date":{"type":"string","value":"","metadata":{}},"humidity":{"type":"float","value":0,"metadata":{}},"luminosity":{"type":"integer","value":0,"metadata":{}},"pluviometry":{"type":"float","value":0,"metadata":{}},"pressure":{"type":"integer","value":0,"metadata":{}},"soilhumidity":{"type":"float","value":0,"metadata":{}},"soiltemperature":{"type":"float","value":0,"metadata":{}},"temperature":{"type":"float","value":0,"metadata":{}},"winddirection":{"type":"integer","value":0,"metadata":{}},"windspeed":{"type":"float","value":0,"metadata":{}}}]

*[not work] Context Broker from any apache php server :*

PHP Warning:  file_get_contents(http://195.220.224.92:1026/v2/entities/stade_philippe_roth/attrs):
failed to open stream: Connection refused in
/home/iotmaker/subdomains/gateway.iotmaker.in/index.php on line 99

*Notes :*

- I tried with simple file_get_contents, file_get_contents with stream
context, curl, even fsockopen, any connection with php return
*connexion refused*

- I tried with two Apache PHP servers (france and netherlands), same problem

- I tried with Context Broker on another computer not fiware lab, same problem

*Cloud Fiware Lab details :*

Email : pierre.josselin at oasc.fr

Instance local ip : 192.168.4.142

Instance public ip : 195.220.224.92

Instance name : contextbroker

Open ports : 22-22(TCP) & 1026-1026(TCP) from all
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.fiware.org/private/fiware-lab-help/attachments/20170829/c3dc22f4/attachment.html>


More information about the Fiware-lab-help mailing list

You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy   Cookies policy