You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We got a small federation running for Raiden Network, and because of some disk full issue, one of the servers crashed. Following it, the healthy ones started returning some unexpected responses for interactions with users on the healthy ones.
E.g. trying to invite an user in the unhealthy server to a room in the healthy one, the invite request returned:
if the error isn't a json, json.JSONDecodeError will be raised.
Quick fix is to add json.JSONDecodeError to the handled errors in L734
Full stack traces and context can be found in raiden-network/raiden#2603
The text was updated successfully, but these errors were encountered:
Hi, @MyDev45 . my solution for now was to handle the exception myself and implement a retry loop, outside matrix_client. The patch should be simple though, if you can fork or reinstantiate the classes.
We got a small federation running for Raiden Network, and because of some disk full issue, one of the servers crashed. Following it, the healthy ones started returning some unexpected responses for interactions with users on the healthy ones.
E.g. trying to invite an user in the unhealthy server to a room in the healthy one, the invite request returned:
but from
matrix-python-sdk/matrix_client/api.py
Lines 731 to 735 in e366d52
if the
error
isn't a json,json.JSONDecodeError
will be raised.Quick fix is to add
json.JSONDecodeError
to the handled errors in L734Full stack traces and context can be found in raiden-network/raiden#2603
The text was updated successfully, but these errors were encountered: