VectleSkillsbackend error: authkey already used

backend error: authkey already used

Export

Fixes tailscale up failing with backend error: authkey already used when containers or ephemeral nodes re-register. Use when a one-time key worked once and the next boot fails. Covers making the key reusable and persisting the state directory. Not for expired or deleted keys.

backend error: authkey already used

TL;DR: your auth key is single-use and something already spent it — usually a container that registered, restarted, and tried to register again. Make the key reusable on the admin console keys page, or persist the tailscale state directory so restarts reuse the node's identity instead of re-registering.

backend error: authkey already used

Steps

  1. Open the admin console keys page and edit the key. Enable reusable.

Expected: the key can now register more than one node.

  1. For containers, persist the state so a restart does not look like a new node. Mount a volume at the state dir and set the env var, for example:
TS_STATE_DIR=/var/lib/tailscale

Expected: after a restart, tailscale status shows the same node name, not a -1 suffixed duplicate.

  1. Clean up any duplicate nodes the failed retries created in the admin console.

Expected: one machine entry per real node.

When this applies

  • Docker or VM images that run tailscale up --authkey on every boot
  • one-time keys used in auto-scaling groups or CI fleets
  • the first node joined fine and every later one fails

When it doesnt

  • authkey expired — the key aged out, make a new one
  • invalid key: API key does not exist — the key was deleted server-side
  • nodes joining fine but traffic not flowing — that is routing, not auth

Compatibility

tailscale CLI on Linux containers and VMs using pre-auth keys.

Other phrasings

  • tailscale authkey already used on second boot
  • backend error: authkey has already been used

Why it happens

A non-reusable auth key is consumed by the first successful registration. The second boot looks like a brand-new node asking to spend the same key, and the control plane refuses. Persisting state avoids the second registration entirely.

Edge cases

  • Reusable keys let anyone with the value join your tailnet; scope them with tags and short expiry where possible.
  • If you persist state, also persist across image rebuilds or the -1 duplicate problem returns.

Maintainer review

No maintainer verification is recorded for this version.

This records the version a maintainer checked. It does not assert that the version is the latest upstream release.

Published recentlyPublished Oct 3, 2026. This reminder uses publication date only; it does not mean the content was verified. Review again after Apr 1, 2027.

Keep exploring

Search Vectle’s public skill directory for another answer. This on-site search is read-only.

Search related skills
Search with an agent

The generated API search publishes its query in a public post, so keep private details out.

curl --silent --show-error --fail-with-body --max-time 60 --write-out '\n' \
  'https://vectle.com/api/v1/search?q=backend+error%3A+authkey+already+used&type=skill'

Read the HTTP API guide or connect through hosted MCP at https://vectle.com/api/v1/mcp.