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

FIWARE.Request.Tech.Data.OrionContextBroker.FIWARE Lab Assistance

    Details

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

      Description

      Hi,

      I've installed an orion context broker instance (listening on the
      default port 1026) on vm named centos_aal I created. I've opened the
      port on security group and assigned a pulic ip to this machine but I
      cannot interact with orion context broker remotely from my pc (locally
      when I'm connected via ssh to the fiware vm it works fine on localhost).
      This is the command I tried:

      curl 130.206.124.14:1026/v1/contextEntities -s -S --header
      'Content-Type: application/json' --header 'Accept: application/json'

      python -mjson.tool

      and the response:

      curl: (7) Failed to connect to 130.206.124.14 port 1026: No route to host
      No JSON object could be decoded

      I tried to make a query to the global instance on 130.206.80.40:1026

      curl 130.206.80.40:1026/v1/contextEntities -s -S --header 'Content-Type:
      application/json' --header 'Accept: application/json' | python
      -mjson.tool

      and it works fine. So I suppose I've configured something wrong on my
      virtual machine. Could you give my any hint ?

      Thank you very much for you support,

      Stefano Chiesa
      Since January 1st, old domains won't be supported and messages sent to any domain different to @lists.fiware.org will be lost.
      Please, send your messages using the new domain (Fiware-lab-help@lists.fiware.org) instead of the old one.
      _______________________________________________
      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: Stefano Chiesa <stefano.chiesa84@gmail.com>]

        Activity

        Hide
        alfopietro Pietropaolo Alfonso added a comment -

        Dear user,
        we are examining your issue, in the meantime and for any hint, please see q/a platform for Orion GE:
        http://stackoverflow.com/questions/tagged/fiware-orion

        Show
        alfopietro Pietropaolo Alfonso added a comment - Dear user, we are examining your issue, in the meantime and for any hint, please see q/a platform for Orion GE: http://stackoverflow.com/questions/tagged/fiware-orion
        Hide
        alfopietro Pietropaolo Alfonso added a comment -

        Hi Fermin,
        could you verify if you can help this user?
        Thanks,
        Alfonso

        Show
        alfopietro Pietropaolo Alfonso added a comment - Hi Fermin, could you verify if you can help this user? Thanks, Alfonso
        Hide
        fermin Fermín Galán added a comment -

        Dear Stefano,

        What about local interaction (i.e. running the curl command agains "localhost" inside the VM were Orion is running?

        Anyway, it seems to be some kind of connectivity problema. Please have a look to the following Q&A for a summary of the typical causes of this problem: http://stackoverflow.com/questions/29254295/connecting-orion-context-broker-from-another-machine/29258908#29258908 (don't forget vote up the question and answer if you find useful to increase their visibility for other users, please).

        Best regards,

        ------
        Fermín

        Show
        fermin Fermín Galán added a comment - Dear Stefano, What about local interaction (i.e. running the curl command agains "localhost" inside the VM were Orion is running? Anyway, it seems to be some kind of connectivity problema. Please have a look to the following Q&A for a summary of the typical causes of this problem: http://stackoverflow.com/questions/29254295/connecting-orion-context-broker-from-another-machine/29258908#29258908 (don't forget vote up the question and answer if you find useful to increase their visibility for other users, please). Best regards, ------ Fermín
        Hide
        fw.ext.user FW External User added a comment -

        Local interaction on the localhost was ok. I looked to the Q&A you
        suggested and I found the solution. The problem was the firewall
        configuration on the VM. Disabling it it works !!

        Thank you very much !!

        Show
        fw.ext.user FW External User added a comment - Local interaction on the localhost was ok. I looked to the Q&A you suggested and I found the solution. The problem was the firewall configuration on the VM. Disabling it it works !! Thank you very much !!

          People

          • Assignee:
            fermin Fermín Galán
            Reporter:
            fw.ext.user FW External User
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: