<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Fun with Federation: Lemmy edition]]></title><description><![CDATA[<p dir="auto">It all started <a href="https://community.nodebb.org/topic/18824/did-4.4.1-break-federation-with-lemmy-groups" rel="nofollow ugc">with a report about federation breaking between Lemmy and NodeBB</a>. I was subconsciously aware that something was going on, but had chalked it up to network issues.</p>
<p dir="auto">Observed behaviour showed that some remote categories would be receiving content in spurts, with long gaps in between.</p>
<p dir="auto">I spent the next 3-4 days looking into it, but came up empty. Whatever was happening wasn't throwing any obvious errors, and along the way, I found what I <em>thought</em> was related (it was), but I wasn't sure why: against some Lemmy servers, the "follow"/"unfollow" mechanic would simply stop working, and this would often coincide with gaps in content. In some egregious cases, the flow of content stopped completely!</p>
<p dir="auto">Unable to make headway, I had to <a href="https://github.com/LemmyNet/lemmy/issues/5722" rel="nofollow ugc">reach out to the folks at Lemmy</a> to figure out what the issue was. NodeBB occasionally sends non-200 level responses depending on the activity. Specifically, the following scenarios:</p>
<ul>
<li>A remote user upvoting more than 20 posts in a single day (a spam prevention tactic) causing NodeBB to throw an error, which was caught and returned an <code>HTTP 500 Internal Server Error</code>.</li>
<li>A <code>Dislike</code> activity, which is not currently handled by NodeBB. In these cases, NodeBB would send an <code>HTTP 501 Not Implemented</code></li>
</ul>
<p dir="auto">When encountering either of these responses, Lemmy would return the activity back to the queue for later delivery and <strong>mark a delivery failure</strong>. If enough of these (~40) happened within 24 hours, Lemmy would give the instance a time-out and <em>pause delivery completely</em>.</p>
<p dir="auto">That was it — a quick pair of code updates later, and we started working through Lemmy's backlog of 4.1M activities.</p>
<p dir="auto">As of 4am this morning, <code>community.nodebb.org</code> is no longer behind <code>lemmy.world</code>.</p>
<p dir="auto"><img src="https://community.nodebb.org/assets/uploads/files/1748873636999-d2b3dc1c-01f3-4203-b281-2406e949667d-image.png" alt="d2b3dc1c-01f3-4203-b281-2406e949667d-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Fun week. Let's not do that again LOL.</p>
<p dir="auto">v4.4.2 of NodeBB contains the updated logic for smoother Lemmy federation.</p>
]]></description><link>https://community.darkscribes.com/topic/998700d2-bc98-48a9-b28d-83538c2b0e09/fun-with-federation-lemmy-edition</link><generator>RSS for Node</generator><lastBuildDate>Fri, 06 Mar 2026 23:39:43 GMT</lastBuildDate><atom:link href="https://community.darkscribes.com/topic/998700d2-bc98-48a9-b28d-83538c2b0e09.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 02 Jun 2025 14:30:19 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Fun with Federation: Lemmy edition on Mon, 02 Jun 2025 19:34:28 GMT]]></title><description><![CDATA[<p dir="auto"><a href="https://community.nodebb.org/user/nutomic%40lemmy.ml" rel="nofollow ugc">nutomic@lemmy.ml</a> let me know if I got any of the details wrong. Much thanks to your team for the assist in debugging!</p>
]]></description><link>https://community.darkscribes.com/post/https://community.nodebb.org/post/104763</link><guid isPermaLink="true">https://community.darkscribes.com/post/https://community.nodebb.org/post/104763</guid><dc:creator><![CDATA[julian@community.nodebb.org]]></dc:creator><pubDate>Mon, 02 Jun 2025 19:34:28 GMT</pubDate></item><item><title><![CDATA[Reply to Fun with Federation: Lemmy edition on Mon, 02 Jun 2025 19:16:38 GMT]]></title><description><![CDATA[<p dir="auto"><a href="https://community.nodebb.org/user/kichae%40wanderingadventure.party" rel="nofollow ugc">kichae@wanderingadventure.party</a> I'm still at the point where seeing two-way federation working for real between instances is so exciting that it overrides the pain of federation <img src="https://community.darkscribes.com/assets/plugins/nodebb-plugin-emoji/emoji/android/1f605.png?v=cb5c435eea4" class="not-responsive emoji emoji-android emoji--sweat_smile" style="height:23px;width:auto;vertical-align:middle" title="😅" alt="😅" /></p>
]]></description><link>https://community.darkscribes.com/post/https://community.nodebb.org/post/104762</link><guid isPermaLink="true">https://community.darkscribes.com/post/https://community.nodebb.org/post/104762</guid><dc:creator><![CDATA[julian@community.nodebb.org]]></dc:creator><pubDate>Mon, 02 Jun 2025 19:16:38 GMT</pubDate></item><item><title><![CDATA[Reply to Fun with Federation: Lemmy edition on Mon, 02 Jun 2025 19:06:26 GMT]]></title><description><![CDATA[<p dir="auto">This is really cool. Thanks for sharing.</p>
]]></description><link>https://community.darkscribes.com/post/https://lazysoci.al/comment/16224746</link><guid isPermaLink="true">https://community.darkscribes.com/post/https://lazysoci.al/comment/16224746</guid><dc:creator><![CDATA[sabrew4k3@lazysoci.al]]></dc:creator><pubDate>Mon, 02 Jun 2025 19:06:26 GMT</pubDate></item><item><title><![CDATA[Reply to Fun with Federation: Lemmy edition on Mon, 02 Jun 2025 18:17:33 GMT]]></title><description><![CDATA[<p dir="auto">These little inter-platform quirks are fascinating, and I imagine quite frustrating.</p>
]]></description><link>https://community.darkscribes.com/post/https://wanderingadventure.party/post/66</link><guid isPermaLink="true">https://community.darkscribes.com/post/https://wanderingadventure.party/post/66</guid><dc:creator><![CDATA[kichae@wanderingadventure.party]]></dc:creator><pubDate>Mon, 02 Jun 2025 18:17:33 GMT</pubDate></item></channel></rss>