ZeroNet icon indicating copy to clipboard operation
ZeroNet copied to clipboard

I can not start tor

Open kotenok2000 opened this issue 7 years ago • 8 comments

TorManager Starting self-bundled Tor, due to Tor proxy port 127.0.0.1:9050 check error: 'ascii' codec can't decode byte 0xcf in position 28: ordinal not in range(128) [2017-09-05 14:56:26,697] INFO TorManager Starting Tor client tools/tor/tor.exe... [2017-09-05 14:56:27,200] INFO TorManager Connecting to Tor Controller 127.0.0.1:49051 [2017-09-05 14:56:28,203] ERROR TorManager Error starting Tor client: UnicodeDecodeError: 'ascii' codec can't decode byte 0xcf in position 28: ordinal not in range(128) in TorManager.py line 90 > TorManager.py line 154 > TorManager.py line 190 debug.log.txt

kotenok2000 avatar Sep 05 '17 11:09 kotenok2000

contact tor and they will help you

bannychen1983 avatar Sep 08 '17 04:09 bannychen1983

@bannychen1983 this is not a problem with tor

skwerlman avatar Sep 08 '17 05:09 skwerlman

Google it. Try to set locale to UTF8

unsystemizer avatar Sep 10 '17 06:09 unsystemizer

I am russian.

kotenok2000 avatar Sep 10 '17 11:09 kotenok2000

Same problem here...

theAkito avatar Oct 02 '17 21:10 theAkito

Hi guys, talking about TOR on Docker zeronet is working fine, tor-browser working fine the problem is opening zeronet on localhost with tor-browser. I have both zeronet and tor-browser running under docker when inspect the zeronet container, I have the IP 172.17.0.6 (docker containers IP range) I can ping this IP from my localhost, from zeronet container, from tor-browser container I have added its ip on about:preferences#advanced under settings I have "allowed scripts globally" in the tor browser interface upper left still getting: Forbidden Invalid host: 172.17.0.6:43110 (which is better error than the one which follows) docker ports are fine, 127.0.0.1:43110->43110/tcp
if trying http://127.0.0.1:43110/ or http://localhost:43110/, I get: Unable to connect: Firefox can’t establish a connection to the server at 127.0.0.1:43110. since I access zeronet from 127.0.0.1 using chrome and firefox, and tor is also browsing .onion addresses fine, any hint on what I am missing here? Thanks, Marco

metaver5o avatar Oct 07 '17 19:10 metaver5o

[20:36:55] TorManager Connecting to Tor Controller 127.0.0.1:9051
[20:36:55] TorManager Tor controller connect error: error: [Errno 111] Connection refused in TorManager.py line 165 > socket.py line 342
[20:36:55] TorManager Starting self-bundled Tor, due to Tor proxy port 127.0.0.1:9050 check error: No connection
[20:36:55] - Creating UiServer....
[20:36:55] - Removing old SSL certs...
[20:36:55] - Starting servers....

theAkito avatar Oct 09 '17 18:10 theAkito

errors mentioned by theAkito may be solved by checking Tor log, try: journalctl -xeb -u tor; (q = quit) systemctl restart tor||service tor restart

some other things to try: sudo sed -i "s|#ControlPort|ControlPort|g" /etc/tor/torrc;sudo sed -i "s|#CookieAuthentication|CookieAuthentication|g" /etc/tor/torrc;sudo usermod -a -G debian-tor $(whoami) 2>/dev/null||sudo usermod -a -G tor $(whoami) 2>/dev/null;

and restart tor service

slrslr avatar Aug 24 '21 20:08 slrslr