流星1.8.1 SSL双重连接

问题描述 投票:1回答:1

我有一个本地主机服务器(Windows 10 Pro x64 build 1903),在将其推送到生产环境(Galaxy)之前已用于开发。为了通过Facebook或Google进行身份验证,它需要具有HTTPS。我使用Force-HTTPS通过端口443安装了Nourharidy Meteor SSL。启动Meteor后,它将引发此错误:

W20191112-15:12:29.358(2)? (STDERR)
C:\Users\User\AppData\Local\.meteor\packages\nourharidy_ssl\0.2.2\npm\node_modules\http-proxy\lib\http-proxy\index.js:119
W20191112-15:12:30.711(2)? (STDERR)     throw err;
W20191112-15:12:30.718(2)? (STDERR)     ^
W20191112-15:12:30.719(2)? (STDERR) 
W20191112-15:12:30.721(2)? (STDERR) Error: socket hang up
W20191112-15:12:30.765(2)? (STDERR)     at createHangUpError (_http_client.js:342:15)
W20191112-15:12:30.767(2)? (STDERR)     at Socket.socketCloseListener (_http_client.js:377:23)
W20191112-15:12:30.768(2)? (STDERR)     at emitOne (events.js:121:20)
W20191112-15:12:30.773(2)? (STDERR)     at Socket.emit (events.js:211:7)
W20191112-15:12:30.797(2)? (STDERR)     at TCP._handle.close [as _onclose] (net.js:561:12)

[当我检查Netstat时,它表明NodeJS正在使用IPv4和IPv6。我想知道那是什么原因吗?

第一次后,它停止并重新编译,然后通过。我认为该问题与NodeJS 8.12有关,但我查看了GitHub,它似乎已在NodeJS 10中修复,如下所示:https://github.com/nodejs/node/pull/29715。在Meteor站起来之前,我该如何解决?

javascript node.js ssl meteor meteor-accounts
1个回答
0
投票

已更新至Meteor 1.8.3,问题已消失。

© www.soinside.com 2019 - 2024. All rights reserved.