I\'m trying to get a webpage via node https.request(). Doing so results in an error getting logged by my code. Using the node request module has the same result:
We hit the same problem. By default, request uses the https.globalAgent. So we added the code near the top of our script.
var https = require('https');
https.globalAgent.options.secureProtocol = 'SSLv3_method';
All of a sudden everything worked.
In case website uses ECDH
curve, for me the issue resolved only by adding this option:
request({ url, agentOptions: {
ecdhCurve: 'P-521:P-384:P-256',
},(err,res,body) => {
JFYI, May be this will help someone.
Try to use options = { secureProtocol: 'SSLv3_method' }
in the request you are making.