-
Notifications
You must be signed in to change notification settings - Fork 10.3k
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
FetchError: request to https://localhost:8000/___graphql failed, reason: unable to verify the first certificate #15441
Comments
This is a known bug related to #15441 you can use "NODE_TLS_REJECT_UNAUTHORIZED=0 gatsby develop --https" as a workaround though until it gets fixed though, so i'm going to close this for now |
Thx for the answer. |
Seems like this is it #14990 |
anyone coming here: if you are running SSL certificates for local development, using mkcert: you might need to run
source: https://github.com/FiloSottile/mkcert#using-the-root-with-nodejs |
Hello,
The first time I run Gatsby with SSL activated, an error occured. So now the error is fixed, when I
run
gatsby develop "-S"
, I got this :FetchError: request to https://localhost:8000/___graphql failed, reason: unable to verify the first certificate
My tought is I haven't setting up my SSL certificate and I don't know how to "reset" it to setting up in a good way.
I tried to clean gatsby's cache and
rm -rf node_modules
, change nothing.Environment
The text was updated successfully, but these errors were encountered: