Tor connection in Whonix-Gateway dies and when it dies, it doesn’t recover but the
[NOTICE] Tried for 100 seconds to get a connection to [scrubbed]:[xxx]. Giving up.
It’s probably all selected guard nodes are gone and Tor is not picking new ones. The only solution is to restart Tor manually.
sudo systemctl restart tor@default
After restarting Tor the connection is up again.
Is it safe to make cron job that detects Tor connectivity and restarts Tor daemon? Has Whonix any built-in tool for checking that?
Or alternatively, can you configure Tor to pick another guard nodes when they’re off for large amount of time? How is it insecure?
The second issue,
/var/run/tor/log grows up and when tmpfs goes to 100%, Tor connection breaks and the only way to restart Whonix-Gateway or (if still possible) stop Tor, delete this file and start again.
sudo systemctl stop tor@default sudo rm /var/run/tor/log sudo systemctl start tor@default
Most logged infomation are useless. Where can I change logging level?