Tor hidden service is running on Ubuntu 20.04 but in tor browser, onion site not found

I am running Tor hidden service on Ubuntu 20.04 (with Apache2). It worked before and the service could be viewed in Tor web browser.

However, after a few reboots, it stopped working. The server logs show that the service has outgoing connections but in a Tor browser, the onion site was not found. The configurations and connection details can be found below.

[[[ Outgoing network connections ]]]
tcp        0      0 172.16.60.133:36966     2.58.52.163:9004        ESTABLISHED
tcp        0      0 172.16.60.133:54068     89.58.12.210:9001       ESTABLISHED
tcp        0      0 172.16.60.133:45758     194.9.172.238:9000      ESTABLISHED
tcp        0      0 172.16.60.133:35414     78.138.98.42:9001       ESTABLISHED
tcp        0      0 172.16.60.133:56780     79.137.198.213:443      ESTABLISHED
[[[ ONION address ]]]
tryme@ubuntu:~$ sudo cat /var/lib/tor/hidden_service/hostname
*s2r3juy6ax5z3cwjttgpg3gtthbujpvlzq2s7kuuqjy55qim2rwsqayd.onion*
[[[ Tor service status ]]]
tryme@ubuntu:~$ sudo service tor@default status
● tor@default.service - Anonymizing overlay network for TCP
     Loaded: loaded (/lib/systemd/system/tor@default.service; enabled-runtime; vendor preset: enabled)
     Active: active (running) since Thu 2025-04-24 20:37:49 PDT; 12h ago
   Main PID: 7388 (tor)
      Tasks: 1 (limit: 9370)
     Memory: 89.7M
     CGroup: /system.slice/system-tor.slice/tor@default.service
             └─7388 /usr/bin/tor --defaults-torrc /usr/share/tor/tor-service-defaults-torrc -f /etc/tor/torrc --RunAsDaemon 0

Apr 24 20:37:48 ubuntu tor[7387]: Apr 24 20:37:48.656 [notice] Read configuration file "/usr/share/tor/tor-service-defaults-tor>
Apr 24 20:37:48 ubuntu tor[7387]: Apr 24 20:37:48.656 [notice] Read configuration file "/etc/tor/torrc".
Apr 24 20:37:48 ubuntu tor[7387]: Configuration was valid
Apr 24 20:37:48 ubuntu tor[7388]: Apr 24 20:37:48.668 [notice] Tor 0.4.2.7 running on Linux with Libevent 2.1.11-stable, OpenSS>
Apr 24 20:37:48 ubuntu tor[7388]: Apr 24 20:37:48.668 [notice] Tor can't help you if you use it wrong! Learn how to be safe at >
Apr 24 20:37:48 ubuntu tor[7388]: Apr 24 20:37:48.668 [notice] Read configuration file "/usr/share/tor/tor-service-defaults-tor>
Apr 24 20:37:48 ubuntu tor[7388]: Apr 24 20:37:48.668 [notice] Read configuration file "/etc/tor/torrc".
Apr 24 20:37:48 ubuntu tor[7388]: Apr 24 20:37:48.669 [notice] Opening Socks listener on 127.0.0.1:9050
Apr 24 20:37:48 ubuntu tor[7388]: Apr 24 20:37:48.669 [notice] Opened Socks listener on 127.0.0.1:9050
Apr 24 20:37:49 ubuntu systemd[1]: Started Anonymizing overlay network for TCP.
[[[ Partial log entries ]]]
tryme@ubuntu:~$ tail -10 /var/log/tor/tor.log
Apr 25 08:38:26.000 [info] channelpadding_send_padding_cell_for_callback(): Sending netflow keepalive on 10 to [scrubbed] ([scru                                                                 bbed]) after 5252 ms. Delta 3ms
Apr 25 08:38:27.000 [info] channelpadding_send_padding_cell_for_callback(): Sending netflow keepalive on 10 to [scrubbed] ([scru                                                                 bbed]) after 1720 ms. Delta 0ms
Apr 25 08:38:29.000 [info] channelpadding_send_padding_cell_for_callback(): Sending netflow keepalive on 11 to [scrubbed] ([scru                                                                 bbed]) after 8628 ms. Delta 5ms
Apr 25 08:38:36.000 [info] channelpadding_send_padding_cell_for_callback(): Sending netflow keepalive on 11 to [scrubbed] ([scru                                                                 bbed]) after 6780 ms. Delta 4ms
Apr 25 08:38:36.000 [info] channelpadding_send_padding_cell_for_callback(): Sending netflow keepalive on 2 to [scrubbed] ([scrub                                                                 bed]) after 4672 ms. Delta 5ms
Apr 25 08:38:38.000 [info] channelpadding_send_padding_cell_for_callback(): Sending netflow keepalive on 11 to [scrubbed] ([scru                                                                 bbed]) after 2016 ms. Delta 3ms
Apr 25 08:38:41.000 [info] channelpadding_send_padding_cell_for_callback(): Sending netflow keepalive on 10 to [scrubbed] ([scru                                                                 bbed]) after 5304 ms. Delta 2ms
Apr 25 08:38:48.000 [info] channelpadding_send_padding_cell_for_callback(): Sending netflow keepalive on 10 to [scrubbed] ([scru                                                                 bbed]) after 6260 ms. Delta 1ms
Apr 25 08:38:54.000 [info] channelpadding_send_padding_cell_for_callback(): Sending netflow keepalive on 10 to [scrubbed] ([scru                                                                 bbed]) after 6216 ms. Delta 0ms
Apr 25 08:38:54.000 [info] channelpadding_send_padding_cell_for_callback(): Sending netflow keepalive on 11 to [scrubbed] ([scru                                                                 bbed]) after 7424 ms. Delta 6ms

What has gone wrong? Thank you.

Version Code name Docs Release End of Standard Support End of Life
Ubuntu 24.04.2 LTS Noble Numbat Release Notes February 20, 2025 June 2029 April 2036
Ubuntu 22.04.5 LTS Jammy Jellyfish Release Notes September 12, 2024 June 2027 April 2034
Ubuntu 20.04.6 LTS Focal Fossa Changes March 23, 2023 May 2025 April 2032

First of all, your Ubuntu will reach End of Standard Support and if you do not have a subscription, you won’t get updates anymore soon.

Expanded Security Maintenance (ESM) provides security updates on Ubuntu LTS releases for additional 5 years. It is available with both the free or paid Ubuntu Pro subscriptions.


β†’ So first step in my opinion would be, to upgrade to a more recent OS version.



Your tor version is completely out of date, it was released more than 5 years ago: New releases: 0.3.5.10, 0.4.1.9, and 0.4.2.7 (with security fixes!) | The Tor Project

Most recent version of tor for your current OS (which should be upgraded imho) would be 0.4.8.16-1~focal+1. So please have a look at the instructions for installing. Little-t-tor | Tor Project | Support and Why and how I can enable Tor Package Repository in Debian? | Tor Project | Support

1 Like