Error: unable to verify the first certificate

I have this error on all my discord bots and http requests i’ve already tried: googling, NPM, Github, Etc and i can’t get a working fix it seems to be a problem on existing repls, I can’t recreate it on new repls but all my existing repls have the same problem.

Its not a problem with discord.js but i is happening to all my discord bots

From what i’ve seen its a node.js http error.

Error: Error: unable to verify the first certificate
Stack:

Error: unable to verify the first certificate
    at TLSSocket.onConnectSecure (node:_tls_wrap:1532:34)
    at TLSSocket.emit (node:events:527:28)
    at TLSSocket.emit (node:domain:475:12)
    at TLSSocket._finishInit (node:_tls_wrap:946:8)

Hi @Sectly1, if you could send the URL of a Repl that’s experiencing this problem, we would stand a greater chance of working out the issue :slight_smile: