On 21 Jul 2016, at 15:49, Darcy Marshall root@spydar007.com wrote:
I recently set up a hidden service. The address for this hidden service is spydaroo7gtsipwm.onion. When I first start Tor on the server, it will work fine.
What version of Tor are you running, and on what OS?
Then after a while, maybe after a few visits or a few hours, it stops working. Both apache2 and Tor continue to run, but Tor Browser just acts as though it doesn't exist (cannot connect). Logs show errors of "general socks error". Tor2web services like onion.to also stop working and give generic SOCKS error.
What is the exact error in the Tor client log? Does the hidden service log a client connection (either introduction or rendezvous) at the same time? If you turn on info or debug level logging on your client or hidden service, your logs might give you more information.
The way to fix this is to restart Tor on the server. It then works, but eventually will return to having a socks error. Does anyone know a reason for why this is happening or how to fix it?
Perhaps your server terminates long-running network connections, and Tor has trouble recovering from this? Perhaps the network goes down or slows down?
Tim
Tim Wilson-Brown (teor)
teor2345 at gmail dot com PGP C855 6CED 5D90 A0C5 29F6 4D43 450C BA7F 968F 094B OTR 8F39BCAC 9C9DDF9A DF5FAE48 1D7D99D4 3B406880 ricochet:ekmygaiu4rzgsk6n