Skip to content

i am trying to publish my subgraph via rover. But getting some invalid header value error #2599

@sunrays3107

Description

@sunrays3107

i am trying to publish my subgraph via rover. But getting some invalid header value error. I even did the rover config auth and gave the correct key and it worked but the command rover config whoami doesnt work.

PS C:\Users\rohit\Desktop\Sunrays\server> rover config auth
Go to https://go.apollo.dev/r/auth and create a new Personal API Key.
Copy the key and paste it into the prompt below.

Successfully saved API key. Consider running rover config whoami to verify your API authentication.
PS C:\Users\rohit\Desktop\Sunrays\server>
PS C:\Users\rohit\Desktop\Sunrays\server>
PS C:\Users\rohit\Desktop\Sunrays\server>
PS C:\Users\rohit\Desktop\Sunrays\server> rover config whoami
Checking identity of your API key against the registry.
error: Service failed to become ready

and the rover publish command does not work either:

PS C:\Users\rohit\Desktop\Sunrays\server> rover subgraph publish inventorysg@current --name inventorysg --schema ./schema.graphql --routing-url http://localhost:4000/graphql
The host localhost is not routable via the public internet. Continuing the publish will make this subgraph reachable in local environments only. Would you still like to publish? [y/N] y
Publishing SDL to inventorysg@current (subgraph: inventorysg) using credentials from the default profile.
error[E003]: Invalid header value

Caused by:
failed to parse header value
This error was unexpected! Please submit an issue with any relevant details about what you were trying to do: https://github.com/apollographql/rover/issues/new/choose

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug 🐞triageissues and PRs that need to be triaged

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions