网页里用户授权后跳转,这个时候 node 报错了,报错信息如下:
Error: connect ETIMEDOUT 216.58.220.202:443
at Strategy.OAuth2Strategy._createOAuthError (D:\server\node_modules\passport-oauth2\lib\strategy.js:379:17)
at D:\server\node_modules\passport-oauth2\lib\strategy.js:166:45
at D:\server\node_modules\oauth\lib\oauth2.js:191:18
at ClientRequest.<anonymous> (D:\server\node_modules\oauth\lib\oauth2.js:162:5)
at emitOne (events.js:116:13)
at ClientRequest.emit (events.js:211:7)
at TLSSocket.socketErrorListener (_http_client.js:387:9)
at emitOne (events.js:116:13)
at TLSSocket.emit (events.js:211:7)
at emitErrorNT (internal/streams/destroy.js:64:8)
服务端开了$$R。对于这个报错,去网上没找到相关的资料,不知哪里出问题了,求教各位指导。
1
KomeijiSatori 2019-02-21 08:41:37 +08:00
是不是没给 node 挂代理啊
|
2
fe2018 OP @KomeijiSatori 已经全局开代理了,应该不用单独给 node 挂吧
|