Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[docs] change HTTPS to HTTP in GraphQL API example (#17373)
## Summary & Motivation If I start up the example project locally with `dagster dev` and then try to connect to the GraphQL endpoint with`gql` using the link in the example, I get an `SSL_WRONG_VERSION` error. I also get this error if I use `dagster_graphql.DagsterGraphQLClient` with `use_https=True`. ``` requests.exceptions.SSLError: HTTPSConnectionPool(host='127.0.0.1', port=3000): Max retries exceeded with url: /graphql (Caused by SSLError(SSLError(1, '[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:992)'))) ``` I figured out that the error means I'm trying to connect to something that doesn't use HTTPS. Here's an example of someone explaining the error: psf/requests#5943 (comment) ## How I Tested These Changes If I change the link to instead use HTTP, `gql` successfully connects and queries the endpoint. `dagster_graphql.DagsterGraphQLClient` works as expected if I set `use_https=False`.
- Loading branch information
5831a6a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Deploy preview for dagster-docs ready!
✅ Preview
https://dagster-docs-iebyyw3zf-elementl.vercel.app
https://master.dagster.dagster-docs.io
Built with commit 5831a6a.
This pull request is being automatically deployed with vercel-action