【发布时间】:2015-08-19 10:04:44
【问题描述】:
我有一个关于 PEP 代理文件的问题。 我的 keystone 服务在 192.168.4.33:5000 上运行。 我的 Horizon 服务在 192.168.4.33:443 上运行。
我的 WebHDFS 服务正在 192.168.4.180:50070 上运行 我打算在 192.168.4.180:80 上运行 PEP 代理
但我不明白我应该用什么来代替 config.account_host? 在 keyrock 管理器的 mysql 数据库中,有一个带有“idm”密码的“idm”用户,我通过身份管理器上的 curl 发出的每个请求都有效。
但是有了这个配置:
config.account_host = 'https://192.168.4.33:443';
config.keystone_host = '192.168.4.33';
config.keystone_port = 5000;
config.app_host = '192.168.4.180';
config.app_port = '50070';
config.username = 'idm';
config.password = 'idm';
当我启动 pep-proxy 时:
sudo node server.js
我得到下一个错误:
Starting PEP proxy in port 80. Keystone authentication ...
Error in keystone communication {"error": {"message": "The request you
have made requires authentication.", "code": 401, "title":
"Unauthorized"}}
【问题讨论】:
标签: fiware fiware-cosmos