-
-
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
Server say "Unhandled exception CancelledError" after send date #2073
Comments
You don't expect web handler cancellation but the handler is cancelled if connection to client is lost (or closed by peer, it doesn't matter). |
I think this is web_protocol problem. we need to catch CancelledError for write_eof() |
+1 |
I have not noticed any incorrect behavior so far. |
Got it |
fixed in master |
Long story short
Error in log after send date
Expected behaviour
I do not wait CancelledError here
Actual behaviour
My server processes 10 - 30 requests per second.
The error appears every 5 to 10 minutes.
Steps to reproduce
I do not known how to reproduce
Your environment
aiohttp 2.2.3
python 3.6.1
ubuntu 12.04 & 14.04
The text was updated successfully, but these errors were encountered: