strong-pm http auth 401

strong-pm http auth 401

我已经在 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

想法?我已经用不同的 user/pass 组合(没有特殊字符,文档中的 "admin:foobar" 示例等)重新安装了几次,但没有任何效果。

完全重新安装修复了它。我的工作理论是包含特殊字符的初始密码不可撤销地弄乱了一些东西。