pyspider icon indicating copy to clipboard operation
pyspider copied to clipboard

HTTP 599: SSL certificate problem: unable to get local issuer certificate

Open shaoxyz opened this issue 7 years ago • 6 comments

  • pyspider version: 0.3.9
  • Operating system: Windows10
  • Start up command: pyspider

Expected behavior

Run my spider

Actual behavior

Exception: HTTP 599: SSL certificate problem: unable to get local issuer certificate

How to reproduce

I don't know, there are many solutions tell to add validate_cert=False in craw function, it doesn't work for me .

shaoxyz avatar Aug 15 '17 07:08 shaoxyz

Do you insertvalidate=False int a correct way?

ZhangSanMo avatar Sep 09 '17 11:09 ZhangSanMo

Ummmmm.... I'm getting the same error. Would have been nice if this was answered to closure 9 months ago. Where does validate=False get set? And wouldn't it be nice if that was somewhere in the introduction or tutorial?

kirtcathey avatar Jun 11 '18 10:06 kirtcathey

我是国人,直接上中文了啊! https://www.jianshu.com/p/6900cce4e488 刚整理的599 解决方案,如果解决了你的问题,记得给个小心心

Northxw avatar Nov 15 '18 16:11 Northxw

我也遇到了同样的问题: Exception: HTTP 599: SSL certificate problem: unable to get local issuer certificate。网上搜到的解决方法主要有两种:一个是添加validate_cert=False,另一个是替换pyspider文件夹内所有文件。但是问题都不得解。然后发现以上两个方法解决的问题是:HTTPError: HTTP 599: SSL certificate problem: self signed certificate in certificate chain。与我遇到的问题不一样!跪求大神解答$_$

townechow avatar Dec 07 '18 06:12 townechow

Try adding validate_cert=False to the self.crawl. Like this: self.crawl('http://scrapy.org/', callback=self.index_page, validate_cert=False)

MagTun avatar Apr 04 '19 10:04 MagTun

我在windows上安装就有599Exception: HTTP 599: SSL certificate problem: unable to get local issuer certificate这个问题,尝试了你们常说的两个方法,一个是加参数validate_cert=False,一个是将github的pyspider文件夹替换。都没有解决。后来换管理员的cmd启动就没有这个问题了。 但是这次我是部署在linux上,本来就已经是root用户启动了,我实在没有想到办法了

zoxm avatar May 20 '20 01:05 zoxm