ossapi icon indicating copy to clipboard operation
ossapi copied to clipboard

Retry `requests` / `aiohttp`-level errors

Open cocoon333 opened this issue 1 year ago • 3 comments

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

cocoon333 avatar Apr 07 '23 10:04 cocoon333

please post the full stacktrace for both errors

tybug avatar Apr 07 '23 16:04 tybug

full stack trace: image

cocoon333 avatar Apr 09 '23 02:04 cocoon333

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 avatar Apr 11 '23 05:04 tybug