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:
In case website uses ECDH curve, for me the issue resolved only by adding this option:
ECDH
request({ url, agentOptions: { ecdhCurve: 'P-521:P-384:P-256', },(err,res,body) => {
JFYI, May be this will help someone.