admin管理员组文章数量:1618731
1、解决方案:
先检查是否加了UA,如果代码没有问题,可能是cryptography 版本问题
pip uninstall cryptography
pip install cryptography==36.0.2
2、报错详情
2022-06-07 03:02:00 [scrapy.downloadermiddlewares.retry] ERROR: Gave up retrying <GET https://desk.zol/dongman/> (failed 3 times): [<twisted.python.failure.Failure OpenSSL.SSL.Error: [(‘SSL routines’, ‘’, ‘unsafe legacy renegotiation disabled’)]>]
2022-06-07 03:02:00 [scrapy.core.scraper] ERROR: Error downloading <GET https://desk.zol/dongman/>
Traceback (most recent call last):
File “D:\soft\python3\lib\site-packages\scrapy\core\downloader\middleware.py”, line 44, in process_request
return (yield download_func(request=request, spider=spider))
twisted.web._newclient.ResponseNeverReceived: [<twisted.python.failure.Failure OpenSSL.SSL.Error: [(‘SSL routines’, ‘’, ‘unsafe legacy renegotiation disabled’)]>]
本文标签: PythonfailurescrapytwistedSSL
版权声明:本文标题:scrapy twisted.python.failure.Failure OpenSSL.SSL.Error 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://www.elefans.com/dongtai/1728782888a1172951.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论