# Rocket.Chat / Matrix federation: connected but messaging only works one way

**URL:** <https://forums.rocket.chat/t/rocket-chat-matrix-federation-connected-but-messaging-only-works-one-way/15964>\
**Category:** Community Support\
**Created:** [February 10, 2023, 5:47pm UTC](https://forums.rocket.chat/t/rocket-chat-matrix-federation-connected-but-messaging-only-works-one-way/15964 "2023-02-10T17:47:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rocketwolfe](https://avatars.discourse-cdn.com/v4/letter/r/a8b319/32.png) [@rocketwolfe](https://forums.rocket.chat/u/rocketwolfe)\
**Post date:** [February 10, 2023, 5:47pm UTC](https://forums.rocket.chat/t/rocket-chat-matrix-federation-connected-but-messaging-only-works-one-way/15964/1 "2023-02-10T17:47:49Z")

</div>

### Description

I have been running a Rocket.Chat server for a while and everything is working as expected. Now I got curious and installed a Matrix Synapse server alongside to try federation. Both servers are running docker using separate docker-compose files (so they are in separate stacks). In the RC container I opened up port 3300 for the bridge to be reachable.

After some fiddling, I got synapse working (federation tester showing a green light). I added the registration.yaml from the RC GUI to the synapse data dir and added it to the homeserver.yaml. Then I restarted both servers.

Typing /federation dm @admin:matrix.example.com I was able to send a message to the synapse matrix user (who got automatically invited and, as I understand, autojoined).

The problem is: when @admin:matrix.example.com replies to the message, the reply does not show up in RC.

### Server Setup Information

- Version of Rocket.Chat Server: 5.4.1
- Operating System: Debian 11.6
- Deployment Method: docker (compose)
- Number of Running Instances: 1
- DB Replicaset Oplog: yes
- NodeJS Version: 14.19.3
- MongoDB Version: 5.0.14
- Proxy: haproxy
- Firewalls involved: pfsense (but this should be happening behind the firewall)

---

<div class="post-metadata">

**Author:** ![rocketwolfe](https://avatars.discourse-cdn.com/v4/letter/r/a8b319/32.png) [@rocketwolfe](https://forums.rocket.chat/u/rocketwolfe)\
**Post date:** [February 11, 2023, 8:19pm UTC](https://forums.rocket.chat/t/rocket-chat-matrix-federation-connected-but-messaging-only-works-one-way/15964/2 "2023-02-11T20:19:05Z")

</div>

While I am waiting for someone to come along who knows how this integration works (because I don’t):

Is anybody actually using this integration (in production)?
