Skip to content

roxctl central login working but subsequent commands throw error #16985

@andreas-aman

Description

@andreas-aman

I've deployed stackrocks in AWS EKS and have exposed it via an ALB.
UI is working but roxctl is giving me issues.

I'm able to login

$ roxctl central login
Please complete the authorization flow in the browser with an auth provider of your choice.
If no browser window opens, please click on the following URL:
        http://127.0.0.1:55738/login

INFO:       Received the following after the authorization flow from Central:
INFO:    Access token: ey...x8A
INFO:    Access token expiration: 2025-09-24 00:26:22 +0000 UTC
INFO:    Successfully persisted the authentication information for central stackrox.url.dev:443.

You can now use the retrieved access token for all other roxctl commands!

In case the access token is expired and cannot be refreshed, you have to run "roxctl central login" again.

but subsequent commands are throwing errors

$ roxctl central whoami
ERROR:   rpc error: code = Unavailable desc = transport: receiving gRPC response from remote endpoint: 464 , content-type

What is going on here?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions