-
Notifications
You must be signed in to change notification settings - Fork 7.3k
HTTPS fails with 'socket hang up' #939
Comments
Have fixed the issue. Instead of http.ClientRequest with secure option "true" im using https.request method that works fine. |
This issue looks like the same as the one I reported here http-party/node-http-proxy#36 |
Getting the same error on 0.6.14, using either https.get, https.request or the request library:
The same code, however, is working when deployed to the production environment on Nodester which is running 0.6.12. |
I confirm this problem (0.8.6). var req = require('https').request({host:'wepay.com', port:443, path:'/', method:'HEAD', agent:false}, function (res) {console.log("done " + res.headers['server']);}); req.end(); It won't return anything (I've tried from 2 different places/connections) But (as many other websites) works correctly I've found several hostnames that have this problem |
@xdmx It's not the same bug but it is a bug. Can you open a new issue? I'm closing this one, the hangup errors have been fixed a long time ago. |
sure, here it is #3865 |
I'm developing nodejs oauth2 npm module: https://github.com/lexer/node-oauth2
When Im trying to make https request to google or facebook i get:
You can reproduce bug in express sample application that i've made:
https://github.com/lexer/node-oauth2/tree/master/examples/express
The text was updated successfully, but these errors were encountered: