-
Notifications
You must be signed in to change notification settings - Fork 74
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
Connectivity to Hass suddenly stopped - no known changes occured #362
Comments
So the add-on is running. Can you see it on the admin page as connected? https://login.tailscale.com/admin/machines Did you disable key expiry? 4-5 months ago? You can retrieve the add-on logs even after multiple restarts with sg. like Without logs, without the add-on's config, it is hard to say anything more. |
Same here. Updated today and the addon's stopped working. Previously I'd had it running as a funnel for a while now, with no issues. There's only the following entry in the logs that appears to be anything questionable:
The rest just look like success messages. I can also see the node appears as "connected" on Tailscale admin panel. In other words everything appears to be in order, but no connection. Doubt it'll help, but here's the add-on config anyway:
|
I have the same problem after updating to version 0.19.0 |
My config: The nodes is online and connected in the tailscale admin panel |
Quite simple configs. Hmmm.
So there is a chance, that it is not related to this version. Strange coincidence.
This is not needed to access HA or anything on the device from the tailnet and/or from the internet (funnel), this is needed only if HA or anything on the LAN wants to access the tailnet. If anything on the LAN (not HA on the device, but other devices on the LAN) wants to access the tailnet, with TS v1.66.x you need
|
And I have |
No improvement, still nothing in the logs showing the attempted connection as well. |
Could you test |
I have tried all four combinations of |
no change with stateful filtering = false |
Does this return an IP? Can you access the Can you acces the I'm running out of ideas. In the past, when nothing worked that should, I've deleted all the site related cookies and everything from the browser, and usually that helped. |
I sat down to respond to these and it was working again. Feels like something on the tailscale side changed and reverted. Anyone else's begin working without a real solution? |
Yeah it's back on its own. I've done some googling, and yeah this might have something to do with the latest Tailscale version. I found a few posts on other websites where others' setups, completely unrelated to HA and this addon, suddenly stopped working for no apparent reason as well in the last 24 hours. |
Closing it out since it appears unrelated to this addon. Thanks everyone! |
Welp, now its down again. Still feels like a tailscale thing but just wondering if we're all still in the same boat. |
Got the same issue after the update this night. Can ping my own tailscale IP but notihing else. The connections between all other Tailscale devices are working as intended. Even incoming connections to HomeAssistant from other Tailscale devices. Without running Uptime Kuma on HA i wouldn't be able to see the issue because the connection to the App and Webinterface are fine. I will let it run for a while and report if it changes itself without any configuration change. But i can't imagine that this is not related to the update at all. Edit: I suggest to leave the ticket open for a while, if it's related to the update. Not everybody is updating on release day ;) I disabled them aswell for now. |
I use it on three machines with HA, not one of them is functional since the last update |
I have a possibly related issue with the same update: #365 since this update, I can no longer create backups via the samba backup HA add-on which have been perfectly working for years before this TS (add-on) update. |
From what i have gathered as a layperson in my setup the issue lies with the routing in the containers: The tailscale addon container is entered as default gateway in other containers. |
My problem is that since the update to version 0.19.0, the container with the add-on keeps shutting down and I don't even have the option to open its web interface. I haven't found a solution yet. Everything was working until the update. I don't know if my description is understandable, I apologize for that. |
@josefsedy You can see the past logs with |
I feel 3 different issues:
|
This fixed it for me:
Had the same when setting it up with Userspace networking mode. It shows disabled, but you have to enable it, save, and disable it to get it disabled. Don't know if this is related to Homeassistant or the Tailscale Addon but it feels just wrong. |
@ovizii On one of my machines it seems related to name resolution, If I change the name of the backup destination into its current ip address, the addon starts up fine. On that specific machine I can ping the backup server using its ip address, but not using its network name It's just a temporary workaround, but worth a try. |
Thanks but my backup target has always been an IP address which was advertised as a subnet by another tailscale node. And this upgrade broke that. :-( |
Yes, this is a HA UI bug (I don't know whether is there an issue for it), the UI can't distinguish between unset and disabled options, both displayed as disabled, I always use the YAML editor. As I remember thsi works in the UI editor: enable, save, disable, save, [check the yaml], restart :( |
Seems to be related: tailscale/tailscale#12108 |
Wouldn't i be possible to add everything to the .yaml and set the default values to off? Otherwise every new feature must be actively enabled to be disabled. I very much prefer an auto update with disabled new features, instead of checking the release notes, adding new features to be disabled in the .yaml and update manually. |
The UI not being able to distinguish between unset and disabled is indeed very confusing (one really has to read the textual explanation to see what the default is) and what makes it even more confusing is, that when you do edit the yaml file, you don't get to see the default settings, only the ones that have been modified. I imagine this is related to the way Tailscale itself handles the option; if you don't specify an option, then use the default. It would take quite a bit of effort for the official maintainer (@frenck ? ) of the addon for Homeassistant to scan every new release of Tailscale for new options, its defaults and then add them to the default yaml file. For the name resolution issue I have to dig in deeper. My three identical machines apparently are not as identical as I thought. |
This is feedback for the Home Assistant project, not this add-on. |
It was not meant as criticism :-) only to clarify my understanding of the extra work it would bring. |
Oh it is fine, but I do think such feedback is helpful in a way (at the right place) 😄 As for extra work... that is not what this is about. I don't think it is right to force a default from this end, instead, I think following upstream is the correct path. Lastly, it hides configuration one like doesn't need from the UI (as it is optional), which IMHO is a big plus. |
Btw. the v0.19.1 update fixed everything. I updated the add-on, restarted it and voilà, my backups are working again. No configuration changes. |
I don't have the same experience 2024/05/22 18:46:37 got LocalBackend in 14ms |
We need the beginning of the log, there must be another error, this is only a consequence of that error. |
You can access the past logs with |
@lmagyar having the same issue as everyone else when upgrading to >=0.19.0. This contains the errors I see at the top of my log. Not sure if this is useful to you.
The messages that seem concerning to me are:
...and
Edit: My config, in case it's useful: userspace_networking: false
taildrop: false
advertise_exit_node: false
advertise_routes: []
accept_routes: false |
Unfortunately, even today's update didn't help. This is an extract from the Supervisor log. The container keeps stopping and cannot be started. File "/usr/src/supervisor/supervisor/host/logs.py", line 143, in journald_logs |
@rlad78 @josefsedy What are the outputs of the below 2 commands?
|
@josefsedy Could you please check for TS add-on's errors with this: |
|
I don't know where and how to look for it. |
It could be this: 2024/05/22 19:24:45 | stderr | s6-rc: info: service s6rc-oneshot-runner successfully stopped |
it seems that the whole problem is on my Synology NAS where I have the container manager running. Advanced SSH & Web Terminal behaves as non-standard as Tailscale. |
OK, when I saw |
both v0.19.1 and v0.19 no longer work for me either. Everything up to 0.18 worked without problems It that any way to come back to v0.18 version? |
It should. I think add-on version 0.19.0 had some general tailscale issues and some add-on bugs, 0.19.1 has only add-on bugs, reverted with #370. |
Unfortunately, version 0.19.1 is just as broken in Container Manager as version 0.19.0. Version 0.18.0 worked fine. |
do you know a simple way to install version v0.18.0? |
Restore a backup is the only way. |
Unfortunately, I don't have the 0.18.0 version backed up. But version 0.17.0 is working. |
FWIW, version 0.19.1 failed to connect my instance of Home Assistant to my tailnet. The addon starts then immediately stops. I don't recall seeing an explicit error message, just that nginx would report it was stopping mere seconds after it started. I needed this fixed ASAP so I restored my backup of version 0.18 and it now works properly (i.e. my Home Assistant server is now visible in the latest version of the Tailscale Android app). Obviously something that changed between 0.18 and 0.19 appears to be the culprit. |
Yes, #370 is under review, final version will try to keep the optimization, but the add-on will start even if it fails in any way. |
Problem/Motivation
Today I noticed I could not reach my Home assistant while external to my local and tailscale network. This configuration has been working for 4 or 5 months without issue.
Expected behavior
Successfully access HASS through iOS app or browser from the internet
Actual behavior
Timeout, debug logs in add on do not show the attempted connection
The text was updated successfully, but these errors were encountered: