Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Darkly)
  • No Skin
Collapse

Chebucto Regional Softball Club

  1. Home
  2. Uncategorized
  3. Fun with Federation: Lemmy edition
A forum for discussing and organizing recreational softball and baseball games and leagues in the greater Halifax area.

Fun with Federation: Lemmy edition

Scheduled Pinned Locked Moved Uncategorized
nodebblemmyactivitypub
7 Posts 4 Posters 0 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • julianJ This user is from outside of this forum
    julianJ This user is from outside of this forum
    julian
    wrote last edited by
    #1
    It all started [with a report about federation breaking between Lemmy and NodeBB](https://community.nodebb.org/topic/18824/did-4.4.1-break-federation-with-lemmy-groups). I was subconsciously aware that something was going on, but had chalked it up to network issues. Observed behaviour showed that some remote categories would be receiving content in spurts, with long gaps in between. 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 _thought_ 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! Unable to make headway, I had to [reach out to the folks at Lemmy](https://github.com/LemmyNet/lemmy/issues/5722) to figure out what the issue was. NodeBB occasionally sends non-200 level responses depending on the activity. Specifically, the following scenarios: * 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 `HTTP 500 Internal Server Error`. * A `Dislike` activity, which is not currently handled by NodeBB. In these cases, NodeBB would send an `HTTP 501 Not Implemented` When encountering either of these responses, Lemmy would return the activity back to the queue for later delivery and **mark a delivery failure**. If enough of these (~40) happened within 24 hours, Lemmy would give the instance a time-out and _pause delivery completely_. That was it — a quick pair of code updates later, and we started working through Lemmy's backlog of 4.1M activities. As of 4am this morning, `community.nodebb.org` is no longer behind `lemmy.world`. ![d2b3dc1c-01f3-4203-b281-2406e949667d-image.png](https://community.nodebb.org/assets/uploads/files/1748873636999-d2b3dc1c-01f3-4203-b281-2406e949667d-image.png) Fun week. Let's not do that again LOL.
    1 Reply Last reply
    1
    0
    • ActivityPubA ActivityPub shared this topic
    • ? Offline
      ? Offline
      Guest
      wrote last edited by
      #2
      These little inter-platform quirks are fascinating, and I imagine quite frustrating.
      1 Reply Last reply
      1
      0
      • sabrew4k3@lazysoci.alS This user is from outside of this forum
        sabrew4k3@lazysoci.alS This user is from outside of this forum
        sabrew4k3@lazysoci.al
        wrote last edited by
        #3
        This is really cool. Thanks for sharing.
        1 Reply Last reply
        0
        • julianJ This user is from outside of this forum
          julianJ This user is from outside of this forum
          julian
          wrote last edited by
          #4
          [kichae@wanderingadventure.party](https://community.nodebb.org/user/kichae%40wanderingadventure.party) 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 😅
          1 Reply Last reply
          0
          • julianJ This user is from outside of this forum
            julianJ This user is from outside of this forum
            julian
            wrote last edited by
            #5
            [nutomic@lemmy.ml](https://community.nodebb.org/user/nutomic%40lemmy.ml) let me know if I got any of the details wrong. Much thanks to your team for the assist in debugging!
            1 Reply Last reply
            0
            • ? Offline
              ? Offline
              Guest
              wrote last edited by
              #6
              Thank you for sharing!
              1 Reply Last reply
              0
              • ? Offline
                ? Offline
                Guest
                wrote last edited by
                #7
                [julian@community.nodebb.org](https://wanderingadventure.party/user/julian%40community.nodebb.org) Yeah, being able to treat Mastodon and Lemmy/mbin/piefed like a bulletin board continues to feel like magic.
                1 Reply Last reply
                0

                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                Powered by NodeBB Contributors
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • World
                • Users
                • Groups