问题
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:
- The process gets stuck, often for up to (exactly) 2400 seconds.
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