pyspider报Exception: HTTP 599: GnuTLS recv error (-110)错误

发布于 2022-09-12 01:01:12 字数 1670 浏览 21 评论 0

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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文