Trying to fetch... _ssl.c:510: error:14077410:ssl routines:ssl23_get_server_hello:sslv3 alert handshake failure

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
Paulitix
Newbie
Newbie
Posts: 7
Joined: October 21st, 2013, 3:17 pm

Trying to fetch... _ssl.c:510: error:14077410:ssl routines:ssl23_get_server_hello:sslv3 alert handshake failure

Post by Paulitix »

Can somepne please help me troubleshoot this issue. My SAB has been working fine for years, but since I had to powerdown to do a recovery I have been havin an error tryign to fetch URLs. Manually downloadign and adding nzbs works fine

Here is the error:

Code: Select all

2019-11-18 15:41:09,924::INFO::[urlgrabber:125] Grabbing URL https://nzbs.in/getnzb/<HASH>d04470c/2.Despicable.Me.2.2013.BluRay.720p.x264.AC3.3Audios-CMCT/?i=1798&r=<HASH>5698404?&i=1798&r=<HASH>5698404
2019-11-18 15:41:09,981::DEBUG::[urlgrabber:132] Error "<urlopen error [errno 1] _ssl.c:510: error:14077410:ssl routines:ssl23_get_server_hello:sslv3 alert handshake failure>" trying to get the url https://nzbs.in/getnzb/<HASH>d04470c/2.Despicable.Me.2.2013.BluRay.720p.x264.AC3.3Audios-CMCT/?i=1798&r=<HASH>5698404?&i=1798&r=<HASH>5698404
2019-11-18 15:41:09,981::DEBUG::[urlgrabber:367] No usable response from indexer, retry after 60 sec
Version is 2.3.9 [03c10dc] runnign on Ubuntu. Python 2.7.6
User avatar
sander
Release Testers
Release Testers
Posts: 9062
Joined: January 22nd, 2008, 2:22 pm

Re: Trying to fetch... _ssl.c:510: error:14077410:ssl routines:ssl23_get_server_hello:sslv3 alert handshake failure

Post by sander »

Paulitix wrote: November 18th, 2019, 3:46 pm Manually downloadign and adding nzbs works fine
All on the same Ubuntu machine?

... or is another (Windows) machine / phone involved?
Paulitix
Newbie
Newbie
Posts: 7
Joined: October 21st, 2013, 3:17 pm

Re: Trying to fetch... _ssl.c:510: error:14077410:ssl routines:ssl23_get_server_hello:sslv3 alert handshake failure

Post by Paulitix »

I download on a windows machine and save it to the watched folder on the Ubuntu machine.
User avatar
sander
Release Testers
Release Testers
Posts: 9062
Joined: January 22nd, 2008, 2:22 pm

Re: Trying to fetch... _ssl.c:510: error:14077410:ssl routines:ssl23_get_server_hello:sslv3 alert handshake failure

Post by sander »

Clear. On your Ubuntu, what do you get when you run this:

This:

Code: Select all

python -c "import urllib2; response = urllib2.urlopen('https://nzbs.in/'); print response.info()"
and this script:

Code: Select all

#!/usr/bin/env python
import urllib2
request = urllib2.Request("https://nzbs.in/", headers={'User-agent': 'Mozilla/5.0'})
response = urllib2.urlopen(request).read()
print response[:100]
Paulitix
Newbie
Newbie
Posts: 7
Joined: October 21st, 2013, 3:17 pm

Re: Trying to fetch... _ssl.c:510: error:14077410:ssl routines:ssl23_get_server_hello:sslv3 alert handshake failure

Post by Paulitix »

Code: Select all

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python2.7/urllib2.py", line 127, in urlopen
    return _opener.open(url, data, timeout)
  File "/usr/lib/python2.7/urllib2.py", line 404, in open
    response = self._open(req, data)
  File "/usr/lib/python2.7/urllib2.py", line 422, in _open
    '_open', req)
  File "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.7/urllib2.py", line 1222, in https_open
    return self.do_open(httplib.HTTPSConnection, req)
  File "/usr/lib/python2.7/urllib2.py", line 1184, in do_open
    raise URLError(err)
urllib2.URLError: <urlopen error [Errno 1] _ssl.c:510: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure>
User avatar
sander
Release Testers
Release Testers
Posts: 9062
Joined: January 22nd, 2008, 2:22 pm

Re: Trying to fetch... _ssl.c:510: error:14077410:ssl routines:ssl23_get_server_hello:sslv3 alert handshake failure

Post by sander »

OK, so that is a problem with your Ubuntu / python (or maybe your router / firewall / ISP), not with SABnzbd.

I cannot help to solve that.

As a workaround you could try http://nzbs.in/ instead of https://nzbs.in/
User avatar
OneCD
Hero Member
Hero Member
Posts: 596
Joined: March 4th, 2017, 3:47 pm

Re: Trying to fetch... _ssl.c:510: error:14077410:ssl routines:ssl23_get_server_hello:sslv3 alert handshake failure

Post by OneCD »

Python 2.7.6 is quite old too. It was released 6 years ago. ;)
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
sander
Release Testers
Release Testers
Posts: 9062
Joined: January 22nd, 2008, 2:22 pm

Re: Trying to fetch... _ssl.c:510: error:14077410:ssl routines:ssl23_get_server_hello:sslv3 alert handshake failure

Post by sander »

OneCD wrote: November 20th, 2019, 1:53 am Python 2.7.6 is quite old too. It was released 6 years ago. ;)
Ah ... ! And python 2.7.6 was included in Ubuntu 14.04, and Ubuntu 14.04 was supported until April 2019 ... so not anymore.

So, OP, your Ubuntu is not supported anymore, you can expect all kinds of problems. Upgrade your Ubuntu
User avatar
jcfp
Release Testers
Release Testers
Posts: 1004
Joined: February 7th, 2008, 12:45 pm

Re: Trying to fetch... _ssl.c:510: error:14077410:ssl routines:ssl23_get_server_hello:sslv3 alert handshake failure

Post by jcfp »

The host uses a cloudflare ssl certificate that requires client-side SNI support. Needs Python >= 2.7.9 iirc.
User avatar
sander
Release Testers
Release Testers
Posts: 9062
Joined: January 22nd, 2008, 2:22 pm

Re: Trying to fetch... _ssl.c:510: error:14077410:ssl routines:ssl23_get_server_hello:sslv3 alert handshake failure

Post by sander »

jcfp wrote: November 20th, 2019, 3:38 am The host uses a cloudflare ssl certificate that requires client-side SNI support. Needs Python >= 2.7.9 iirc.
Ah, of course. Smart thinking.

SABnzbd 2 should have a warning against Python < 2.7.9.
Paulitix
Newbie
Newbie
Posts: 7
Joined: October 21st, 2013, 3:17 pm

Re: Trying to fetch... _ssl.c:510: error:14077410:ssl routines:ssl23_get_server_hello:sslv3 alert handshake failure

Post by Paulitix »

Upgrading my Ubuntu worked, Python updated to 2.7.12 in the process.
User avatar
sander
Release Testers
Release Testers
Posts: 9062
Joined: January 22nd, 2008, 2:22 pm

Re: Trying to fetch... _ssl.c:510: error:14077410:ssl routines:ssl23_get_server_hello:sslv3 alert handshake failure

Post by sander »

Paulitix wrote: November 21st, 2019, 1:13 am Upgrading my Ubuntu worked, Python updated to 2.7.12 in the process.
Cool! I love it when a plan comes together. :)
Post Reply