Page 1 of 1
Trying to fetch... _ssl.c:510: error:14077410:ssl routines:ssl23_get_server_hello:sslv3 alert handshake failure
Posted: November 18th, 2019, 3:46 pm
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
Re: Trying to fetch... _ssl.c:510: error:14077410:ssl routines:ssl23_get_server_hello:sslv3 alert handshake failure
Posted: November 18th, 2019, 5:13 pm
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?
Re: Trying to fetch... _ssl.c:510: error:14077410:ssl routines:ssl23_get_server_hello:sslv3 alert handshake failure
Posted: November 18th, 2019, 6:25 pm
by Paulitix
I download on a windows machine and save it to the watched folder on the Ubuntu machine.
Re: Trying to fetch... _ssl.c:510: error:14077410:ssl routines:ssl23_get_server_hello:sslv3 alert handshake failure
Posted: November 19th, 2019, 1:33 am
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]
Re: Trying to fetch... _ssl.c:510: error:14077410:ssl routines:ssl23_get_server_hello:sslv3 alert handshake failure
Posted: November 19th, 2019, 6:59 pm
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>
Re: Trying to fetch... _ssl.c:510: error:14077410:ssl routines:ssl23_get_server_hello:sslv3 alert handshake failure
Posted: November 20th, 2019, 1:49 am
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/
Re: Trying to fetch... _ssl.c:510: error:14077410:ssl routines:ssl23_get_server_hello:sslv3 alert handshake failure
Posted: November 20th, 2019, 1:53 am
by OneCD
Python 2.7.6 is quite old too. It was released 6 years ago.
Re: Trying to fetch... _ssl.c:510: error:14077410:ssl routines:ssl23_get_server_hello:sslv3 alert handshake failure
Posted: November 20th, 2019, 2:03 am
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
Re: Trying to fetch... _ssl.c:510: error:14077410:ssl routines:ssl23_get_server_hello:sslv3 alert handshake failure
Posted: November 20th, 2019, 3:38 am
by jcfp
The host uses a cloudflare ssl certificate that requires client-side SNI support. Needs Python >= 2.7.9 iirc.
Re: Trying to fetch... _ssl.c:510: error:14077410:ssl routines:ssl23_get_server_hello:sslv3 alert handshake failure
Posted: November 20th, 2019, 12:19 pm
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.
Re: Trying to fetch... _ssl.c:510: error:14077410:ssl routines:ssl23_get_server_hello:sslv3 alert handshake failure
Posted: November 21st, 2019, 1:13 am
by Paulitix
Upgrading my Ubuntu worked, Python updated to 2.7.12 in the process.
Re: Trying to fetch... _ssl.c:510: error:14077410:ssl routines:ssl23_get_server_hello:sslv3 alert handshake failure
Posted: November 21st, 2019, 1:24 am
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.