jsiebens / ionscale

A lightweight implementation of a Tailscale control server
https://jsiebens.github.io/ionscale
BSD 3-Clause "New" or "Revised" License
143 stars 9 forks source link

ionscale tailnets list: Error: unauthenticated: invalid token #20

Closed liveej closed 2 months ago

liveej commented 6 months ago
➜  ~ ionscale genkey
833d03421cf4f5e8ef5ba00cd0605bea022ddd10694a0fb1dacb6484afa5953a
➜  ~ ionscale tailnets list --system-admin-key 833d03421cf4f5e8ef5ba00cd0605bea022ddd10694a0fb1dacb6484afa5953a
Error: unauthenticated: invalid token
➜  ~ export IONSCALE_ADMIN_KEY=833d03421cf4f5e8ef5ba00cd0605bea022ddd10694a0fb1dacb6484afa5953a
➜  ~ ionscale tailnets list
Error: unauthenticated: invalid token

and tried write to /etc/default/ionscale, doesn't work.

jsiebens commented 6 months ago

hi @liveej

When using a system admin key with the CLI, you should use the same key as configured for your server. If that is the case, something else is going on and a little bit more information of your setup is needed.

github-actions[bot] commented 2 months ago

This issue is stale because it has been open for 90 days with no activity.

github-actions[bot] commented 2 months ago

This issue was closed because it has been inactive for 14 days since being marked as stale.