DERP packet from unknown key #20

Closed
opened 2025-12-29 01:20:13 +01:00 by adam · 1 comment
Owner

Originally created by @ben-z on GitHub (Aug 14, 2021).

When I try to ping an existing node from a newly joined node, I get the following error message on the existing node:

tailscale_1  | 2021/08/13 23:13:51 magicsock: DERP packet from unknown key: [Te/d2]

The new node also doesn't show up in the existing node's tailscale status. The existing node shows up in the new node's tailscale status though.

Do you know what's causing this and how I should proceed to debugging? I'm using the latest master (5b1b40ce93) for Headscale and v1.12.3 for Tailscale (https://github.com/unicorns/tailscale-docker). Here is my config.json:

{
    "server_url": "<some_url>",
    "listen_addr": "0.0.0.0:8080",
    "private_key_path": "private.key",
    "derp_map_path": "derp.yaml",
    "ephemeral_node_inactivity_timeout": "30m",
    "db_type": "sqlite3",
    "db_path": "db.sqlite",
    "tls_letsencrypt_hostname": "",
    "tls_letsencrypt_listen": ":http",
    "tls_letsencrypt_cache_dir": ".cache",
    "tls_letsencrypt_challenge_type": "HTTP-01",
    "tls_cert_path": "",
    "tls_key_path": "",
    "acl_policy_path": ""
}
Originally created by @ben-z on GitHub (Aug 14, 2021). When I try to ping an existing node from a newly joined node, I get the following error message on the existing node: ``` tailscale_1 | 2021/08/13 23:13:51 magicsock: DERP packet from unknown key: [Te/d2] ``` The new node also doesn't show up in the existing node's `tailscale status`. The existing node shows up in the new node's `tailscale status` though. Do you know what's causing this and how I should proceed to debugging? I'm using the latest master (5b1b40ce93ffb5f2540449e94562cb9dc98e3267) for Headscale and v1.12.3 for Tailscale (https://github.com/unicorns/tailscale-docker). Here is my `config.json`: ```json { "server_url": "<some_url>", "listen_addr": "0.0.0.0:8080", "private_key_path": "private.key", "derp_map_path": "derp.yaml", "ephemeral_node_inactivity_timeout": "30m", "db_type": "sqlite3", "db_path": "db.sqlite", "tls_letsencrypt_hostname": "", "tls_letsencrypt_listen": ":http", "tls_letsencrypt_cache_dir": ".cache", "tls_letsencrypt_challenge_type": "HTTP-01", "tls_cert_path": "", "tls_key_path": "", "acl_policy_path": "" } ```
adam closed this issue 2025-12-29 01:20:13 +01:00
Author
Owner

@ben-z commented on GitHub (Aug 14, 2021):

Oh no I can't reproduce this anymore after wiping everything and restarting from scratch. I will close this for now

@ben-z commented on GitHub (Aug 14, 2021): Oh no I can't reproduce this anymore after wiping everything and restarting from scratch. I will close this for now
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/headscale#20