You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Scrapy docs it is said that Scrapy's default ScrapyClientContextFactory has already disabled certificate verification. So, I assume that the problem is somewhere in hostname verification. I didn't find how to disable hostname verification it Twisted.
One interesting notice: if you put your local MITM proxy with SSL decryption enabled like Charles - the request from Scrapy will succeed.
Description
Requesting a site by its IP address instead of hostname raises OpenSSL.SSL.Error: [('SSL routines', '', 'tlsv1 alert internal error')]
Example spider code:
Same request made with Python
requests
library, providingverify=False
param works fine.In Scrapy docs it is said that Scrapy's default
ScrapyClientContextFactory
has already disabled certificate verification. So, I assume that the problem is somewhere in hostname verification. I didn't find how to disable hostname verification it Twisted.One interesting notice: if you put your local MITM proxy with SSL decryption enabled like Charles - the request from Scrapy will succeed.
Steps to Reproduce
Expected behavior: successful request
Versions
The text was updated successfully, but these errors were encountered: