-
Notifications
You must be signed in to change notification settings - Fork 10.4k
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 website. twisted.internet.error.ConnectionLost
#2916
Comments
This worked for me:
Using OpenSSL 1.1.0f (with |
@redapple thanks you for your replay. |
Hmm I also tried pip install --upgrade 'cryptography<2' but I'm getting an error when running
Error
|
I am also facing the same error PS D:\fresh\zomatodata> scrapy version -v PS D:\fresh\zomatodata> python -m pip install --upgrade 'cryptography<2
|
@derrickmar seems that you have different version of OpenSSL, this is the line that works for |
I reached the same issue a couple of weeks ago and the solution was to change the TLS method. |
I had the same Issue, in my case the solution was to set the
|
This issue seems to be related to lots of stuff. @Gallaecio , @raphapassini , @victor-torres ideas here? |
@ejulio, I like to think about this issue as an edge case. Every time things like this happen to me, the first thing I do is to copy and paste the exception core message and that usually leads me to Stack Overflow or a Mailing List or a GitHub issue. In this case, I think users are pretty much covered with such good content here in this thread. |
Aforementioned solution worked: if you are using scrapy shell:
|
I tried all the suggestions above but still didn't manage to fix this problem.
Any words of wisdom are much appreciated. 🙏 |
@anapaulagomes you have to use TLSv1.0 and RC4-MD5 cihper. |
I'm having the same problem in the url |
In my case, the website had changed their protocol but after talking to them (meaning: complaining in public) they changed it again. Thanks, @gbonesso. |
This issue was about TLS problems. Your problem was about post-TLS connection issue. |
Scrapy is very sensitive to OpenSSL version. You also should keep in mind, that python, pyopenssl, cryptography should be compiled with your custom OpenSSL version, even it's not system based version of course. |
You may use my Dockerfile to avoid problems regarding broken TLS connection. |
Closing as there is no single specific problem discussed here, the original issue is no longer reproducible and we have many workarounds some of which were even mentioned. |
Hi everybody!
I catch this error on both OS. This HTTPS site can't be downloaded via scrapy (twisted). I looked on this issue board and I don't found solution.
Both: Debian 9 / Mac OS
Mac OSx:
Debian 9:
Mac OSx:
Debian 9:
Thanks you for your time.
The text was updated successfully, but these errors were encountered: