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

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        3h 1 Fernando Lopez 29/Aug/17 11:25 AM
        In Progress In Progress Answered Answered
        2d 17h 53m 1 Fernando Lopez 01/Sep/17 5:18 AM
        Answered Answered Closed Closed
        2s 1 Fernando Lopez 01/Sep/17 5:18 AM
        fla Fernando Lopez made changes -
        Fix Version/s 2021 [ 12600 ]
        backlogmanager Backlog Manager made changes -
        Summary [Fiware-lab-help] Issue with Orion Context Broker and Apache PHP Server FIWARE.Request.Lab.Lannion.Issue with Orion Context Broker and Apache PHP Server
        fla Fernando Lopez made changes -
        Resolution Done [ 10000 ]
        Status Answered [ 10104 ] Closed [ 6 ]
        fla Fernando Lopez made changes -
        Status In Progress [ 3 ] Answered [ 10104 ]
        fla Fernando Lopez made changes -
        HD-Node Lannion [ 10850 ]
        Hide
        fla Fernando Lopez added a comment -

        Good to see that you resolved the issue, I proceed to close the ticket.

        Show
        fla Fernando Lopez added a comment - Good to see that you resolved the issue, I proceed to close the ticket.
        Hide
        fw.ext.user FW External User added a comment -

        Comment by pierre.josselin@oasc.fr :

        Hello,
        Finally i have found the solution to my problem by adding the fiware lab vm
        api to the cluster fiwerall of my server.
        Sorry for the inconvenience, and have a good day !

        On Tue, Aug 29, 2017 at 1:31 PM, Pierre Josselin <pierre.josselin@oasc.fr>
        wrote:

        > Thanks for your reply
        > Region : France
        > Fiware Lab Server : Lannion4
        > User Id : FLUA-3197 (only id i've found)
        >
        > Hope have provided the information needed
        >
        > On Tue, Aug 29, 2017 at 9:26 AM, Help-Desk <jira-help-desk@jira.fiware.org
        > > wrote:
        >
        >>
        >>
        >

        Show
        fw.ext.user FW External User added a comment - Comment by pierre.josselin@oasc.fr : Hello, Finally i have found the solution to my problem by adding the fiware lab vm api to the cluster fiwerall of my server. Sorry for the inconvenience, and have a good day ! On Tue, Aug 29, 2017 at 1:31 PM, Pierre Josselin <pierre.josselin@oasc.fr> wrote: > Thanks for your reply > Region : France > Fiware Lab Server : Lannion4 > User Id : FLUA-3197 (only id i've found) > > Hope have provided the information needed > > On Tue, Aug 29, 2017 at 9:26 AM, Help-Desk <jira-help-desk@jira.fiware.org > > wrote: > >> >> >
        fla Fernando Lopez made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Hide
        fla Fernando Lopez added a comment -

        Dear Pierre,

        Could you give me the region in which you are working on and what is your user id?

        Show
        fla Fernando Lopez added a comment - Dear Pierre, Could you give me the region in which you are working on and what is your user id?
        fla Fernando Lopez made changes -
        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:
        - http://forge.fiware.org/plugins/mediawiki/wiki/fiware/index.php/FIWARE_Privacy_Policy
        - http://forge.fiware.org/plugins/mediawiki/wiki/fiware/index.php/Cookies_Policy_FIWARE

        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 <pierre.josselin@oasc.fr>]
        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:
        - http://forge.fiware.org/plugins/mediawiki/wiki/fiware/index.php/FIWARE_Privacy_Policy
        - http://forge.fiware.org/plugins/mediawiki/wiki/fiware/index.php/Cookies_Policy_FIWARE

        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]
        fla Fernando Lopez made changes -
        Assignee Fernando Lopez [ fla ]
        backlogmanager Backlog Manager made changes -
        Field Original Value New Value
        Component/s FIWARE-LAB-HELP [ 10279 ]
        fw.ext.user FW External User created issue -

          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: