This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
Consider if "502 Bad Gateway" is the right status code for unavailable federated servers #5837
Labels
T-Enhancement
New features, changes in functionality, improvements in performance, or user-facing enhancements.
z-p2
(Deprecated Label)
Description:
We have seen a number of loadbalancers that consider server failures like 502's to indicate an issue with the server as a whole, and not be scoped to just that specific URL on the server.
This has empirically lead to flip-flopping behaviour where a number of failing requests to a functioning homeserver that is attempting to contact a non-functioning homeserver over federation has lead to the functioning homeserver itself being marked as unavailable, and so traffic has not been routed to it by a loadbalancer.
This is definitely an issue with the loadbalancers, rather than synapse, but they may be out of our control, or the control of our synapse administrators, so we may still wish to address this.
The text was updated successfully, but these errors were encountered: