PySocks icon indicating copy to clipboard operation
PySocks copied to clipboard

Cannot open Tor Browswer after installing Pysocks

Open kylefoley76 opened this issue 5 years ago • 1 comments

After I installed pysocks and started using it I cannot open the Tor Browser any more. When I run tor with python it works fine. When I open the Tor Browser I get the following error message:

Tor exited during startup. This might be due to an error in your torrc file, a bug in Tor or another program on your system, or faulty hardware. Until you fix the underlying problem and restart Tor, Tor Browser will not start.

Tor unexpectedly exited. This might be due to a bug in Tor itself, another program on your system, or faulty hardware. Until you restart Tor, the Tor Browser will not be able to reach any websites. If the problem persists, please send a copy of your Tor Log to the support team

I also cannot access the log file.

This is the Python code I'm using:

socks.setdefaultproxy(proxy_type=socks.PROXY_TYPE_SOCKS5, addr="127.0.0.1", port=9050)

kylefoley76 avatar Jun 08 '19 20:06 kylefoley76

Try to download the latest version of Tor Browser.

# netstat -ltnp
tcp        0      0 127.0.0.1:9150          0.0.0.0:*               LISTEN      12699/tor           
tcp        0      0 127.0.0.1:9151          0.0.0.0:*               LISTEN      12699/tor

fox0 avatar Jun 22 '19 07:06 fox0