htrgouvea / nipe

An engine to make Tor network your default gateway
https://heitorgouvea.me/
Other
1.95k stars 314 forks source link

ERROR: sorry, it was not possible to establish a connection to the server #129

Closed shom13 closed 2 years ago

shom13 commented 3 years ago

Fresh install, followed instructions to download. After completion when checking status, this is what i am getting: ERROR: sorry, it was not possible to establish a connection to the server.

Found a couple other posts with the same issue but found no relevant solutions, hence creating a new issue.

dakata1337 commented 3 years ago

Same here.

shom13 commented 3 years ago

A simple reboot and a couple of tries did it for me. Sorry i forgot to post an update. Sometimes it wont connect at the first attempt. Try a few times with nipe start command, and it connects just fine.

shom13 commented 3 years ago

I have been using for a while, and it seems sometimes it wont connect the first time. The only way i can get it to work is by stop command. sudo perl nipe.pl stop followed by a start command sudo perl nipe.pl start. Repeat it for a few times and it should work.

shom13 commented 3 years ago

Try a couple of times and it should connect. Check with status. I normally try separately, stop and then start without &&. And just a quick note, if you're already connected to a vpn, chances are it wont connect

iis2h commented 3 years ago

Commands after reboot : ( in nipe directory ) sudo perl nipe.pl stop sudo perl nipe.pl start

it will work fine

brokera commented 3 years ago

through which ports does nipe work? can firewall block nipe connection?

shom13 commented 3 years ago

Check if your tor services are installed/running properly. If you're on linux open terminal and code in: "curl --socks5 localhost:9050 --socks5-hostname localhost:9050 -s https://check.torproject.org/ | cat | grep -m 1 Congratulations | xargs"

If you get an output: Congratulations. This browser is configured to use Tor, try to start nipe again in nipe directory and it should work, else you need to setup tor properly as something could be wrong. Check /etc/tor/torrc directory

brokera commented 3 years ago

Check /etc/tor/torrc directory

the connection error was not corrected. how to set up the tor correctly?

brokera commented 3 years ago

If you get an output: Congratulations. This browser is configured to use Tor, try to start nipe again in nipe directory and it should work, else you need to setup tor properly as something could be wrong. Check /etc/tor/torrc directory

I was able to run nipe after completely removing the tor along with all the settings and folders and then installing it again (sudo apt install tor). I think need add it info to 'Readme'