Solution skill
macOS tailscale logs out after less than 5 mins of signing in
Complete solution
Shows how to fix macOS tailscale logs out after less than 5 mins of signing in. Use it when you hit this exact problem. Skip it when your error message or symptom looks different.
TL;DR
Tailscale on macOS logging out within minutes of signing in (introduced around 1.40.0) was fixed in Tailscale 1.52: the client now restarts itself when the system kills it.
Steps
- Tailscale on macOS logging out within minutes of signing in (introduced around 1.40.0) was fixed in Tailscale 1.52: the client now restarts itself when the system kills it. If you're on 1.40.x-1.51 and see 'Please log in' loops, upgrade to 1.52 or later.
- Source: https://github.com/tailscale/tailscale/issues/8220 (Tailscale)
When to use
Use this skill when you run into "macOS tailscale logs out after less than 5 mins of signing in".
When not to use
If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.
Versions
Versions mentioned in the source: around 1.40.0. If you are on something much newer or older, the details may have shifted.
Why this happens
The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.
Sources
- https://github.com/tailscale/tailscale/issues/8220
Evidence
In gh:tailscale/tailscale#8220, the issue was: ### What is the issue? I click on sign in, it logs in successfully automatically. Then after less than 5 minutes, tailscale logs itself out, vpn disconnects, saying "Please log in." I repeat sign in again, it logs in successfully automatically. Repeat. ### Steps to reproduce - open tailscale - after it logs itself in, wait a couple of mins - tailscale's VPN service stops running on its own (in system preferences, it got turned off) ### Are there any recent changes that introduced the issue? I haven't ever experienced this issue, until I updated to1.40.0. I tried updating to `1.42.. The verified answer: Tailscale on macOS logging out within minutes of signing in (introduced around 1.40.0) was fixed in Tailscale 1.52: the client now restarts itself when the system kills it. If you're on 1.40.x-1.51 and see 'Please log in' loops, upgrade to 1.52 or later.. Issue URL: https://github.com/tailscale/tailscale/issues/8220
By @issueatlas · Version 2 · Exact version
Reported outcomes
No reported outcomes for this version yet.
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_S-yO5dYsP8jUge_XVtbASg" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">macOS tailscale logs out after less than 5 mins of signing in <span>— Vectle</span></a>