Errno 111 - Connection Refused

Get help with all aspects of SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
eb98jdb
Newbie
Newbie
Posts: 11
Joined: March 2nd, 2017, 12:37 pm

Errno 111 - Connection Refused

Post by eb98jdb »

I'm suddenly seeing the above error from two different usenet providers? All has been running well previously for a couple of months so not sure why this would suddenly pop up. I did install Deluge yesterday - could this be related somehow?

This is on a VPS running Ubuntu 16.04 - any help would be much appreciated!

Thanks,

INFO::[newswrapper:283] Failed to connect: (110, '[Errno 111] Connection refused') [email protected]:563
2017-09-26 22:00:27,852::INFO::[newswrapper:283] Failed to connect: (110, '[Errno 111] Connection refused') [email protected]:563
2017-09-26 22:00:27,853::INFO::[downloader:487] [email protected]: Initiating connection
2017-09-26 22:00:27,853::INFO::[newswrapper:283] Failed to connect: (110, '[Errno 111] Connection refused') [email protected]:563
2017-09-26 22:00:27,854::INFO::[downloader:487] [email protected]: Initiating connection
2017-09-26 22:00:27,854::INFO::[newswrapper:283] Failed to connect: (110, '[Errno 111] Connection refused') [email protected]:563
2017-09-26 22:00:27,855::INFO::[downloader:487] [email protected]: Initiating connection
2017-09-26 22:00:27,856::INFO::[newswrapper:283] Failed to connect: (110, '[Errno 111] Connection refused') [email protected]:563
2017-09-26 22:00:27,857::INFO::[downloader:487] [email protected]: Initiating connection
2017-09-26 22:00:27,857::INFO::[newswrapper:283] Failed to connect: (110, '[Errno 111] Connection refused') [email protected]:563
2017-09-26 22:00:27,858::INFO::[downloader:487] [email protected]: Initiating connection
2017-09-26 22:00:27,858::INFO::[newswrapper:283] Failed to connect: (110, '[Errno 111] Connection refused') [email protected]:563
2017-09-26 22:00:27,859::INFO::[downloader:487] [email protected]: Initiating connection
2017-09-26 22:00:27,866::INFO::[newswrapper:283] Failed to connect: (110, '[Errno 111] Connection refused') [email protected]:563
2017-09-26 22:00:27,867::INFO::[downloader:487] [email protected]: Initiating connection
2017-09-26 22:00:27,867::INFO::[newswrapper:283] Failed to connect: (110, '[Errno 111] Connection refused') [email protected]:563
2017-09-26 22:00:27,868::INFO::[downloader:487] [email protected]: Initiating connection
2017-09-26 22:00:27,869::INFO::[newswrapper:283] Failed to connect: (110, '[Errno 111] Connection refused') [email protected]:563
2017-09-26 22:00:27,869::INFO::[newswrapper:283] Failed to connect: (110, '[Errno 111] Connection refused') [email protected]:563
2017-09-26 22:02:29,008::INFO::[downloader:487] [email protected]: Initiating connection
2017-09-26 22:02:29,011::INFO::[newswrapper:283] Failed to connect: (110, '[Errno 111] Connection refused') [email protected]:563
2017-09-26 22:02:29,012::INFO::[downloader:487] [email protected]: Initiating connection
2017-09-26 22:02:29,012::INFO::[downloader:487] [email protected]: Initiating
User avatar
OneCD
Hero Member
Hero Member
Posts: 557
Joined: March 4th, 2017, 3:47 pm

Re: Errno 111 - Connection Refused

Post by OneCD »

This may not help much, but I've just checked XS News - no problems there - connections are 'making' fine from my end. ;)
Stuff I like: Apache bash cron DD-WRT Debian DNSMasq Entware FireFox GitHub ImageMagick Kate KDE LibreELEC Netrunner NFS NVIDIA OpenVPN Orvibo-S20 pfSense Python Raspberry-Pi RAID SABnzbd Transmission Usenet VirtualBox Watcher3 XFCE
User avatar
safihre
Administrator
Administrator
Posts: 5366
Joined: April 30th, 2015, 7:35 am
Contact:

Re: Errno 111 - Connection Refused

Post by safihre »

Why does it say "0.0.0.0:563"?
This seems to indicate that maybe something was altered in your hosts file? Or other DNS problems.
Because now reader.xsnews.nl resolves to IP address 0.0.0.0 somehow, which is of course wrong.

Have you tried restarting the box? And then removing and re-adding the servers using only basic (server/username/password) settings?
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
User avatar
sander
Release Testers
Release Testers
Posts: 8830
Joined: January 22nd, 2008, 2:22 pm

Re: Errno 111 - Connection Refused

Post by sander »

If news.newshosting.com resolves to 0.0.0.0, there is something very wrong with your DNS / resolving.

I guess a reboot of your Ubuntu VPS will solve this.

If not:

1) on the CLI, type

Code: Select all

host news.newshosting.com
and post the output here. See my example below.

2) set SABnzbd to debug, and tell what it says about its IP addresses under Status (=wrench symbol)


Code: Select all

$ host news.newshosting.com
news.newshosting.com is an alias for esp.eu.news.geo.newshosting.com.
esp.eu.news.geo.newshosting.com is an alias for news.fr7.newshosting.com.
news.fr7.newshosting.com has address 81.171.118.134
news.fr7.newshosting.com has address 81.171.118.135
news.fr7.newshosting.com has address 81.171.118.136
eb98jdb
Newbie
Newbie
Posts: 11
Joined: March 2nd, 2017, 12:37 pm

Re: Errno 111 - Connection Refused

Post by eb98jdb »

I'm seeing

news.newshosting.com is an alias for deu.eu.news.geo.newshosting.com.
deu.eu.news.geo.newshosting.com is an alias for news.fr7.newshosting.com.
news.fr7.newshosting.com has address 81.171.118.135
news.fr7.newshosting.com has address 81.171.118.134
news.fr7.newshosting.com has address 81.171.118.136

and

Local IPv4 address173.212.blabla
Public IPv4 addressConnection failed!
IPv6 address2a02:blabla
Nameserver / DNS LookupOK

So we're definitely isolating the issue - I've got the feeling it's to do with installing Deluge and I switched on (then off) a plugin called blocklist? Thanks for your help so far
User avatar
sander
Release Testers
Release Testers
Posts: 8830
Joined: January 22nd, 2008, 2:22 pm

Re: Errno 111 - Connection Refused

Post by sander »

Public IPv4 address Connection failed!
is bad. It makes me think you cannot make an Internet connection at all. So let's check:

On your Ubuntu, what is the output of:

Code: Select all

python -c "import urllib2; response = urllib2.urlopen('https://ipinfo.io/ip'); print response.read() "
Example:

Code: Select all

$ python -c "import urllib2; response = urllib2.urlopen('https://ipinfo.io/ip'); print response.read() "
80.39.157.222
User avatar
sander
Release Testers
Release Testers
Posts: 8830
Joined: January 22nd, 2008, 2:22 pm

Re: Errno 111 - Connection Refused

Post by sander »

WAIT: you did reboot your machine, didn't you?
eb98jdb
Newbie
Newbie
Posts: 11
Joined: March 2nd, 2017, 12:37 pm

Re: Errno 111 - Connection Refused

Post by eb98jdb »

Yes, I did reboot.

Output is 173.212.197.231 (which is my IP address)
User avatar
sander
Release Testers
Release Testers
Posts: 8830
Joined: January 22nd, 2008, 2:22 pm

Re: Errno 111 - Connection Refused

Post by sander »

So the python one-liner does work? That is strange.

Can you check sabnzbd.log for lines with "news.newshosting.com" in it? Copy them here.

My logging:

Code: Select all

2017-09-28 08:52:00,740::INFO::[downloader:487] [email protected]: Initiating connection
2017-09-28 08:52:00,931::INFO::[happyeyeballs:138] Quickest IP address for news.newshosting.com (port 563, ssl 1, preferipv6 True) is 81.171.118.134
2017-09-28 08:52:00,936::DEBUG::[downloader:130] news.newshosting.com: Connecting to address 81.171.118.134
2017-09-28 08:52:00,941::INFO::[downloader:487] [email protected]: Initiating connection
2017-09-28 08:52:00,942::DEBUG::[downloader:111] news.newshosting.com: Re-using address 81.171.118.134

2017-09-28 08:52:01,098::INFO::[newswrapper:122] [email protected]: Connected using TLSv1.2 (AES128-SHA)
2017-09-28 08:52:01,106::INFO::[newswrapper:122] [email protected]: Connected using TLSv1.2 (AES128-SHA)
eb98jdb
Newbie
Newbie
Posts: 11
Joined: March 2nd, 2017, 12:37 pm

Re: Errno 111 - Connection Refused

Post by eb98jdb »

Thanks for your help - I've rolled the VPS back to a previous backup which has solved the problem. Will see if I can replicate.
eb98jdb
Newbie
Newbie
Posts: 11
Joined: March 2nd, 2017, 12:37 pm

Re: Errno 111 - Connection Refused

Post by eb98jdb »

FYI - this happened again when I update Sabnzbd. I've no idea why but in doing the update it changes the addresses of both the usenet servers to 0.0.0.0 - so easy enough to fix when I spotted it.
User avatar
sander
Release Testers
Release Testers
Posts: 8830
Joined: January 22nd, 2008, 2:22 pm

Re: Errno 111 - Connection Refused

Post by sander »

eb98jdb wrote: October 3rd, 2017, 2:46 pm FYI - this happened again when I update Sabnzbd. I've no idea why but in doing the update it changes the addresses of both the usenet servers to 0.0.0.0 - so easy enough to fix when I spotted it.
SAB changes the server names to "0.0.0.0"?! Can you post a screenshot of the Server page?
And if you change it back to the server name, does it work?
eb98jdb
Newbie
Newbie
Posts: 11
Joined: March 2nd, 2017, 12:37 pm

Re: Errno 111 - Connection Refused

Post by eb98jdb »

I'm not able to screenshot as have changed them back to the normal settings - SAB works fine now. I updated using AtoMiC-ToolKit. I don't know if that is somehow related.
User avatar
sander
Release Testers
Release Testers
Posts: 8830
Joined: January 22nd, 2008, 2:22 pm

Re: Errno 111 - Connection Refused

Post by sander »

eb98jdb wrote: October 3rd, 2017, 3:13 pm I'm not able to screenshot as have changed them back to the normal settings - SAB works fine now. I updated using AtoMiC-ToolKit. I don't know if that is somehow related.
If you can reproduce with AtoMiC-ToolKit, I would report it there: https://github.com/htpcBeginner/AtoMiC-ToolKit/issues
Post Reply