coursera-dl icon indicating copy to clipboard operation
coursera-dl copied to clipboard

Handshake failure

Open foxyreign opened this issue 9 years ago • 5 comments

foxyreign@Foxy-Ubuntu:~/Dropbox/Coursera$ coursera-dl -u [email protected] textretrieval-001 Coursera-dl v3.1.1 (html.parser) Password: Logging in as '[email protected]'... Traceback (most recent call last): File "/usr/local/bin/coursera-dl", line 9, in load_entry_point('coursera-dl==3.1.1', 'console_scripts', 'coursera-dl')() File "/usr/local/lib/python2.7/dist-packages/courseradownloader/courseradownloader.py", line 648, in main d.login(args.course_names[0]) File "/usr/local/lib/python2.7/dist-packages/courseradownloader/courseradownloader.py", line 133, in login res = opener.open(req) File "/usr/lib/python2.7/urllib2.py", line 410, in open response = meth(req, response) File "/usr/lib/python2.7/urllib2.py", line 523, in http_response 'http', request, response, code, msg, hdrs) File "/usr/lib/python2.7/urllib2.py", line 442, in error result = self._call_chain(_args) File "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain result = func(_args) File "/usr/lib/python2.7/urllib2.py", line 629, in http_error_302 return self.parent.open(new, timeout=req.timeout) File "/usr/lib/python2.7/urllib2.py", line 410, in open response = meth(req, response) File "/usr/lib/python2.7/urllib2.py", line 523, in http_response 'http', request, response, code, msg, hdrs) File "/usr/lib/python2.7/urllib2.py", line 442, in error result = self._call_chain(_args) File "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain result = func(_args) File "/usr/lib/python2.7/urllib2.py", line 629, in http_error_302 return self.parent.open(new, timeout=req.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>

foxyreign avatar Mar 31 '15 07:03 foxyreign

Getting this too. Was working up to a few days ago.. wondering what happened.

hammett avatar Apr 01 '15 03:04 hammett

Thanks!

On Sat, Apr 4, 2015 at 11:18 AM, ICodeEverything [email protected] wrote:

Coursera patched their ssl for POODLE. If you upgrade to python 2.7.9 it will fix this issue.

— Reply to this email directly or view it on GitHub https://github.com/dgorissen/coursera-dl/issues/177#issuecomment-89633168 .

Cheers, hammett http://www.d-collab.com/ http://www.hammettblog.com/

hammett avatar Apr 05 '15 06:04 hammett

I upgraded to Python 2.7.9 and checked for most updated coursera-dl but I still get the handshake failure

screenshot from 2015-04-05 19 13 56

foxyreign avatar Apr 05 '15 11:04 foxyreign

screen shot 2015-04-08 at 2 23 10 pm Yep. Handshake failure even after updating to 2.7.9. I'm on OSX 10.10.

solocshaw avatar Apr 07 '15 00:04 solocshaw

Yes. Same error is coming for me. I am on OSx Yosemite 10.10.3 and python version 2.7.6.

However I am able to download some courses (Machine Learning) but for most of the courses it is throwing above error.

Can anybody help?

nitingupta180 avatar May 16 '15 07:05 nitingupta180