Problem with login Tailscale on VM HASS OS

I have the following configuration:
HASS as an OS on a virtual machine in proxmox.

Add-on: Tailscale
Zero config VPN for building secure networks


Add-on version: 0.25.0
You are running the latest version of this add-on.
System: Home Assistant OS 14.2 (amd64 / qemux86-64)
Home Assistant Core: 2025.2.4
Home Assistant Supervisor: 2025.02.1

Problem:
Tailscale - when trying to authorize from HASS (I click login in addon) - it gives “failed to login” error.

At the same time, the second virtual machine on Hype-V: immediately authorized without any problems (1 week ago, and working now)

Could you tell me how to solve the problem?

6 Likes

Im seeing the same!

If you are both on Proxmox then this is probably a virtual interface config issue. Maybe Tailscale is firewalled.

I have solved the problem.
Tailscale really stopped connecting correctly from the addon interface for some reason.
But it can be solved manually.

  1. You need to go to the addon logs
  2. Then find the line with the login key.
  3. Copy it and paste it into the address bar of your browser.
  4. Then you will see an authorization window and you will be able to pass it. After that, your device will be linked to Tailscale

6 Likes

I had the same issue with a normal Pi 5 Install. I had to manually create an auth key in my Tailscale admin console and then use the command line in HA to set it. I used the SSH add-on (don’t forget to set username and pw in config) to get command line access.

To create the auth key, in your Tailscale admin console, go to Settings > Personal > Keys and create one, and copy it to clipboard and maybe drop in a file so you don’t lose it as once you finish in Tailscale admin you can’t get it again.

(Should look like: tskey-auth-kc9pvdq79F11CHTRL-LNT8WzHsKA575RQeuNGyA5gL4tDYiPVqZ)

I had to delete the add-on completely then reinstall, and BEFORE starting…

Go to the add-on page, open the config tab and set to log mode to debug. Don’t start it yet.

Get your container information

watch -n 2 ‘docker ps -a | grep tailscale’

(Should look like “a0s5d924_tailscale”)

With your container code and the auth token from your Tailscale admin console run

curl -X POST -H “Authorization: Bearer $SUPERVISOR_TOKEN” -H “Content-Type: application/json” -d ‘{“options”: {“auth_key”: “TAILSCALEAUTHKEYHERE”, “log_level”: “debug”}}’ http://supervisor/addons/YOURCONTAINERCODEHERE_tailscale/options

Then start the add-on

ha addons start YOURCONTAINERCODEHERE_tailscale

Check logs

ha addons logs YOURCONTAINERCODEHERE_tailscale

Look in logs for https://login.tailscale.com/a/YOURTAILSCALEAUTHKEY (See @Oleksandr.C image above)

Click on it right from the console, login to your Tailscale admin console and approve Home Assistant as described by @Oleksandr.C

After which you should not be presented with a Login prompt (that fails) in the add-on webui, but should again see that it’s running and connected to your Tailnet. Good luck!

1 Like

I have the same problem ,I’ve tried your method but nothing shows up in log

Thank you very much for this