Onionsite has disconnected

With the release of Tor Browser 11.0, I remembered that I have an onion site so I figured it was a good time to see how it was doing. However, I must have been sleeping in class because the Tor Browser informed me that the site was most likely offline.

Onionsite has disconnected

Please allow me to introduce myself. I’m a man of wealth and taste.

After checking and confirming that the tor.service was active and running on my server I issued a restart to see if that would fix the problem. Well, it didn’t, but the output from systemd’s journal was clear enough:

Nov 09 13:52:59.134 [notice] Read configuration file "/etc/tor/torrc".
Nov 09 13:52:59.135 [warn] Onion services version 2 are obsolete. Please see https://blog.torproject.org/v2-deprecation-timeline for more details and for instructions on how to transition to version 3.
Nov 09 13:52:59.135 [warn] Failed to parse/validate config: Failed to configure rendezvous options. See logs for details.
Nov 09 13:52:59.136 [err] Reading config failed--see warnings above.

Onion services version 2 are obsolete with Tor 0.4.6.x. How the time does fly. I find it remarkable that this misconfiguration didn’t cause the systemd service to fail, but I digress. A quick edit of /etc/tor/torrc to remove the version 2 service, and I should be back in business in no time.

# Now obsolete /0\
HiddenServiceDir /var/lib/tor/hidden_service
HiddenServiceVersion 2 
HiddenServicePort 80

After the removal, another restart of the tor.service had everything running smoothly again.

Tor can’t help you if you use it wrong!
- The Tor Project

Thanks for all the fish:
slackiuxopmaoigo.onion: November 05, 2016 - November 09, 2021

ParanoidPenguin.net is accessible on the Tor network.