SSL Error
See original GitHub issueDescription
I get an SSL error on a working website. The error is the following: <twisted.python.failure.Failure OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', 'sslv3 alert handshake failure')]>
Steps to Reproduce
Just execute
scrapy shell https://akut-international.com/
Expected behavior: HTML should return
Actual behavior: SSL Error
Reproduces how often: 100%
Versions
Scrapy : 2.4.1
lxml : 4.1.1.0
libxml2 : 2.9.7
cssselect : 1.0.3
parsel : 1.5.0
w3lib : 1.19.0
Twisted : 17.9.0
Python : 3.6.9 (default, Oct 8 2020, 12:12:24) - [GCC 8.4.0]
pyOpenSSL : 20.0.1 (OpenSSL 1.1.1i 8 Dec 2020)
cryptography : 3.3.1
Platform : Linux-5.4.0-58-generic-x86_64-with-Ubuntu-18.04-bionic
Additional context
I tried many additional verifications:
openssl s_client -connect akut-international.com:443 -servername akut-international.com
-> returns a working handshake- I updated scrapy (see the version I used)
- It work with
requests
. - I have the same issue with:
Scrapy : 1.5.0
lxml : 4.1.1.0
libxml2 : 2.9.7
cssselect : 1.0.3
parsel : 1.4.0
w3lib : 1.19.0
Twisted : 17.9.0
Python : 3.6.12 (default, Aug 17 2020, 23:45:20) - [GCC 9.3.0]
pyOpenSSL : 17.5.0 (OpenSSL 1.1.0g 2 Nov 2017)
cryptography : 2.1.4
Platform : Linux-5.4.0-58-generic-x86_64-with-Ubuntu-20.04-focal
Is that a not working combination? You can test on the website; you should come to the same conclusion as me
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
What Does SSL Connection Error Mean and How to Fix It
Having SSL connection error on your website leads to loss of visitors and reduced sales numbers. Read on to learn what it is...
Read more >What Do SSL Certificate Errors Mean: Causes & How to Fix ...
An SSL certificate error occurs when the browser cannot verify the SSL certificates returned by the server. When the error happens, the browser ......
Read more >8 Ways to Fix SSL Connection Errors on Various Browsers ...
In broad terms, SSL connection errors will prevent you from browsing a website securely over Hypertext Transfer Protocol Secure (HTTPS). Your ...
Read more >SSL errors – common codes and messages - Paessler
The SSL error is caused by a problem with the root certificate. When you use client SSL and make a request for a...
Read more >What is SSL on iPhone? How to Enable SSL on an iPhone
'SSL Error on iPhone” is an error customarily observed when an outdated version of an SSL certificate in place of the latest TLS...
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 Free
Top 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
Not really, that should be the lowest Twisted version Scrapy supports, and it remains the same.
We could cover this issue somewhere in the documentation, but I’m hoping people will easily find this issue from now on, and that will serve as documentation enough.
Confirmed, works with 18.4.0.
It solves my problem but you might want to change some line here: https://github.com/scrapy/scrapy/blob/master/setup.py#L22 😄