New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
unable to verify the first certificate #10221
Comments
Well, in no particular order:
If you have some repro steps, feel free to follow up and we'll reopen this issue. As it stands tho, this is not a djs issue 👀 |
discord.js@13.8.1 |
This goes beyond discord.js, it seems that whatever network config you're using is having HTTPS issues. Try going to |
https://discord.com/api/v10/gateway Raspuns: X-Firefox-Early-Data: accepted Raspuns: X-Firefox-Spdy: h2 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,/;q=0.8 Par ca functioneaza ambele linkuri ! |
so, no solution ?!?! |
I've been told that a recent update to ESET antivirus software has been causing this issue for some people. Otherwise, this issue has nothing to do with discord.js, as it's caused by external factors out of our control. |
Which package is this bug report for?
discord.js
Issue description
working until today when i receive the next error:
Unhandled Rejection at: FetchError: request to https://discord.com/api/v7/gateway/bot failed, reason: unable to verify the first certificate
same error i receive when i try to reinstall discord.js
npm ERR! code UNABLE_TO_VERIFY_LEAF_SIGNATURE
npm ERR! errno UNABLE_TO_VERIFY_LEAF_SIGNATURE
npm ERR! request to https://registry.npmjs.org/@discordjs%2frest failed, reason: unable to verify the first certificate
Code sample
No response
Versions
discord.js@12.5.3
node v20.12.2
Issue priority
Low (slightly annoying)
Which partials do you have configured?
Not applicable
Which gateway intents are you subscribing to?
Not applicable
I have tested this issue on a development release
No response
The text was updated successfully, but these errors were encountered: