Uploaded image for project: 'Help-Desk'
  1. Help-Desk
  2. HELP-12658

FIWARE.Request.Lab.Lannion.Issue with Orion Context Broker and Apache PHP Server

    Details

    • Type: extRequest
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Fix Version/s: 2021
    • Component/s: FIWARE-LAB-HELP
    • Labels:
      None

      Description

      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@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

      __________________________________________________________________________________________

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

      Fiware-lab-help mailing list
      Fiware-lab-help@lists.fiware.org
      https://lists.fiware.org/listinfo/fiware-lab-help

      [Created via e-mail received from: Pierre Josselin]

        Activity

          People

          • Assignee:
            fla Fernando Lopez
            Reporter:
            fw.ext.user FW External User
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: