0
我開發的OAuth2的NodeJS模塊NPM:https://github.com/lexer/node-oauth2HTTPS的NodeJS爲的oauth2令牌請求(谷歌,Facebook)產生錯誤「插座掛斷」
當我試着進行HTTPS請求,谷歌或Facebook我得到:
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
你可以添加一個例子嗎?什麼是「https.request」? – Luke 2011-06-09 06:15:43