strong-pm http auth 401

时间:2016-05-04 19:36:31

标签: node.js strongloop

我在AWS linux实例上安装了strong-pm:

[root@box]# npm -g install strongloop strong-pm
[root@box]# sl-pm-install --http-auth user:pass --force --upstart 0.6 --set-env NODE_ENV=production
[root@box]# /sbin/initctl reload-configuration
[root@box]# /sbin/initctl restart strong-pm
strong-pm start/running, process 18171

当我尝试检查strong-pm的状态时,我得到了401

[root@box]# slc ctl -C http://user:pass@localhost:8701
(node:18234) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version.
(node:18234) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version.
Command "status" on "http://user:pass@localhost:8701" failed with Error: Error: 401

思考?我已经使用不同的用户/密码组合重新安装了几次(没有特殊字符," admin:foobar"文档中的示例等)并且没有任何作用。

1 个答案:

答案 0 :(得分:1)

完全重新安装修复它。我的工作理论是,包含特殊字符的初始密码不可挽回地破坏了某些东西。