#Error unable to verify the first certificate
27 messages · Page 1 of 1 (latest)
Are you using any proxy? Is that a school or work network?
No proxy, vpn or anything
No firewall problems
Discord token is valid
Its also not Anti-virus
I already tried npm packages, google/stack-overflow and #djs-help-v14 i saw that many people have the same problem and theres no working fix
Well this fixes the error:
process.env.NODE_TLS_REJECT_UNAUTHORIZED = '0';
But its very unsecure from what i've looked up so i don't wane risk it
Yeah that's not how that's supposed to work, no
Or your root certificate store. What OS are you running on?
Ubuntu 20.04.2 LTS (Focal Fossa)
apt upgrade and check if the issue persists
Using nix
On a repl container
The wierd thing is
The bot worked great with no problems for the last 2 weeks
I reinstalled the nix env and now its fixed
Ok its fixed now thanks for you help
@balmy inlet
@hasty nebula
I'l close this post
Well it was a node.js http issue but just reinstaling nodejs fixes it
And yeah djs uses http so thats why the login Error: unable to verify the first certificate
So to fix it just reinstall node.js
🤔