client-javascript icon indicating copy to clipboard operation
client-javascript copied to clipboard

[Help wanted]: Getting error : unable to verify the first certificate

Open paritporeddiwar opened this issue 4 years ago • 3 comments

Hi Guys,

We are using Axios library and code is in Node JS. When we hit this endpoint, https://ta-reporting.bt.siemens.com/api/v1/HORIZON/launch/import we are getting following error (node:50) UnhandledPromiseRejectionWarning: Error: unable to verify the first certificate

UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 6) (node:50) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Till yesterday it was working fine.

paritporeddiwar avatar Nov 09 '21 06:11 paritporeddiwar

Hello @paritporeddiwar ! Does this problem still exist? Seems that the problem associated with self-signed certificates. You can find the details and possible solutions in this issue.

AmsterGet avatar Feb 21 '22 18:02 AmsterGet

Hello @paritporeddiwar ! Is this issue still actual for you?

AmsterGet avatar Feb 24 '23 13:02 AmsterGet

Hello @paritporeddiwar ! Is this issue still actual?

AmsterGet avatar Jul 31 '24 16:07 AmsterGet