2023-05-31 17:47:54 +02:00
<!DOCTYPE html>
2023-07-12 21:46:08 +02:00
< html lang = "en" class = "main-background-image" >
2023-05-31 17:47:54 +02:00
< head >
< title > How I Fixed My Synapse' s Matrix Federation | vodoraslo< / title >
< link rel = "canonical" href = "https://vodoraslo.xyz/" >
< link rel = 'alternate' type = 'application/rss+xml' title = "vodoraslo RSS" href = '/index.xml' >
2024-02-27 18:59:49 +01:00
< link rel = 'stylesheet' type = 'text/css' href = '/style.css?v=1.0.0.11' >
2023-05-31 17:47:54 +02:00
< link rel = "icon" href = "/favicon.ico" >
2023-05-14 13:33:48 +02:00
< meta name = "description" content = "Federation issues I for the life of me couldn & rsquo ; t get synapse & rsquo ; s ( matrix & rsquo ; s ) federation to work . It said that the encryption couldn & rsquo ; t be trusted , i could join public rooms but i couldn & rsquo ; t start any chats , i couldn & rsquo ; t invite people to my rooms , i couldn & rsquo ; t get invited to rooms .
How I fixed it Go to your homeserver.yaml file
2023-05-31 17:47:54 +02:00
nano /etc/matrix-synapse/homeserver.yaml
and go all the way to the bottom or search for trusted_key_servers. it’ s probably going to be matrix."/>
< meta name = "keywords" content = "blog" >
< meta name = "viewport" content = "width=device-width, initial-scale=1" >
< meta name = "robots" content = "index, follow" >
< meta charset = "utf-8" >
< / head >
2023-07-12 21:46:08 +02:00
< div class = "main-background-image" >
2023-05-31 17:47:54 +02:00
< body >
< main >
2023-07-21 17:57:40 +02:00
< header > < h1 style = "margin-top: 0%; padding-top: 0.5em;" id = "tag_How I Fixed My Synapse's Matrix Federation" > How I Fixed My Synapse' s Matrix Federation< / h1 > < / header >
2023-11-04 13:03:07 +01:00
< hr style = "color:var(--strong);background-color: var(--strong); border-color: var(--strong);" > < article style = "padding: 0% 2.5% 0% 2.5%;" >
2023-05-31 17:47:54 +02:00
< div class = "breadcrumbs" >
< nav > < a href = "/" > vodoraslo< / a > / < a href = "/articles/" > Articles< / a > / How I Fixed My Synapse' s Matrix Federation< / nav >
< / div >
2023-07-20 20:49:09 +02:00
2023-10-08 09:57:26 +02:00
< p style = "color: var(--muted_text);" > Last updated: < time datetime = "2023-05-14T14:33:48+03:00" style = "color: var(--muted_text);" > 2023年5月14日 (日)< / time > < a href = "/index.xml" > < img src = "/rss.svg" style = "max-height:1.5em; float:right;" alt = "RSS Feed" title = "Subscribe via RSS for updates." > < / a > < / p >
2023-07-20 20:45:40 +02:00
< div class = "post-content" > < h2 id = "federation-issues" > Federation issues< a hidden class = "anchor" aria-hidden = "true" href = "#federation-issues" > #< / a > < / h2 >
2023-05-14 13:33:48 +02:00
< p > I for the life of me couldn’ t get synapse’ s (matrix’ s) federation to work. It said that the encryption couldn’ t be trusted, i could join public rooms but i couldn’ t start any chats, i couldn’ t invite people to my rooms, i couldn’ t get invited to rooms.< / p >
< h2 id = "how-i-fixed-it" > How I fixed it< a hidden class = "anchor" aria-hidden = "true" href = "#how-i-fixed-it" > #< / a > < / h2 >
< p > Go to your < code > homeserver.yaml< / code > file< / p >
2023-05-31 17:47:54 +02:00
< div class = "highlight" >
< pre tabindex = "0" class = "chroma" > < code class = "language-bash" data-lang = "bash" > < span style = "display:flex;" > < span > nano /etc/matrix-synapse/homeserver.yaml< / span > < / span > < / code > < / pre > < / div >
< p > and go all the way to the bottom or search for < code > trusted_key_servers< / code > . it’ s probably going to be < code > matrix.org< / code > . You should change it to the following by removing < code > matrix.org< / code > and leave blank square brackets:< / p >
< div class = "highlight" >
< pre tabindex = "0" > < code class = "language-" data-lang = "" > trusted_key_servers: []< / code > < / pre >
< / div >
2023-07-15 13:53:02 +02:00
< div style = "text-align: right;" >
2024-03-17 16:47:24 +01:00
2023-07-15 13:53:02 +02:00
< / div > < / div >
2023-05-31 17:47:54 +02:00
2024-02-27 18:59:49 +01:00
< br >
< hr style = "color:var(--strong); margin: 0; background-color: var(--strong); border-color: var(--strong);" >
2023-05-31 17:47:54 +02:00
< div id = "nextprev" >
2023-10-08 09:57:26 +02:00
< a href = "/library/ted-kaczynski/the-techies-wet-dreams/" > < div id = "prevart" > < i > Previous:< / i > < br > The Techie' s Wet-Dreams< / div > < / a >
2024-02-27 18:59:49 +01:00
< a href = "/articles/blog/2024-goals/" > < div id = "nextart" > < i > Next:< / i > < br > 2024 Goals and Aspirations< / div > < / a >
2023-05-31 17:47:54 +02:00
< / div >
2023-10-08 09:57:26 +02:00
< div > < div style = "clear:both" class = taglist >
2023-05-31 17:47:54 +02:00
Tags: [< a id = "tag_blog" href = "https://vodoraslo.xyz/tags/blog" > Blog< / a > ]
2023-10-08 09:57:26 +02:00
< / div > < br >
2023-05-31 17:47:54 +02:00
< / div >
< / article >
< / main >
2023-10-08 09:57:26 +02:00
< footer style = "padding-top: 0.5em;" >
2023-10-13 19:52:35 +02:00
< div style = "padding-bottom: 0.2em; display: inline-block;" > < a href = "https://vodoraslo.xyz/articles" > 📜 Articles< / a > < strong > • < / strong > < a href = "https://vodoraslo.xyz/library" > 📚 Library< / a > < strong > • < / strong > < a href = "https://wiki.vodoraslo.xyz" > 🌐 Wiki< / a > < strong > • < / strong > < a href = "https://vodoraslo.xyz/index.xml" > 📰 RSS< / a > < hr > < / div >
< div style = "padding-bottom: 0.7em;" class = "index-links" > < a href = "https://vodoraslo.xyz/" > 🏠 Homepage< / a > < / div >
2023-05-31 17:47:54 +02:00
< / footer >
< / body >
2023-07-12 21:46:08 +02:00
< / div >
2023-05-31 17:47:54 +02:00
< / html >