Scrapy: sslv3 alert handshake failure

Created on 26 Sep 2017  路  3Comments  路  Source: scrapy/scrapy

I have been getting sslv3 errors in scrapy after updating it.
2017-09-11 17:33:20 [scrapy.core.engine] INFO: Spider opened 2017-09-11 17:33:20 [scrapy.extensions.logstats] INFO: Crawled 0 pages (at 0 pages/min), scraped 0 items (at 0 items/min) 2017-09-11 17:33:20 [scrapy.extensions.telnet] DEBUG: Telnet console listening on 127.0.0.1:6025 2017-09-11 17:33:20 [scrapy.downloadermiddlewares.retry] DEBUG: Retrying <GET https://api.citypantry.com/packages/search?page=1&sortBy=relevance> (failed 1 times): [<twisted.python.failure.Failure OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', 'sslv3 alert handshake failure')]>]

Versions:
Scrapy : 1.4.0 lxml : 3.8.0.0 libxml2 : 2.9.3 cssselect : 1.0.1 parsel : 1.2.0 w3lib : 1.18.0 Twisted : 17.5.0 Python : 2.7.12+ (default, Sep 17 2016, 12:08:02) - [GCC 6.2.0 20160914] pyOpenSSL : 17.2.0 (OpenSSL 1.1.0f 25 May 2017) Platform : Linux-4.8.0-59-generic-x86_64-with-Ubuntu-16.10-yakkety

The same thing happens while using python 3.

docs enhancement

Most helpful comment

@Dainius-P , can you try with cryptography<2? (e.g. pip install --upgrade 'cryptography<2')

All 3 comments

@Dainius-P , can you try with cryptography<2? (e.g. pip install --upgrade 'cryptography<2')

It worked, thanks.

This may be worth adding to the FAQ.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

rosspalmer picture rosspalmer  路  3Comments

LokiSharp picture LokiSharp  路  3Comments

tonal picture tonal  路  3Comments

mah1212 picture mah1212  路  3Comments

Urahara picture Urahara  路  4Comments