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

RainLee
  • 4
新手上路,请多包涵

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站可正常采集

回复
阅读 828
撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
你知道吗?

宣传栏