Registering a node with --advertise-tags flag causes table corruption #605

Closed
opened 2025-12-29 02:21:07 +01:00 by adam · 0 comments
Owner

Originally created by @neeythann on GitHub (Dec 27, 2023).

Bug description

When registering a tailscale node with --advertise-tags, the headscale nodes list command would return Cannot get nodes: error reading from server: EOF

Environment

  • Version of headscale used: v0.23.0-alpha2

  • Version of tailscale client: 1.54.1

  • OS: Debian Linux

  • Kernel version: 6.1.0-16-amd64

  • Headscale is behind a (reverse) proxy

  • Headscale runs in a container

To Reproduce

on a clean headscale environment:

  • headscale users create user
  • headscale pre create -u user

on the tailscale node:

  • sudo tailscale up --login-server=https://headscaleserver.tld --key pasteyourpreauthkeyhere --advertise-tags=tag:test
    note that this command will never complete as the nodes table is corrupted
Originally created by @neeythann on GitHub (Dec 27, 2023). ## Bug description When registering a tailscale node with `--advertise-tags`, the `headscale nodes list` command would return `Cannot get nodes: error reading from server: EOF` ## Environment - Version of headscale used: v0.23.0-alpha2 - Version of tailscale client: 1.54.1 - OS: Debian Linux - Kernel version: 6.1.0-16-amd64 - [ ] Headscale is behind a (reverse) proxy - [ ] Headscale runs in a container ## To Reproduce on a clean headscale environment: - `headscale users create user` - `headscale pre create -u user` on the tailscale node: - `sudo tailscale up --login-server=https://headscaleserver.tld --key pasteyourpreauthkeyhere --advertise-tags=tag:test` note that this command will never complete as the nodes table is corrupted
adam added the bug label 2025-12-29 02:21:07 +01:00
adam closed this issue 2025-12-29 02:21:07 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/headscale#605