FR: Health tracking should store the last error when flagging a server as unhealthy #2643

Open
opened 2026-12-03 17:51:31 +00:00 by nex · 0 comments
Owner

What new feature do you want to see? What problem does it solve?

Currently, figuring out why a server is unhealthy requires either running the federation service at debug log level, or making a request that fails and then causes the remote to be flagged. This makes it very difficult to find out what actually caused a remote to be flagged, and often requires a race-y dance of clearing caches and running pings again just to get the real error.

I think the health tracker should store what error triggered a flag so that it can be returned in the M_LIMIT_EXCEEDED error, to make troubleshooting easier

Further reading

No response

Additional context

No response

### What new feature do you want to see? What problem does it solve? Currently, figuring out why a server is unhealthy requires either running the federation service at debug log level, or making a request that fails and then causes the remote to be flagged. This makes it very difficult to find out what actually caused a remote to be flagged, and often requires a race-y dance of clearing caches and running pings again just to get the real error. I think the health tracker should store what error triggered a flag so that it can be returned in the `M_LIMIT_EXCEEDED` error, to make troubleshooting easier ### Further reading _No response_ ### Additional context _No response_
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
continuwuation/continuwuity#2643
No description provided.