-
Notifications
You must be signed in to change notification settings - Fork 11.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
matrix federation stops working after upgrading to 6.12.0 #33240
Comments
No idea about the rest of it but please note you should never use 'latest' here:
Always, always, always set a version and be in control. No nasty surprises then. Have you tested on 6.11.x? |
@reetp you are right, I've updated the original comment to
I've tried every major version from 6.6 to 6.12 and can confirm that the problem only occurs in 6.12 |
Digging deeper, Rocket.Chat 6.12 started to send pings to the homeserver to verify the configuration is correct, see https://github.com/RocketChat/Rocket.Chat/blob/develop/apps/meteor/server/services/federation/service.ts#L290 |
I also could make it work in both directions with synapse 1.71 and rocket.chat 6.11.2 |
Don't need to @ people - I read it all. Good test and thanks. Sure the team will be on it. |
One more observation: never versions of synapse using the |
FYI this has been passed to the internal teams for consideration. |
I might have been wrong about the legacy routes, the federation mostly works for me now after setting |
Hello!
Based on @individual-it recommendation, i have tried to put
P.S. to try this, you should drop synapse db & configs then changing synapse / RC versions |
Seems the OP is no on 7.1.x ? What was your fix please? This can be closed? |
As mentioned above (by my and @IvanOtkidach), the magic fix seems to be to set I didn't feel that I am in the position to decide if that is a proper solution or an other change in Rocket.Chat is needed, so I didn't close the issue. Also the issue was tagged as After digging around I found #33281. That PR does not give any explanation but I believe it's hard-coding the mentioned setting into the rocket.chat. It is also not mentioned in the changelog of the releases, but looking at the dates I believe it landed in 7.2.0. So was that the fix for this bug? 🤷 So as it works with 6.12 and 7.1.1 I am closing this issue, feel free to reopen if there is something else to do. |
Description:
I've managed to setup the matrix federation on a virgin server with Rocket.Chat v 6.6.3 and the automated script from https://docs.rocket.chat/docs/deploy-a-federated-rocketchat-workspace-with-docker
But after upgrading to 6.12.0 it stops working
Steps to reproduce:
RC_IMAGE=registry.rocket.chat/rocketchat/rocket.chat:6.6.3
andROCKETCHAT_IMAGE_TAG=6.6.3
in the.env
file, because that is the last version that takes the federation config from theregistration.yaml
file as the setup script expects, see chore(federation-v2): do not load registration.yaml file in container #32012.env
file to containRC_IMAGE=registry.rocket.chat/rocketchat/rocket.chat:6.11.2
andROCKETCHAT_IMAGE_TAG=6.11.2
.env
file to containRC_IMAGE=registry.rocket.chat/rocketchat/rocket.chat:6.12.0
andROCKETCHAT_IMAGE_TAG=6.12.0
Verify configuration
Expected behavior:
Federation should still work
Actual behavior:
Message appears saying:
Configuration could only be partially verified, homeserver configuration looks good, failed to verify appservice configuration: received unknown status from homeserver, message: Bad Request
Server Setup Information:
Client Setup Information
Additional context
Relevant logs:
Sending a message from Rocket.Chat gives this log output:
The text was updated successfully, but these errors were encountered: