-
Notifications
You must be signed in to change notification settings - Fork 54
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
SSL: SSLV3_ALERT_HANDSHAKE_FAILURE] sslv3 alert handshake failure (_ssl.c:645) #94
Comments
That's because you're missing parenthesis: It may be the ssl python3 is compile against is too old. A handshake failure usually means the server and the client couldn't negotiate a cipher, possibly because the server has strict requirements. |
Hi, is this the same error as this... Trying https://pirateproxy.onl... Failed (<urlopen error [SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:852)>). Is there a simple fix? |
@bignellrp: you have a different error than @jcvignes. I'd say you have a python built with a very old openssl version. What is your OS/python version? |
Python 2.7.17, Python 3.6.9, Ubuntu 18.04.3 |
Uhm, it's pretty recent. For completeness: can you tell me what's the output of
|
OpenSSL 1.1.1 11 Sep 2018 |
$ pirate-get -0 -S /TV Shows/Downloads/ search the.blacklist.S03e19 -m https://pirateproxy.red
Trying https://pirateproxy.red... Failed
Could not fetch mirrors :(
[SSL: SSLV3_ALERT_HANDSHAKE_FAILURE] sslv3 alert handshake failure (_ssl.c:645)
Hi there. Great tool but keeps generating the error above when trying to use it on El Capitan (Mac OS X 10.11). I have read it might be an OpenSSL issue but, after having spent hours on forum, I am (I think) up to date with:
openssl version -a
OpenSSL 1.0.2j 26 Sep 2016
built on: reproducible build, date unspecified
platform: darwin64-x86_64-cc
options: bn(64,64) rc4(ptr,int) des(idx,cisc,16,int) idea(int) blowfish(idx)
compiler: /usr/bin/clang -I. -I.. -I../include -fPIC -fno-common -DOPENSSL_PIC -DZLIB -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -arch x86_64 -O3 -DL_ENDIAN -Wall -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DWHIRLPOOL_ASM -DGHASH_ASM -DECP_NISTZ256_ASM
OPENSSLDIR: "/opt/local/etc/openssl"
It's the same in Python:
$ python -c "import ssl; print ssl.OPENSSL_VERSION"
OpenSSL 1.0.2j 26 Sep 2016
but for some reason it doesn't seem to be working in Python3, is that why?
python3 -c "import ssl; print ssl.OPENSSL_VERSION"
File "", line 1
import ssl; print ssl.OPENSSL_VERSION
^
SyntaxError: invalid syntax
I would appreciate some help here, I really like the tool!
Many thanks.
The text was updated successfully, but these errors were encountered: