-
Notifications
You must be signed in to change notification settings - Fork 470
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
ERR_INVALID_PROTOCOL when using --skipSSLValidation #928
Comments
I am also getting this with the VSCode extension.
|
Same issue here. Instead of using the NODE_TLS_REJECT_UNAUTHORIZED=0 apollo service:download --endpoint <url> Tested with Node.js v10.3.0. More info and kudos to this stackoverflow answer. |
How would one set |
Any updates on this? |
Closed via #1461 |
set NODE_TLS_REJECT_UNAUTHORIZED=0 |
I have a self-signed cert and am trying to download the schema, but I get
› apollo service:download --skipSSLValidation --endpoint=https://localhost/graphql/
✔ Loading Apollo Project
✖ Saving schema to schema.json
TypeError [ERR_INVALID_PROTOCOL]: Protocol "https:" not supported. Expected "http:"
The text was updated successfully, but these errors were encountered: