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

FIWARE.Request.Tech.Security.PEP-Proxy.How to configure the Fiware PEP WILMA proxy to use a Keyrock and Orion instance on my own servers

    Details

      Description

      Created question in FIWARE Q/A platform on 14-04-2015 at 15:04
      Please, ANSWER this question AT http://stackoverflow.com/questions/29628531/how-to-configure-the-fiware-pep-wilma-proxy-to-use-a-keyrock-and-orion-instance

      Question:
      How to configure the Fiware PEP WILMA proxy to use a Keyrock and Orion instance on my own servers

      Description:
      I've spent most of the day trying to configure the Fiware PEP proxy Wilma to secure an Orion Context Broker i have running on a development server. The documentation here: http://forge.fiware.org/plugins/mediawiki/wiki/fiware/index.php/PEP_Proxy_-Wilma-_Installation_and_Administration_Guide is not clear.

      Here is my setup:

      A Fiware Keyrock instance running on server1, port 3000
      A PEP Proxy running on server 1
      An Orion Context Broker running on server2, port 1026

      The manual states to edit the config.js script. Here is what i changed (Stackoverflow prevents me from entering url's so replace http.. with http

      config.account_host = 'http..//localhost:3000';

      config.keystone_host = 'http..//server1';
      config.keystone_port = 3000;

      config.app_host = 'server2';
      config.app_port = '1026';

      config.username = '***** username of the user in Keyrock *****';
      config.password = '***** password of the user in Keyrock *****';

      Here is the error

      ~/fi-ware-pep-proxy$ node server.js
      express deprecated app.configure:
      Check app.get('env') in an if statement server.js:30:5 Starting PEP proxy. Keystone authentication ... Error in keystone communication
      Error: getaddrinfo ENOTFOUND
      at errnoException (dns.js:37:11)
      at Object.onanswer [as oncomplete] (dns.js:124:16)

      My Orion and Keyrock instances are up and running. I can query them with curl or a browser.

      I really have no idea what i should be filling in the config.js to get this set up.

        Activity

        Hide
        backlogmanager Backlog Manager added a comment -

        2015-10-22 09:05|CREATED monitor | # answers= 4, accepted answer= True

        Show
        backlogmanager Backlog Manager added a comment - 2015-10-22 09:05|CREATED monitor | # answers= 4, accepted answer= True
        Hide
        backlogmanager Backlog Manager added a comment -

        2015-10-22 12:05|UPDATED status: transition Answer| # answers= 4, accepted answer= True

        Show
        backlogmanager Backlog Manager added a comment - 2015-10-22 12:05|UPDATED status: transition Answer| # answers= 4, accepted answer= True
        Hide
        backlogmanager Backlog Manager added a comment -

        2015-10-22 15:05|UPDATED status: transition Answered| # answers= 4, accepted answer= True

        Show
        backlogmanager Backlog Manager added a comment - 2015-10-22 15:05|UPDATED status: transition Answered| # answers= 4, accepted answer= True

          People

          • Assignee:
            aalonsog Alvaro Alonso
            Reporter:
            backlogmanager Backlog Manager
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: