Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
S0rci3r opened this issue Jan 5, 2019 · 18 comments

Comments

@S0rci3r
Copy link

S0rci3r commented Jan 5, 2019

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

@naltun
Copy link

naltun commented Feb 24, 2019

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.

@htrgouvea
Copy link
Owner

Hi @S0rci3r and @naltun,

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

Thx

@ExceptionRegret
Copy link

The error is not fixed

@venkateshan-s
Copy link

Still not fixed

@SurjitSahoo
Copy link

still not fixed

@anomydarklord
Copy link

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

Repository owner deleted a comment from anomydarklord May 30, 2019
Repository owner deleted a comment from anomydarklord May 30, 2019
@theonelucas
Copy link

theonelucas commented Jun 5, 2019

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

@htrgouvea
Copy link
Owner

Hi Guys,

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

Thx.

@bluefangs
Copy link

bluefangs commented Jul 26, 2019

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

@htrgouvea
Copy link
Owner

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

@bluefangs
Copy link

bluefangs commented Jul 26, 2019

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	

@htrgouvea
Copy link
Owner

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

@enforcer-pro
Copy link

enforcer-pro commented Aug 1, 2019

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

@r0m305
Copy link

r0m305 commented May 17, 2020

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

@naltun
Copy link

naltun commented Jul 13, 2020

@r0m305 Did you ever get this taken care of?

@r0m305
Copy link

r0m305 commented Jul 14, 2020 via email

@P1xart
Copy link

P1xart commented Aug 1, 2022

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

@vermp00
Copy link

vermp00 commented Apr 10, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment