[Bug]Unable to enable advertise-routes #953

Closed
opened 2025-12-29 02:26:39 +01:00 by adam · 2 comments
Owner

Originally created by @cleverhu on GitHub (Feb 23, 2025).

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

When starting, was I have added and the login server parameter and advertisement routes, and joined successfully. But the route is not found in the routing list of headscale.

 ⚡  日 23 2月 - 23:35  /tmp 
 root@qunhui-tailscale  tailscale version
1.80.2
  tailscale commit: 62b8bf6a082c4bea1b9e6ee1962c81c6ee5263d3
  other commit: 3c35ee9872cbeac18fbf544a96e594ab9e9f05a4
  go version: go1.23.5

 ✘ ⚡  日 23 2月 - 23:32  /tmp 
 root@qunhui-tailscale  tailscale up --login-server=http://x:18080 --advertise-routes=192.168.8.0/24 --accept-routes=true --accept-dns=false --reset

To authenticate, visit:

	http://x:18080/register/P2epD9CGNl_JNLzxG2ojquPI

Success.
root@0e3b0a0de8bb:/# /headscale version
v0.25.0
root@0e3b0a0de8bb:/# /headscale nodes list
ID | Hostname         | Name             | MachineKey | NodeKey | User        | IP addresses | Ephemeral | Last seen           | Expiration | Connected | Expired
2  | k3s-128          | k3s-128          | [ui/my]    | [rTRKz] | home-qunhui | 100.64.0.2,  | false     | 2025-02-23 15:16:33 | N/A        | online    | no
10 | qunhui-tailscale | qunhui-tailscale | [ZmrQd]    | [nsEn9] | home-qunhui | 100.64.0.3,  | false     | 2025-02-23 15:32:26 | N/A        | online    | no

root@0e3b0a0de8bb:/# /headscale  routes list
ID | Node | Prefix | Advertised | Enabled | Primary

root@0e3b0a0de8bb:/#

Expected Behavior

I should be able to find the rule 192.168.8.0/24 in the routing list and enable it.

Steps To Reproduce

  1. deploy a Headscale
  2. joined a worker by tailscale up --login-server=http://x:18080 --advertise-routes=192.168.8.0/24 --accept-routes=true --accept-dns=false --reset
  3. excute /headscale routes list

Environment

- OS:
- Headscale version:
- Tailscale version:

Runtime environment

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

Anything else?

No response

Originally created by @cleverhu on GitHub (Feb 23, 2025). ### Is this a support request? - [x] This is not a support request ### Is there an existing issue for this? - [x] I have searched the existing issues ### Current Behavior When starting, was I have added and the login server parameter and advertisement routes, and joined successfully. But the route is not found in the routing list of headscale. ``` ⚡  日 23 2月 - 23:35  /tmp  root@qunhui-tailscale  tailscale version 1.80.2 tailscale commit: 62b8bf6a082c4bea1b9e6ee1962c81c6ee5263d3 other commit: 3c35ee9872cbeac18fbf544a96e594ab9e9f05a4 go version: go1.23.5 ✘ ⚡  日 23 2月 - 23:32  /tmp  root@qunhui-tailscale  tailscale up --login-server=http://x:18080 --advertise-routes=192.168.8.0/24 --accept-routes=true --accept-dns=false --reset To authenticate, visit: http://x:18080/register/P2epD9CGNl_JNLzxG2ojquPI Success. ``` ``` root@0e3b0a0de8bb:/# /headscale version v0.25.0 root@0e3b0a0de8bb:/# /headscale nodes list ID | Hostname | Name | MachineKey | NodeKey | User | IP addresses | Ephemeral | Last seen | Expiration | Connected | Expired 2 | k3s-128 | k3s-128 | [ui/my] | [rTRKz] | home-qunhui | 100.64.0.2, | false | 2025-02-23 15:16:33 | N/A | online | no 10 | qunhui-tailscale | qunhui-tailscale | [ZmrQd] | [nsEn9] | home-qunhui | 100.64.0.3, | false | 2025-02-23 15:32:26 | N/A | online | no root@0e3b0a0de8bb:/# /headscale routes list ID | Node | Prefix | Advertised | Enabled | Primary root@0e3b0a0de8bb:/# ``` ### Expected Behavior I should be able to find the rule 192.168.8.0/24 in the routing list and enable it. ### Steps To Reproduce 1. deploy a Headscale 2. joined a worker by `tailscale up --login-server=http://x:18080 --advertise-routes=192.168.8.0/24 --accept-routes=true --accept-dns=false --reset` 3. excute /headscale routes list 4. ### Environment ```markdown - OS: - Headscale version: - Tailscale version: ``` ### Runtime environment - [ ] Headscale is behind a (reverse) proxy - [x] Headscale runs in a container ### Anything else? _No response_
adam added the bug label 2025-12-29 02:26:39 +01:00
adam closed this issue 2025-12-29 02:26:39 +01:00
Author
Owner

@nblock commented on GitHub (Feb 23, 2025):

Duplicate of #2433

@nblock commented on GitHub (Feb 23, 2025): Duplicate of #2433
Author
Owner

@cleverhu commented on GitHub (Feb 23, 2025):

Duplicate of #2433

Thank you very much. The downgraded version works normally now.

@cleverhu commented on GitHub (Feb 23, 2025): > Duplicate of [#2433](https://github.com/juanfont/headscale/issues/2433) Thank you very much. The downgraded version works normally now.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/headscale#953