Nodejs https对oauth2令牌的请求(谷歌,facebook)产生错误“套接字挂断”
||
我正在开发nodejs oauth2 npm模块:https://github.com/lexer/node-oauth2
当我试图向Google或Facebook发出https请求时,我得到:
node.js:134
throw e; // process.nextTick error, or \'error\' event on first tick
^
Error: socket hang up
at Socket.<anonymous> (http.js:1272:45)
at Socket.emit (events.js:64:17)
at Array.<anonymous> (net.js:825:12)
at EventEmitter._tickCallback (node.js:126:26)
您可以在我制作的快速示例应用程序中重现错误:
https://github.com/lexer/node-oauth2/tree/master/examples/express
没有找到相关结果
已邀请:
1 个回复
玖料萄