dgorissen / coursera-dl

A script for downloading course material (video's, pdfs, quizzes, etc) from coursera.org
http://dirkgorissen.com/2012/09/07/coursera-dl-a-coursera-download-script/
GNU General Public License v3.0
1.74k stars 300 forks source link

Handshake failure #177

Open foxyreign opened 9 years ago

foxyreign commented 9 years ago

foxyreign@Foxy-Ubuntu:~/Dropbox/Coursera$ coursera-dl -u adrian@foxyreign.com textretrieval-001 Coursera-dl v3.1.1 (html.parser) Password: Logging in as 'adrian@foxyreign.com'... 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>

hammett commented 9 years ago

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

hammett commented 9 years ago

Thanks!

On Sat, Apr 4, 2015 at 11:18 AM, ICodeEverything notifications@github.com 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/

foxyreign commented 9 years ago

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

solocshaw commented 9 years ago

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.

nitingupta180 commented 9 years ago

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?