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

        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?
        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: > >> >> >
        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.

          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: