-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
DNS Error when resolving subgraph Url on subgraph introspect (error[E028]) #1580
Comments
For now, I'm just using curl --location 'https://k8s-dev.cistec.com/com/patient/graphql' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{"query":"\nquery SDL {\n _service {\n sdl\n }\n}","variables":{},"operationName":"SDL"}'\
| jq -r '.data._service.sdl' > subgraph.graphql |
|
Hey mate, any fix for this? |
I know there was something about header option not being supported for certain rover cli commands, but that was for |
Just as a note to point out from the original issue, it appears two things are true:
|
EDIT: OK, it's working properly in version |
Description
I wanted to make an instrospection on one of our subgraphs.
rover subgraph introspect https://k8s-dev.cistec.com/com/patient/graphql --header "Authorization: Bearer <token>"
but instead I am getting
Something seems to not work with the host resolution. The hostname is resolvable in our company network. A curl / ping to it works perfectly fine.
Thought maybe its SSL related, found #837, but the new
insecure
options didn't help.Also I executed the exact same command just about 10 minutes earlier, before upgrading rover cli and it worked. (Previous version was v0.8.1)
Steps to reproduce
Clear steps describing how to reproduce the issue. Please link to a reproduction if you can. This makes your issue much easier to diagnose.
Expected result
Expected introspection response with schema.
Actual result
Environment
Run
rover info
and paste the results hereThe text was updated successfully, but these errors were encountered: