Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSLv3 not longer supported #18

Open
gianni72 opened this issue Jan 19, 2016 · 7 comments
Open

SSLv3 not longer supported #18

gianni72 opened this issue Jan 19, 2016 · 7 comments

Comments

@gianni72
Copy link

Hello,

you need to modify the script to use TLS instead of SSLv3

I got this error:

Traceback (most recent call last):
File "wetransfer.py", line 127, in
main(sys.argv[1:])
File "wetransfer.py", line 119, in main
download(file_id, recipient_id, security_hash)
File "wetransfer.py", line 34, in download
r = requests.get(download_data['direct_link'], stream=True)
File "/usr/local/lib/python2.7/dist-packages/requests/api.py", line 55, in get
return request('get', url, *_kwargs)
File "/usr/local/lib/python2.7/dist-packages/requests/api.py", line 44, in request
return session.request(method=method, url=url, *_kwargs)
File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 383, in request
resp = self.send(prep, *_send_kwargs)
File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 486, in send
r = adapter.send(request, *_kwargs)
File "/usr/local/lib/python2.7/dist-packages/requests/adapters.py", line 385, in send
raise SSLError(e)
requests.exceptions.SSLError: [Errno 1] _ssl.c:504: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure

@szepeviktor
Copy link
Contributor

Maybe you're using old Python or old requests module.

@sachacohenfr
Copy link

I have the same problem, how to resolve it ?

@szepeviktor
Copy link
Contributor

Try updating your requests package. Maybe pip install --upgrade requests

@sachacohenfr
Copy link

I just update the package, but this is the same...

@szepeviktor
Copy link
Contributor

szepeviktor commented Nov 23, 2016

Maybe your openssl version or python version.

A certificate issue? Does the output of openssl s_client -connect www.wetransfer.com:443 end in Verify return code: 0 (ok) ?

@sachacohenfr
Copy link

This is the return : Verify return code: 20 (unable to get local issuer certificate)

@szepeviktor
Copy link
Contributor

In Debian the package is called ca-certificates
Please check your root certificates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants