1

我尝试设置此应用程序

我完全按照“安装”部分中的程序进行操作。

但是,当我启动服务器(nodejs)时,出现此错误:

Angular App Server - listening on port: 3000
Angular App Server - listening on secure port: 8433
Unauthenticated
127.0.0.1 - - [Sun, 08 Sep 2013 10:18:12 GMT] "GET / HTTP/1.1" 200 739 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_4) AppleWebKit/536.30.1 (KHTML, like Gecko) Version/6.0.5 Safari/536.30.1"
Unauthenticated
Unauthenticated
127.0.0.1 - - [Sun, 08 Sep 2013 10:18:12 GMT] "GET /current-user HTTP/1.1" 200 24 "http://localhost:3000/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_4) AppleWebKit/536.30.1 (KHTML, like Gecko) Version/6.0.5 Safari/536.30.1"

events.js:72
        throw er; // Unhandled 'error' event
              ^
Error: SELF_SIGNED_CERT_IN_CHAIN
    at SecurePair.<anonymous> (tls.js:1350:32)
    at SecurePair.EventEmitter.emit (events.js:92:17)
    at SecurePair.maybeInitFinished (tls.js:963:10)
    at CleartextStream.read [as _read] (tls.js:463:15)
    at CleartextStream.Readable.read (_stream_readable.js:320:10)
    at EncryptedStream.write [as _write] (tls.js:366:25)
    at doWrite (_stream_writable.js:219:10)
    at writeOrBuffer (_stream_writable.js:209:5)
    at EncryptedStream.Writable.write (_stream_writable.js:180:11)
    at write (_stream_readable.js:573:24)

为什么会出现这个问题?我该如何解决?

也许自述文件缺少一些配置步骤......

有人可以测试程序并评论整个过程是否适合他,这意味着在启动 Nodejs 服务器后日志中没有任何错误?设置它大约需要 5 分钟。

4

1 回答 1

0

只需关闭我的防病毒软件,整个工作就可以了 :)

必须对其进行参数化以批准某些证书。

于 2013-09-16T19:54:12.910 回答