[Bug] Tailscale doesn't connect after phone reboot with Tailscale connection on #708

Closed
opened 2025-12-29 02:22:42 +01:00 by adam · 1 comment
Owner

Originally created by @Ziomal12 on GitHub (May 8, 2024).

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

After rebooting phone (without disabling connection) or force closing the android app it doesn't connect again (stuck at starting...)

In headscale logs after successful authorisation I see 2024-05-08T08:07:39+02:00 INF home/runner/work/headscale/headscale/hscontrol/poll.go:657 > node has an open stream(0x4000a8c480), rejecting new stream node=localhost node.id=6 omitPeers=false readOnly=false stream=true
After force closing the app and restarting headscale I'm able to log back in.

Expected Behavior

The app should connect again.

Steps To Reproduce

  1. Connect to tailnet
  2. Reboot phone without disabling tailscale connection
    1. Open app after restart and try to connect again.

Environment

- OS: android 14
- Headscale version: v0.23.0-alpha11
- Tailscale version: 1.65.182-t80df8ffb8-g6a15347453c (new beta app)

Runtime environment

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

Anything else?

No response

Originally created by @Ziomal12 on GitHub (May 8, 2024). ### 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 After rebooting phone (without disabling connection) or force closing the android app it doesn't connect again (stuck at `starting...`) In headscale logs after successful authorisation I see `2024-05-08T08:07:39+02:00 INF home/runner/work/headscale/headscale/hscontrol/poll.go:657 > node has an open stream(0x4000a8c480), rejecting new stream node=localhost node.id=6 omitPeers=false readOnly=false stream=true` After force closing the app and restarting headscale I'm able to log back in. ### Expected Behavior The app should connect again. ### Steps To Reproduce 1. Connect to tailnet 2. Reboot phone without disabling tailscale connection 3. 3. Open app after restart and try to connect again. ### Environment ```markdown - OS: android 14 - Headscale version: v0.23.0-alpha11 - Tailscale version: 1.65.182-t80df8ffb8-g6a15347453c (new beta app) ``` ### Runtime environment - [X] 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:22:42 +01:00
adam closed this issue 2025-12-29 02:22:42 +01:00
Author
Owner

@sjansen1 commented on GitHub (May 17, 2024):

There is a change in Tailscale 1.66.3 that may solve your issue.

https://tailscale.com/changelog#client

  • "Improved the VPN service connection logic, especially when rebooting the device with Always-On VPN enabled."
@sjansen1 commented on GitHub (May 17, 2024): There is a change in Tailscale 1.66.3 that may solve your issue. https://tailscale.com/changelog#client - "Improved the VPN service connection logic, especially when rebooting the device with Always-On VPN enabled."
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/headscale#708