Closed
Description
Long story short
The transport attribute on requests is sometimes (like 1/month on a rather idle system!?) None – I cannot figure out why?
Expected behaviour
Either never be None or an explanation in http://docs.aiohttp.org/en/stable/web_reference.html#aiohttp.web.BaseRequest.transport
Could it be some kind of cancellation behavior!?
Actual behaviour
I get an email from Sentry that 'NoneType' object has no attribute 'get_extra_info'
.
Steps to reproduce
I have no idea. I don’t even have an idea whether it’s a behavioral or documentation bug. :(
Your environment
Bionic Beaver in a Docker container; aiohttp 3.4.4. This doesn’t appear to be a recent regression though, I just lived with it because I had no clue what to do about it.