# \[Synapse\] Instant messaging server matrix network

**URL:** https://forum.yunohost.org/t/synapse-instant-messaging-server-matrix-network/4381
**Category:** Apps
**Tags:** synapse
**Created:** [February 17, 2018, 4:03pm UTC](https://forum.yunohost.org/t/synapse-instant-messaging-server-matrix-network/4381 "2018-02-17T16:03:01Z")
**Posts on this page:** 20
**Page:** 8

<div class="post-metadata">

### Author: ![kaulian](https://forum.yunohost.org/user_avatar/forum.yunohost.org/kaulian/32/7304_2.png) [@kaulian](https://forum.yunohost.org/u/kaulian)
#### Post date: [July 20, 2023, 11:46am UTC](https://forum.yunohost.org/t/synapse-instant-messaging-server-matrix-network/4381/143 "2023-07-20T11:46:22Z")

</div>

Yes 🙂

---

<div class="post-metadata">

### Author: ![Zinkie](https://forum.yunohost.org/user_avatar/forum.yunohost.org/zinkie/32/345_2.png) [@Zinkie](https://forum.yunohost.org/u/Zinkie)
#### Post date: [September 6, 2023, 9:27am UTC](https://forum.yunohost.org/t/synapse-instant-messaging-server-matrix-network/4381/144 "2023-09-06T09:27:32Z")

</div>

> [@kaulian](#):
>
> Last update 1.8.7 break image support me  
> the bug is fix in the release 1.8.8

Omg, thank you for posting this! I was going crazy trying to figure this out! Haven’t seen the error since editing the file. 💗

---

<div class="post-metadata">

### Author: ![agichim](https://forum.yunohost.org/user_avatar/forum.yunohost.org/agichim/32/4187_2.png) [@agichim](https://forum.yunohost.org/u/agichim)
#### Post date: [September 13, 2023, 6:52pm UTC](https://forum.yunohost.org/t/synapse-instant-messaging-server-matrix-network/4381/145 "2023-09-13T18:52:38Z")

</div>

Hi,

This is just FYI.

I updated Matrix from 1.90.2 to 1.91.2. It updated fine it seems, but got the following messages that caught my attention.

`ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.`

`setuptools-rust 1.7.0 requires setuptools>=62.4, but you have setuptools 60.8.2 which is incompatible.`

---

<div class="post-metadata">

### Author: ![Mamie](https://forum.yunohost.org/user_avatar/forum.yunohost.org/mamie/32/1245_2.png) [@Mamie](https://forum.yunohost.org/u/Mamie)
#### Post date: [September 14, 2023, 9:40am UTC](https://forum.yunohost.org/t/synapse-instant-messaging-server-matrix-network/4381/146 "2023-09-14T09:40:15Z")

</div>

No solution from me here, but a warning : do not try to fix it manually via pip or you’ll face something beautiful : [Failed to read info for \*\*\*\*\*\* : Invalid version: '\*.\*.\*~ynh\*'](https://forum.yunohost.org/t/failed-to-read-info-for-invalid-version-ynh/25050)

---

<div class="post-metadata">

### Author: ![Zinkie](https://forum.yunohost.org/user_avatar/forum.yunohost.org/zinkie/32/345_2.png) [@Zinkie](https://forum.yunohost.org/u/Zinkie)
#### Post date: [September 24, 2023, 9:18pm UTC](https://forum.yunohost.org/t/synapse-instant-messaging-server-matrix-network/4381/147 "2023-09-24T21:18:14Z")

</div>

I’ve had that error message a number of times. Each time I’ve just run the following command and it seems to fix it. I’m not sure if it’s likely to cause the problem mentioned in the previous post:

```auto
pip install pip --upgrade && pip install pyopenssl --upgrade && pip install setuptools --upgrade && pip install setuptools-rust --upgrade

```

---

<div class="post-metadata">

### Author: ![croulibri](https://forum.yunohost.org/user_avatar/forum.yunohost.org/croulibri/32/3381_2.png) [@croulibri](https://forum.yunohost.org/u/croulibri)
#### Post date: [October 6, 2024, 1:34pm UTC](https://forum.yunohost.org/t/synapse-instant-messaging-server-matrix-network/4381/148 "2024-10-06T13:34:12Z")

</div>

Hello,  
I have a synapse server under Yunohost running for years already without problem.  
Recently, for some month I think, the video calls from Europe to East Asia are not working well anymore. We can’t see and hear properly our Asian correspondents. The image often freeze and sound is cut too much to allow a normal conversation.  
Video calls through my Synapse server were great until recently (2-4 months I guess).  
Coturn server is properly working.  
Our european internet connection and their asian connection is good (\>300Mbit/s).  
My Yunohost server is at home under a good fiber connection.  
We made test with other video call system, for instance call with Signal, and call quality is very good.

I have two questions:  
(1) Is there any change in the default config of Synapse or coturn (in Yunohost) made recently that may have affected the quality of our video call?  
(2) How should I proceed to investigate more thoroughly?

Thanks in advance for your suggestions 🙂

---

<div class="post-metadata">

### Author: ![Josue](https://forum.yunohost.org/user_avatar/forum.yunohost.org/josue/32/933_2.png) [@Josue](https://forum.yunohost.org/u/Josue)
#### Post date: [October 6, 2024, 8:34pm UTC](https://forum.yunohost.org/t/synapse-instant-messaging-server-matrix-network/4381/149 "2024-10-06T20:34:04Z")

</div>

Hello,

Maybe related to [Improve turn server config and securize with tls/dtls by Josue-T · Pull Request #222 · YunoHost-Apps/synapse\_ynh · GitHub](https://github.com/YunoHost-Apps/synapse_ynh/pull/222)

Note you can disable DTLS (which could be the cause of the issue) from the config panel, cf [synapse\_ynh/config\_panel.toml at b97297dc1d97039ba62f7762eac739c54f527897 · YunoHost-Apps/synapse\_ynh · GitHub](https://github.com/YunoHost-Apps/synapse_ynh/blob/b97297dc1d97039ba62f7762eac739c54f527897/config_panel.toml#L231-L236)

---

<div class="post-metadata">

### Author: ![croulibri](https://forum.yunohost.org/user_avatar/forum.yunohost.org/croulibri/32/3381_2.png) [@croulibri](https://forum.yunohost.org/u/croulibri)
#### Post date: [October 7, 2024, 8:07am UTC](https://forum.yunohost.org/t/synapse-instant-messaging-server-matrix-network/4381/150 "2024-10-07T08:07:19Z")

</div>

Thanks @Josue for pointing me this information. TLS/DTLS on Audio/Video call was indeed enabled on my server.  
I just disabled it and I will make some new test.

---

<div class="post-metadata">

### Author: ![croulibri](https://forum.yunohost.org/user_avatar/forum.yunohost.org/croulibri/32/3381_2.png) [@croulibri](https://forum.yunohost.org/u/croulibri)
#### Post date: [October 9, 2024, 11:32am UTC](https://forum.yunohost.org/t/synapse-instant-messaging-server-matrix-network/4381/151 "2024-10-09T11:32:23Z")

</div>

You were correct @Josue , this option to increase security of turn server with TLS/DTLS caused lags in video calls in my case.  
When I remove this option, video calls are fluid as they were before.  
Maybe my small server doesn’t have the capacity to handle this additional layer of security.  
But to be correct, I think in my case there is no problem with Let’s Encrypt certificate as calls are correctly established. The lag cause calls to be impossible, but the connexion between correspondents happens without error.

Thanks again for your support and advice 🙂

---

<div class="post-metadata">

### Author: ![Zinkie](https://forum.yunohost.org/user_avatar/forum.yunohost.org/zinkie/32/345_2.png) [@Zinkie](https://forum.yunohost.org/u/Zinkie)
#### Post date: [October 14, 2024, 11:12pm UTC](https://forum.yunohost.org/t/synapse-instant-messaging-server-matrix-network/4381/152 "2024-10-14T23:12:16Z")

</div>

OMG, I had been having crazy levels of problems with video calls and turning this option off made them all go away instantly.

Before, it would usually take about 4-6 time calling before we got a connection where both parties could see and hear each other. Since turning this setting off, every single call has connected correctly straight away.

Beforehand, the audio and video lagged. Now it’s near instant.

Beforehand the video would stutter, drop below 1fps and compress like crazy. Now it’s clear and smooth.

The difference is like night and day.

So, is there any problem solving I could help with to get both the security of TLS/DTLS _and_ the call connection/quality of having it off? Happy to send logs or test patches. Oh, and yes, I’m using Let’s Encrypt certs.

---

<div class="post-metadata">

### Author: ![croulibri](https://forum.yunohost.org/user_avatar/forum.yunohost.org/croulibri/32/3381_2.png) [@croulibri](https://forum.yunohost.org/u/croulibri)
#### Post date: [December 19, 2024, 9:21pm UTC](https://forum.yunohost.org/t/synapse-instant-messaging-server-matrix-network/4381/153 "2024-12-19T21:21:22Z")

</div>

After the migration to Yunohost 12 and Synapse 1.121, do you know if Sliding Sync is operational on our Synapse server?  
I may have understood it is now included in latest Synapse versions (no need to add additional proxy), but I can connect to my server with Element X (client using this Sliding Sync function).  
But I am not sure to fully catch the consequences on our server (I read clients are faster and calls even more reliable).

---

<div class="post-metadata">

### Author: ![croulibri](https://forum.yunohost.org/user_avatar/forum.yunohost.org/croulibri/32/3381_2.png) [@croulibri](https://forum.yunohost.org/u/croulibri)
#### Post date: [May 15, 2025, 7:42pm UTC](https://forum.yunohost.org/t/synapse-instant-messaging-server-matrix-network/4381/154 "2025-05-15T19:42:11Z")

</div>

Hello 👋,  
I have seen the merge of Testing into Master 4 days ago.  
And also the merge of Matrix v2 implementation into Testing 4 days ago.  
Does the current proposed update of Synapse into Yunohost includes Matrix v2 implementation?  
If yes, with these changes (sliding sync and Element call), does the “old” Android Element application still works or do we have to use only the new Element X?

---

<div class="post-metadata">

### Author: ![Josue](https://forum.yunohost.org/user_avatar/forum.yunohost.org/josue/32/933_2.png) [@Josue](https://forum.yunohost.org/u/Josue)
#### Post date: [May 16, 2025, 4:54am UTC](https://forum.yunohost.org/t/synapse-instant-messaging-server-matrix-network/4381/155 "2025-05-16T04:54:14Z")

</div>

> [@croulibri](#):
>
> Does the current proposed update of Synapse into Yunohost includes Matrix v2 implementation?

For nos it’s only the testing. But I really recommend to test this testing 😉

> [@croulibri](#):
>
> with these changes (sliding sync and Element call), does the “old” Android Element application still works or do we have to use only the new Element X?

Element and element X is expectation to work.

The only restrictions is for calls both are not compatible, so from an element android client you won’t be able to call a element X client. Elements web support both (if enabled from the settings) so from elements web you can call a element X or a legacy element android client.

Note also that this merge (Matrixv2) don’t Include MAS which require some big work on the core before to be merged.

---

<div class="post-metadata">

### Author: ![croulibri](https://forum.yunohost.org/user_avatar/forum.yunohost.org/croulibri/32/3381_2.png) [@croulibri](https://forum.yunohost.org/u/croulibri)
#### Post date: [May 16, 2025, 8:55am UTC](https://forum.yunohost.org/t/synapse-instant-messaging-server-matrix-network/4381/156 "2025-05-16T08:55:06Z")

</div>

Thanks @Josue for these explanations 🙂

I have found the setting on Element web/desktop, currently at Parameter / Experimental / Audio & Video / then I can activate Element call video call

It is strange to have an evolution of the Element call system with no fallback possible to allow an old Android Element app to communicate with a new Android Element X app.  
I’ll have to move all users to the new Android Element X app to benefit from these evolutions.

---

<div class="post-metadata">

### Author: ![croulibri](https://forum.yunohost.org/user_avatar/forum.yunohost.org/croulibri/32/3381_2.png) [@croulibri](https://forum.yunohost.org/u/croulibri)
#### Post date: [September 30, 2025, 8:13pm UTC](https://forum.yunohost.org/t/synapse-instant-messaging-server-matrix-network/4381/157 "2025-09-30T20:13:11Z")

</div>

Hello,  
I am wondering what is the proper way to disable federation on my Synapse server?  
I want users registered on my server to be able to communicate with other users of my server (message and calls) but to prevent users joining rooms in other synapse servers.

---

<div class="post-metadata">

### Author: ![gauthier67](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/g/9fc29f/32.png) [@gauthier67](https://forum.yunohost.org/u/gauthier67)
#### Post date: [November 16, 2025, 1:02am UTC](https://forum.yunohost.org/t/synapse-instant-messaging-server-matrix-network/4381/158 "2025-11-16T01:02:51Z")

</div>

you could either misconfigure the federation for it not to work properly 😃 [Federation - Synapse](https://element-hq.github.io/synapse/latest/federate.html?highlight=federation#setting-up-federation)

or use [Configuration Manual - Synapse](https://element-hq.github.io/synapse/latest/usage/configuration/config_documentation.html?highlight=federation#federation_domain_whitelist)

Or contribute to or wait for this: [Rework homeserver.yaml , config\_panel and provide multiple config templates by Gredin67 · Pull Request #590 · YunoHost-Apps/synapse\_ynh · GitHub](https://github.com/YunoHost-Apps/synapse_ynh/pull/590)

---

<div class="post-metadata">

### Author: ![aven](https://forum.yunohost.org/user_avatar/forum.yunohost.org/aven/32/8428_2.png) [@aven](https://forum.yunohost.org/u/aven)
#### Post date: [December 23, 2025, 9:04am UTC](https://forum.yunohost.org/t/synapse-instant-messaging-server-matrix-network/4381/159 "2025-12-23T09:04:07Z")

</div>

I cannot install this app (december 2025).

[https://paste.yunohost.org/raw/ohusefokut](https://paste.yunohost.org/raw/ohusefokut)

```auto
2025-12-23 09:54:38,665: WARNING - raise RuntimeError("Synapse requires PostgreSQL 14 or above.")
2025-12-23 09:54:38,665: WARNING - RuntimeError: Synapse requires PostgreSQL 14 or above.
2025-12-23 09:54:39,258: ERROR - Unable to install synapse: An error occurred inside the app installation script

```

```auto
I have no pending updates for my instance. I did find that same have had a similar issue with Matrix related app: https://github.com/element-hq/synapse/issues/18086 

```

I am hesitant to try the work around given there because I do not want to break my server in the process for future yunohost updates. Is there a specific workaround I need to do on my set-up?

---

<div class="post-metadata">

### Author: ![gauthier67](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/g/9fc29f/32.png) [@gauthier67](https://forum.yunohost.org/u/gauthier67)
#### Post date: [December 23, 2025, 1:54pm UTC](https://forum.yunohost.org/t/synapse-instant-messaging-server-matrix-network/4381/160 "2025-12-23T13:54:55Z")

</div>

I suspect that your migration from YNH11 to YNH12 partially failed, because it should have migrated to postgresql version 14. Do you still have the logs of the migration ?

---

<div class="post-metadata">

### Author: ![aven](https://forum.yunohost.org/user_avatar/forum.yunohost.org/aven/32/8428_2.png) [@aven](https://forum.yunohost.org/u/aven)
#### Post date: [December 23, 2025, 2:13pm UTC](https://forum.yunohost.org/t/synapse-instant-messaging-server-matrix-network/4381/161 "2025-12-23T14:13:22Z")

</div>

Hi, thanks for answering.

I don’t have the logs anymore it seems, sorry.

In the end I did move the cluster from 13 to 15 on my set-up (according to what was said here: [Synapse does not start anymore - PostgreSQL version 15 is not recognized · Issue #18086 · element-hq/synapse · GitHub](https://github.com/element-hq/synapse/issues/18086) ).

The installation works now, except calls (but have never been able to get that to work with coturn so not to surprised there.) I had to move my setup quickly because I was using conduit until today and some critical issue was reported. Thought it might be safer to use the more established app for now.

Enjoy the holidays!

---

<div class="post-metadata">

### Author: ![croulibri](https://forum.yunohost.org/user_avatar/forum.yunohost.org/croulibri/32/3381_2.png) [@croulibri](https://forum.yunohost.org/u/croulibri)
#### Post date: [January 16, 2026, 5:49pm UTC](https://forum.yunohost.org/t/synapse-instant-messaging-server-matrix-network/4381/162 "2026-01-16T17:49:44Z")

</div>

Hello dear @Josue 👋 ,

Would you mind reminding me/us what are the appropriate port to open in our server for (1) synapse to properly work with federation, and (2) for Element call to work.

I also would like to know if coturn is still needed when using Element call. If it is not needed, do I need to remove it ?

Thanks in advance for your information and advices 🤗

[Previous page](https://forum.yunohost.org/t/synapse-instant-messaging-server-matrix-network/4381.md?page=7)

[Next page](https://forum.yunohost.org/t/synapse-instant-messaging-server-matrix-network/4381.md?page=9)
