-
-
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
cancellederror still exist. #2374
Comments
You need third-party lib to fix Here is a couple of them: https://pypi.python.org/pypi/async_armor |
The question without code sample is too broad. |
Almost all methods operate at aioredis, so there is not code sample |
I could confirm, that aiohttp + aioredis causes CancelErrors from aioredis calls side when connection get interrupted by user or else. But I guess, that issue doesn't relates to aiohttp and we nothng here can do. |
I see aiojobs mentioning in initial message. |
aiojobs decorator
socket.io disconnect event
factory leave_roome
user_logic leave_room
gamelogic.leave_room
This is code snippet of my project,
|
Did you find any problems? @asvetlov |
As I see from code and exceptions the problem is not in aiohttp itself but in |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a [new issue] for related bugs. |
Long story short
i've upgraded aiohttp to 2.3 and I processed all my requests with aiojobs.but my project still throws a lot of “cancellederror”,affected aioredis storage.
Expected behaviour
I expect cancellederror to be completely resolved
Actual behaviour
Cancellederror often happens when my application is not accessed for a long time or very complicated
Steps to reproduce
Your environment
aiohttp2.3
aioredis
aiomysql
python-socket.io
centos
python3.6.2
The text was updated successfully, but these errors were encountered: