Open jeffcasavant opened 4 years ago
As an update, after checking a few hours later, whatever issue that got cached and stuck seems to have resolved itself, and my homeserver was able to properly federate/communicate with other matrix homeservers, including matrix.org.
I would definitely agree that at least a warning ought to be thrown by the federation tester for warning about the redirect, as it might save some other poor soul a few hours of grief. I don't necessarily think that this ought to be handled by synapse itself as it was ultimately a misconfiguration on my part.
I was helping @PaarthShah troubleshoot their synapse installation this evening. The federation tester said there was no .well-known file, and that everything was okay (the admin was using a SRV record) but Synapse would throw errors when attempting to federate:
Turns out the server well-known file actually returned a redirect loop, and that broke federation. The federation spec in 3.1.3 says
which I interpret to mean a redirect loop is not an outright error, but that homeserver implementors don't necessarily need to detect them.
I filed this bug against the federation tester rather than Synapse due to that interpretation.
It's also intuitive to me that the federation tester should not sign off on instances that the most popular homeserver won't successfully federate with - but that's more of a de-facto than explicit specification, so it's kind of a judgement call.
Notes on troubleshooting