pyspider报Exception: HTTP 599: GnuTLS recv error (-110)错误
pyspiser安装完成后run报错,错误内容:
`[E 200213 21:15:55 base_handler:203] HTTP 599: GnuTLS recv error (-110): The TLS connection was non-properly terminated.
Traceback (most recent call last):
File "/home/rainlee/.local/lib/python3.5/site-packages/pyspider/libs/base\_handler.py", line 196, in run\_task
result = self.\_run\_task(task, response)
File "/home/rainlee/.local/lib/python3.5/site-packages/pyspider/libs/base\_handler.py", line 175, in \_run\_task
response.raise\_for\_status()
File "/home/rainlee/.local/lib/python3.5/site-packages/pyspider/libs/response.py", line 172, in raise\_for\_status
six.reraise(Exception, Exception(self.error), Traceback.from\_string(self.traceback).as\_traceback())
File "/usr/lib/python3/dist-packages/six.py", line 685, in reraise
raise value.with\_traceback(tb)
File "/home/rainlee/.local/lib/python3.5/site-packages/pyspider/fetcher/tornado\_fetcher.py", line 378, in http\_fetch
response = yield gen.maybe\_future(self.http\_client.fetch(request))
File "/home/rainlee/.local/lib/python3.5/site-packages/tornado/httpclient.py", line 102, in fetch
self.\_async\_client.fetch, request, \*\*kwargs))
File "/home/rainlee/.local/lib/python3.5/site-packages/tornado/ioloop.py", line 458, in run\_sync
return future\_cell\[0\].result()
File "/home/rainlee/.local/lib/python3.5/site-packages/tornado/concurrent.py", line 238, in result
raise\_exc\_info(self.\_exc\_info)
File "<string>", line 4, in raise\_exc\_info
Exception: HTTP 599: GnuTLS recv error (-110): The TLS connection was non-properly terminated.`
有人遇到过吗?如何解决???
使用其他https站可正常采集
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论