强-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
当我试图检查强下午的状态时,我得到了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”示例等),没有任何作用。
完全重新安装它。 我的工作理论是,一个包含特殊字符的初始密码不可避免地破坏了某些东西。