Skip to content
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

Retry requests / aiohttp-level errors #62

Open
cocoon333 opened this issue Apr 7, 2023 · 3 comments
Open

Retry requests / aiohttp-level errors #62

cocoon333 opened this issue Apr 7, 2023 · 3 comments

Comments

@cocoon333
Copy link

Calling user on async client causes these two errors sometimes:
image
image

Code for calling get_user:
image

Errors often result in unclosed client sessions

@tybug
Copy link
Owner

tybug commented Apr 7, 2023

please post the full stacktrace for both errors

@cocoon333
Copy link
Author

full stack trace:
image

@tybug
Copy link
Owner

tybug commented Apr 11, 2023

Tempted to say this is "not our problem" in the absence of a reliable repro case, given the message implies this is osu-web side.

Likely the best we can do here is provide an automatic retry mechanism for network errors.

@tybug tybug changed the title Async get user errors Rare Server disconnected error Apr 11, 2023
@tybug tybug changed the title Rare Server disconnected error Retry requests / aiohttp-level errors May 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants