Skip to content

Incompatible method call to SSL #5636

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

Closed
nroose opened this issue Sep 26, 2022 · 2 comments
Closed

Incompatible method call to SSL #5636

nroose opened this issue Sep 26, 2022 · 2 comments

Comments

@nroose
Copy link

nroose commented Sep 26, 2022

Description

Incompatible method call to SSL

Steps to Reproduce

  1. Run scrapy

Expected behavior: Loading the tls.py file doesn't crash.

Actual behavior: Loading the tls.py file crashes.

Reproduces how often: 100%

Versions

Scrapy : 2.5.1
lxml : 4.9.1.0
libxml2 : 2.9.14
cssselect : 1.1.0
parsel : 1.6.0
w3lib : 2.0.1
Twisted : 22.8.0
Python : 3.9.14 (main, Sep 6 2022, 23:29:09) - [Clang 13.1.6 (clang-1316.0.21.2.5)]
pyOpenSSL : 22.1.0 (OpenSSL 3.0.5 5 Jul 2022)
cryptography : 38.0.1
Platform : macOS-12.6-x86_64-i386-64bit

Additional context

File "/Users/nroose/Library/Python/3.9/lib/python/site-packages/scrapy/core/downloader/tls.py", line 23, in
METHOD_SSLv3: SSL.SSLv3_METHOD, # SSL 3 (NOT recommended)
AttributeError: module 'OpenSSL.SSL' has no attribute 'SSLv3_METHOD'

@nroose
Copy link
Author

nroose commented Sep 26, 2022

pyOpenSSL version 22.1.0 removes support for SSLv3. It was out 9/25.

@Gallaecio
Copy link
Member

Duplicate of #5635

@Gallaecio Gallaecio marked this as a duplicate of #5635 Sep 26, 2022
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

2 participants