I have been using Home Assistant for home automation for about a year. For some time now, the following message has always appeared in my log files:
"Logger: hass_nabucasa.remote.
Source: /usr/local/lib/python3.9/site-packages/hass_nabucasa/remote.py:333
First occurred: 15 October 2021, 18:46:37 (1 occurrences)
Last logged: 15 October 2021, 18:46:37
Connection problem to snitun server"
Does anyone know the problem? The connection via Nabucasa works perfectly. I also do not notice any errors in the daily use of Home Assistant.
However, the log file irritates me. Does anyone have a solution?
Hi there, I have this very same issue, only problem is I cannot connect remotely. Sometimes it randomly starts working, but if I reboot for any reason, it won’t reconnect. Firstly I had this on a Rpi3 with existing setup, I decided to run the virtual box image on my Mac with fresh setup, but I have the exact same problem, I cannot use home assistant remotely at all, or at least until it connects.
Here are the logs:
Timeout connecting to snitun server
06:35:09 – (ERROR) /usr/local/lib/python3.9/site-packages/hass_nabucasa/remote.py - message first occurred at 06:28:49 and shows up 7 times
Ping fails, no response from peer
06:33:18 – (ERROR) /usr/local/lib/python3.9/site-packages/snitun/multiplexer/core.py
Connection problem to snitun server
06:28:08 – (ERROR) /usr/local/lib/python3.9/site-packages/hass_nabucasa/remote.py
Challenge/Response error with SniTun server (0 bytes read on a total of 32 expected bytes)
06:28:08 – (ERROR) /usr/local/lib/python3.9/site-packages/snitun/client/client_peer.py
Version
core-2021.11.3
I also tried on the latest update Version core-2021.11.4 with no success.
A few months ago i had the same error, i rebooten a couple of times and I was able to connect again.
A few months and major versions went by without any problem.
And just as I was on vacation the error returned and I could not remote connect via Nabucasa.
Rebooted, but nothing helped changed.
I searched the form and bug reports, but only could find some other people with the same issues but no way to fix this.
Is this caused by something on my side? DNS issue.
Or is this a server side issue?
The error, occurred 9000+ times in 48h
Connection problem to snitun server (Can't connect to SniTun server eu-central-1-3.ui.nabu.casa:443 with: Multiple exceptions: [Errno 111] Connect call failed ('0.0.0.0', 443), [Errno 111] Connect call failed ('::', 443, 0, 0))
A follow up, i did some digging and found out that my DNS server (Ad Guard) did block the eu-central-1-3.ui.nabu.casa DNS request.
After allowing I cloud connect again via Nabucasa.