Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Received error: control server is too old; no noise key #1932

Open
2 of 4 tasks
sachinshakya507 opened this issue May 9, 2024 · 1 comment
Open
2 of 4 tasks

Received error: control server is too old; no noise key #1932

sachinshakya507 opened this issue May 9, 2024 · 1 comment
Assignees

Comments

@sachinshakya507
Copy link

Is this a support request?

  • This is not a support request

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

I am Experiencing an issue while connecting to my headscale server.
When i try to connect my headscale it stuck with no any authticate message
This is my status log from tailscale

$sudo systemctl status tailscaled.service
: Received error: control server is too old; no noise key
: monitor: RTM_DELROUTE: src=, dst=fe80::/64, gw=, outif=197, table=254
: monitor: RTM_DELROUTE: src=, dst=ff00::/8, gw=, outif=197, table=255: 
[RATELIMIT] format("control: LoginInteractive -> regen=true") (2 dropped)
: control: LoginInteractive -> regen=true
: [RATELIMIT] format("control: doLogin(regen=%v, hasUrl=%v)") (2 dropped)
: control: doLogin(regen=true, hasUrl=false)
: Received error: control server is too old; no noise key

Expected Behavior

Should be able to generate below authentication message.

To authenticate, visit:
https://my_headscale_server:443/register/nodekey:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Steps To Reproduce

What I did on my tailscale server to connect headscale.

sudo tailscale up --login-server http://my_headscale_server --accept-routes

Environment

- Headscale version: v0.12.3
- Tailscale version: 1.64.0

Runtime environment

  • Headscale is behind a (reverse) proxy
  • Headscale runs in a container

Anything else?

I think i should update my headscale version. But can i get any help regarding headscale update without changing my config file or having any issue as its my production server.

@sachinshakya507 sachinshakya507 added the bug Something isn't working label May 9, 2024
@ohdearaugustin
Copy link
Collaborator

I really hope you are not running 0.12.3 still. This version doesn't support the noise protocol. Only an update to 0.22.3 will help.

It just seems like you have no noise key defined on the server.

Received error: control server is too old; no noise key

See this config snipped for 0.22.3:

# The Noise section includes specific configuration for the
# TS2021 Noise protocol
noise:
# The Noise private key is used to encrypt the
# traffic between headscale and Tailscale clients when
# using the new Noise-based protocol. It must be different
# from the legacy private key.
private_key_path: /var/lib/headscale/noise_private.key

This seem no to be a bug.

@ohdearaugustin ohdearaugustin removed the bug Something isn't working label May 18, 2024
@ohdearaugustin ohdearaugustin self-assigned this May 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants