sslv3 alert handshake failure when making a request
See original GitHub issueHi there, I recently upgraded to the latest scrapy and on some sites SSL enabled sites I get an exception when trying to make requests to it, while on previous scrapy versions I didn’t have this issue. The issue can be seen by making a request with scrapy shell:
scrapy shell "https://www.gohastings.com/"
The error I get is:
Retrying <GET https://www.gohastings.com/> (failed 1 times): <twisted.python.failure.Failure OpenSSL.SSL.Error: ('SSL routines', 'SSL3_READ_BYTES', 'sslv3 alert handshake failure'), ('SSL routines', 'SSL3_WRITE_BYTES', 'ssl handshake failure')>
Issue Analytics
- State:
- Created 8 years ago
- Comments:36 (18 by maintainers)
Top Results From Across the Web
ssl - Solving sslv3 alert handshake failure when trying to use a ...
It works when I try with a received a test certificate including a private key from the service (self signed certificate). But when...
Read more >SSL3_READ_BYTES:sslv3 alert handshake failure - How to fix?
SSLV3 alert handshake failure occurs when a client and server cannot establish communication using the TLS/SSL protocol.
Read more >How to Fix “SSL Handshake Failed” & "Cloudflare 525" Error
An SSL Handshake Failure or Error 525 means that the server and browser were unable to establish a secure connection. This can happen...
Read more >Troubleshooting sslv3 alert handshake failure and tlsv1 alert ...
Your server is attempting a secure connection to using the outdated SSL protocol. As this is no longer secure, most providers now require ......
Read more >TLS/SSL Handshake Failures | Apigee Edge
A TLS/SSL handshake failure occurs when a client and server cannot establish communication using the TLS/SSL protocol. When this error occurs in Apigee...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Well I have no idea what’s going on now.
I’ve uninstalled cryptography and pyopenssl and reinstalled them with and without brew prefix flags and pOpenSSL is linking to the newer homebrew ssl versions and everything is working.
So, to anybody who’s hitting this bug:
will return one of the following:
If it’s OpenSSL version
0.9.8
then you need to try again.So basically you can probably ignore my previous two posts.
Here ya go: https://github.com/scrapy/scrapy/pull/1909