-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"application data after close notify on" 4.0.0a1 #4526
Comments
What OpenSSL version do you use? |
It happens for me on two systems at least:
|
Did you try uvloop? |
Not yet, I'll do it ASAP and let you know. |
So, it does happen for uvloop as well, but the traceback is slightly different: default loop:
uvloop:
The error disappears if I actually read the content and wait for it... (Add async def run_example():
async with aiohttp.ClientSession() as session:
async with session.get(url) as resp:
await resp.content.read() (edit: the above tracebacks are from Python 3.7.5, aiohttp 4.0.0a1, qemu VM, Linux 5.3.0-26-generic Ubuntu 19.10) |
There is this warning which I get that can be helpful (here with tracemalloc):
|
Thanks! |
A little update on this. I've updated Python to 3.8.2 and it's still the case. Looks like it's really aiohttp==4.0.0a1. It does not happen with aiohttp==3.6.2. Very reliable to reproduce here with the above snippet. @asvetlov : Any idea on when there will be a stable 4.0 release, or whether I better downgrade for now? |
I am experiencing the same issue with Python 3.9 and 4.0.0a1. Never happened with aiohttp 3.6 and 3.7. Using uvloop. |
That version is well over a year old. I'd recommend either using master on sticking with the 3.x releases for now. |
Although I can reproduce on master with the original example (though the error disappears if I actually read the response, like |
@Dreamsorcerer, may I ask you to check whether this issue is still reproducible on your machine with my patch? Branch with fix can be found here #6321 |
Yes, error goes away with that branch. |
See: #3477
I'm experiencing this issue on the 4.0.0a1 release.
It can be reproduced with this script (Thanks @Cadair):
Python version: 3.7.3, on Linux (WSL).
The text was updated successfully, but these errors were encountered: