You will get such error message when you request HTTPS resource via wrong port, such as 80. So please make sure you specified right port, 443, in the Request options.
More Related Contents:
- Unable to verify leaf signature
- Removing nested promises
- How to create an HTTPS server in Node.js?
- Getting binary content in Node.js using request
- How can I chain these functions together with promises?
- Configuring HTTPS for Express and Nginx
- nodejs – error self signed certificate in certificate chain
- How to maintain a request session in NodeJS
- How can I make this call to request in nodejs synchronous?
- How to get data out of a Node.js http get request
- Node.js request CERT_HAS_EXPIRED
- How to fix ‘$(…).click is not a function’ in Node/Cheerio
- Execute a command line binary with Node.js
- Nodejs Event Loop
- garbage collection with node.js
- SyntaxError: Unexpected token function – Async Await Nodejs
- How to use optional chaining in Node.js 12
- How can I ‘require’ CommonJS modules in the browser? [closed]
- How can I write a test which expects an ‘Error’ to be thrown in Jasmine?
- How do sessions work in Express.js with Node.js?
- Why is process.env.NODE_ENV undefined?
- After installation of Gulp: “no command ‘gulp’ found”
- Why is an _id with ObjectID added to when using MongoDB’s $push to add new object to an array?
- puppeteer: wait N seconds before continuing to the next line
- Mongoose.js: Find user by username LIKE value
- Secure random token in Node.js
- How do I stream response in express?
- Creating a private chat between a key using a node.js and socket.io
- Can’t install any NPM package, error 4058
- NodeJS – setTimeout(fn,0) vs setImmediate(fn)