Python aiohttp been receiving SSL transport errors

╄→гoц情女王★ 提交于 2020-01-04 06:30:15

问题


We have an application running that relies heavily on asyncio. It sends hundreds of get requests per minute to mostly the same host, but with different urls. Since about 3 weeks, we observe the following issues:

  1. The process gets stuck, often for up to (exactly) 2400 seconds.
  2. We observe the following error in the logging:

    2018-12-07T23:37:33Z ERROR base_events.py: Fatal error on SSL transport protocol: File "/usr/lib64/python3.6/asyncio/sslproto.py", line 638, in _process_write_backlog ssldata, offset = self._sslpipe.feed_appdata(data, offset)

Python version: 3.6.3 aiohttp version: 3.4.4

Question 1: Does anyone know what is going on here? And how can we get rid of those nasty periods of the process getting stuck ... ? (Or how to debug?)

Question 2: Can this be related?: https://bugs.python.org/issue29406

来源:https://stackoverflow.com/questions/53704867/python-aiohttp-been-receiving-ssl-transport-errors

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!