htrgouvea / nipe

An engine to make Tor network your default gateway

Home Page:https://heitorgouvea.me/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[!] ERROR: sorry, it was not possible to establish a connection to the server.

S0rci3r opened this issue · comments

Hi,
sudo cpan install Switch JSON LWP::UserAgent ==> ok
sudo perl nipe.pl install ==> ok
sudo perl nipe.pl start ==> ok
sudo perl nipe.pl status ==> [!] ERROR: sorry, it was not possible to establish a connection to the server.

System : Manjaro Linux 18.0.2
Kernel : 4.18.20-1-MANJARO
iptables v1.8.2 (legacy)
perl v5.28.1

Thx

commented

I'm getting the same error.

Sytem: Antergos
Kernel: 4.20.10-arch1-1-ARCH
iptables: 1.8.2 (legacy)
Perl: 5.28.1

Awesome project @GouveaHeitor . Would love to see this issue fixed.

Hi @S0rci3r and @naltun,

I've made some changes to the Nipe code recently, can you see if this error has been fixed?

Thx

The error is not fixed

Still not fixed

still not fixed

still not fixed

Friends I Recently Find the Solution of This
Do it My way
apt reinstall tor
remove the nipe directory where you save nipe ( rm -r nipe)
then
git clone https://github.com/GouveaHeitor/nipe.git
then
{optional} apt reinstall libjson-perl libswitch-perl libtest-lwp-useragent-perl
if needed reinstall iptables too
then
cpan install Switch JSON LWP::UserAgent
thats its
use it by perl perl nipe.pl start
check status perl nipe.pl status
Hola you done it
Note: use of Stacer and bleachbit cause this Errror
so use by own knowledge which memory can be deleted
#anomydarklord

I also had the same issue on my machine (Fresh install of manjaro GNOME). This is what I found so far:

  • I had some problems with the tor service that I fixed by: 1: Reinstalling the tor package | 2: setting proper ownership in the directories /var/lib/tor/ and /var/run/tor/ (The last one didn't even existed) withsudo chown tor:tor <dir> | 3: Setting RunAsDaemon 0 in /etc/tor/torrc

  • The script lib/Nipe/CheckIp.pm is throwing a false positive: Everything is up and running, the tor service and the nipe script, and accessing the URL https://check.torproject.org/api/ip correctly displays the IP address from the tor network and indicates that tor is true. Inside the perl script, the http request is returning a 501 http status code

Screenshot-20190606104217-668x147

Hi Guys,

I think I got this error fixed, can someone please confirm it?

Thx.

Hi - Just tried this from within a docker container. Running into the exact same issue which has been reported.

# git clone https://github.com/GouveaHeitor/nipe
# cd nipe
# cpan install Switch JSON LWP::UserAgent Config::Simple
# perl nipe.pl install
# perl nipe.pl start
# perl nipe.pl status

[!] ERROR: sorry, it was not possible to establish a connection to the server.

Edit:Ran into the same issue when running natively on Ubuntu 18.04

Hi @bluefangs,

Unfortunately, it is not possible to use or Nipe em um container Docker. But já estou trabalhando nisso, quiser acompanhar follow issue #16.

I wonder if it is possible to use in the distributions mentioned above.

Thx

Thanks for your quick response. I tried it again on native Ubuntu 18.04 with some changes suggested by @anomydarklord and it seems to work. Below are the steps to get it to work:

apt-get install libjson-perl libswitch-perl libtest-lwp-useragent-perl
cpan install Switch JSON LWP::UserAgent Config::Simple
git clone https://github.com/GouveaHeitor/nipe.git
cd nipe
perl nipe.pl install
perl nipe.pl start
perl nipe.pl status

[+] Status: activated.	
[+] Ip: XXXXXXXX	

Based on your response I will assume that this issue is resolved.

Well i'm using pop-os even i faced the same problem. Go ahead and execute this command.
apt-get install libjson-perl libswitch-perl libtest-lwp-useragent-perl

apt-get install --reinstall tor

perl nipe.pl start
perl nipe.pl status

curl https://check.torproject.org/api/ip

hey
Hoe do i fully uninstall nipe files from kali
its messed up alot
i need to reinstall it all over again

commented

@r0m305 Did you ever get this taken care of?

Well i'm using pop-os even i faced the same problem. Go ahead and execute this command. apt-get install libjson-perl libswitch-perl libtest-lwp-useragent-perl

apt-get install --reinstall tor

perl nipe.pl start perl nipe.pl status

curl https://check.torproject.org/api/ip

it work! Th

I had that error too.
But I forgot the first command. After I did "$ perl nipe.pl install" everything worked. I had nothing to reinstall.