cosmo icon indicating copy to clipboard operation
cosmo copied to clipboard

wgc grpc-service create fails with 'not authenticated'

Open Sarmaad opened this issue 5 months ago • 2 comments

Component(s)

cli

Component version

0.93.0

wgc version

0.93.0

controlplane version

cloud

router version

n/a

What happened?

I am trying to create a subgraph for grpc-service.

this is the command line: wgc grpc-service create --routing-url dns://localhost:4011 'name'

I get the following error: ✖ Failed to create grpc subgraph. Not authenticated

the cli tool is authenticated properly, as I can create other type of subgraphs, list and delete without any issues.

i also tried the publish flag with the same results.

Environment information

Router configuration


Router execution config


Log output


Additional context

No response

Sarmaad avatar Sep 15 '25 03:09 Sarmaad

WunderGraph commits fully to Open Source and we want to make sure that we can help you as fast as possible. The roadmap is driven by our customers and we have to prioritize issues that are important to them. You can influence the priority by becoming a customer. Please contact us here.

github-actions[bot] avatar Sep 15 '25 03:09 github-actions[bot]

Hi @Sarmaad Thanks for reporting. We will take a look

Noroth avatar Sep 23 '25 09:09 Noroth

I suspect you're having the same problem I had when only using the wgc auth login to authenticate with the CLI. However, you also need to set a COSMO_API_KEY in your terminal using the command export COSMO_API_KEY=cosmo_XXXX. You can generate the API key in the Cosmo Router dashboard. @Noroth, this behaviour of the CLI is a bit confusing.

danielgrath avatar Dec 09 '25 14:12 danielgrath