vodoraslo.xyz/public/articles/blog/how-i-fixed-my-synapse-matrix-federation/index.html

71 lines
4.1 KiB
HTML
Raw Normal View History

<!DOCTYPE html>
2023-07-12 21:46:08 +02:00
<html lang="en" class="main-background-image">
<head>
<title>How I Fixed My Synapse&#39;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'>
2023-10-08 09:57:26 +02:00
<link rel='stylesheet' type='text/css' href='/style.css?v=1.0.0.8'>
<link rel="icon" href="/favicon.ico">
<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
nano /etc/matrix-synapse/homeserver.yaml and go all the way to the bottom or search for trusted_key_servers. it&rsquo;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">
<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&#39;s Matrix Federation">How I Fixed My Synapse&#39;s Matrix Federation</h1></header>
2023-10-08 09:57:26 +02:00
<hr style="color:var(--strong);background-color: var(--strong);"><article style="padding: 0% 2.5% 0% 2.5%;">
<div class="breadcrumbs">
<nav><a href="/">vodoraslo</a> /&nbsp;<a href="/articles/">Articles</a> /&nbsp;How I Fixed My Synapse&#39;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&#43;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>
<p>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.</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>
<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&rsquo;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>
<div style="text-align: right;">
2023-10-08 09:57:26 +02:00
<br><a href="mailto:chad@vodoraslo.xyz?subject=Re: How%20I%20Fixed%20My%20Synapse%27s%20Matrix%20Federation&body=Page in question - https%3a%2f%2fvodoraslo.xyz%2farticles%2fblog%2fhow-i-fixed-my-synapse-matrix-federation%2f"><i>⏩📧 Reply via email!</i></a><br>
</div></div>
<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&#39;s Wet-Dreams</div></a>
</div>
2023-10-08 09:57:26 +02:00
<div ><div style="clear:both" class=taglist>
Tags: [<a id="tag_blog" href="https://vodoraslo.xyz/tags/blog">Blog</a>]
2023-10-08 09:57:26 +02:00
</div><br>
</div>
</article>
2023-10-08 09:57:26 +02:00
<hr style="color:var(--strong); margin: 0; background-color: var(--strong);">
</main>
2023-10-08 09:57:26 +02:00
<footer style="padding-top: 0.5em;">
<div style="padding-bottom: 0.7em;" class="index-links"><a href="https://vodoraslo.xyz/">Homepage</a></div>
</footer>
</body>
2023-07-12 21:46:08 +02:00
</div>
</html>