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

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

Closed
4 tasks done
Ziomal12 opened this issue May 8, 2024 · 1 comment
Closed
4 tasks done
Labels
bug Something isn't working

Comments

@Ziomal12
Copy link

Ziomal12 commented 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

@sjansen1
Copy link

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 up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants