Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • 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 (No Skin)
  • No Skin
Collapse

NodeBB

  1. Home
  2. Bug Reports
  3. NodeBB 4.13: activitypub/fetchPublicKey Rate limit exceeded errors.

NodeBB 4.13: activitypub/fetchPublicKey Rate limit exceeded errors.

Scheduled Pinned Locked Moved Bug Reports
19 Posts 3 Posters 3 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.
  • julian@community.nodebb.orgJ julian@community.nodebb.org

    @Kichae there's definitely a federation issue with Lemmy here...

    This dashboard shows ActivityPub.Space is just over three weeks behind lemmy.world. Failure count is ~64, which means Lemmy stopped sending stuff over.

    I upped my public key fetch limiter value to 512 as well, and will see if this addresses the issue.

    julian@activitypub.spaceJ This user is from outside of this forum
    julian@activitypub.spaceJ This user is from outside of this forum
    julian@activitypub.space
    wrote last edited by
    #10

    @kichae@community.nodebb.org can you try again with the latest develop commits?

    A couple things:

    • You can now set the rate limit value to 0 to disable it completely
    • The logic was a mix of both a db-backed mutex lock and a rate limiter, which was overkill. I think what happened was Lemmy (or other popular instances) sent many activities all at once, causing the rate-limiter to trip, even though the value was well under the threshold.

    The default is now updated to 256 but if you've overridden it your value stays. I'll keep an eye on Lemmy federation to see if that was the issue...

    If I am right, then within the next 6-24 hours, I should be receiving a flurry of Lemmy content as it speedruns through the backlog.

    julian@activitypub.spaceJ 1 Reply Last reply
    0
    • julian@community.nodebb.orgJ This user is from outside of this forum
      julian@community.nodebb.orgJ This user is from outside of this forum
      julian@community.nodebb.org
      wrote last edited by
      #11

      https://github.com/NodeBB/NodeBB/issues/14422 for updates.

      1 Reply Last reply
      0
      • julian@activitypub.spaceJ julian@activitypub.space

        @kichae@community.nodebb.org can you try again with the latest develop commits?

        A couple things:

        • You can now set the rate limit value to 0 to disable it completely
        • The logic was a mix of both a db-backed mutex lock and a rate limiter, which was overkill. I think what happened was Lemmy (or other popular instances) sent many activities all at once, causing the rate-limiter to trip, even though the value was well under the threshold.

        The default is now updated to 256 but if you've overridden it your value stays. I'll keep an eye on Lemmy federation to see if that was the issue...

        If I am right, then within the next 6-24 hours, I should be receiving a flurry of Lemmy content as it speedruns through the backlog.

        julian@activitypub.spaceJ This user is from outside of this forum
        julian@activitypub.spaceJ This user is from outside of this forum
        julian@activitypub.space
        wrote last edited by
        #12

        As it turns out I was not right, at least not entirely <img class="not-responsive emoji" src="https://activitypub.space/assets/plugins/nodebb-plugin-emoji/emoji/android/1f61b.png?v=db237af6dbe" title="😛" />

        1 Reply Last reply
        0
        • K This user is from outside of this forum
          K This user is from outside of this forum
          kichae@community.nodebb.org
          wrote last edited by
          #13

          Yeah, I'm not seeing anything behaving differently on develop. My logs are super clean now, though.

          julian@activitypub.spaceJ 1 Reply Last reply
          0
          • K kichae@community.nodebb.org

            Yeah, I'm not seeing anything behaving differently on develop. My logs are super clean now, though.

            julian@activitypub.spaceJ This user is from outside of this forum
            julian@activitypub.spaceJ This user is from outside of this forum
            julian@activitypub.space
            wrote last edited by
            #14

            @kichae@community.nodebb.org hopefully this will be something that we'll see results on within a day.

            Once Lemmy decides your server is "down", it won't send anything for awhile. How long that is I don't know offhand.

            1 Reply Last reply
            0
            • julian@activitypub.spaceJ This user is from outside of this forum
              julian@activitypub.spaceJ This user is from outside of this forum
              julian@activitypub.space
              wrote last edited by
              #15

              @kichae@community.nodebb.org

              Heckin' yeah. Update to the latest develop again.

              b7b1568d-c326-4f53-b290-575909a003ab-image.jpeg

              0e1dffa8-ce84-42c8-ada6-7ce23e8bd9ce-image.jpeg

              For me, lemmy.world hasn't started re-sending activities yet, but it will... <img class="not-responsive emoji" src="https://activitypub.space/assets/plugins/nodebb-plugin-emoji/emoji/android/1f440.png?v=c7cc56fe415" title="👀" /> There it goes... 5 million activities an hour hahah

              1 Reply Last reply
              0
              • julian@activitypub.spaceJ julian@activitypub.space

                @kichae@community.nodebb.org

                Heckin' yeah. Update to the latest develop again.

                b7b1568d-c326-4f53-b290-575909a003ab-image.jpeg

                0e1dffa8-ce84-42c8-ada6-7ce23e8bd9ce-image.jpeg

                For me, lemmy.world hasn't started re-sending activities yet, but it will... <img class="not-responsive emoji" src="https://activitypub.space/assets/plugins/nodebb-plugin-emoji/emoji/android/1f440.png?v=c7cc56fe415" title="👀" /> There it goes... 5 million activities an hour hahah

                julian@activitypub.spaceJ This user is from outside of this forum
                julian@activitypub.spaceJ This user is from outside of this forum
                julian@activitypub.space
                wrote last edited by
                #16

                Better, but it's not over yet:

                71b3e327-73fb-4635-aef1-45c7aa71b02a-image.jpeg

                Error rates have crept back up, so there's more debugging to do.

                1 Reply Last reply
                0
                • K This user is from outside of this forum
                  K This user is from outside of this forum
                  kichae@community.nodebb.org
                  wrote last edited by
                  #17

                  I wonder if there was some change on Lemmy's end. I stopped following its development some time ago after nbb started filling all of my Fedi needs. I did notice that one of my latest posts was rendered by Lemmy as raw texts showing all of the Markdown syntax and ignoring line breaks, which I don't remmmeber being an issue before. Though I guess that might also be plugin related.

                  julian@community.nodebb.orgJ 1 Reply Last reply
                  0
                  • K kichae@community.nodebb.org

                    I wonder if there was some change on Lemmy's end. I stopped following its development some time ago after nbb started filling all of my Fedi needs. I did notice that one of my latest posts was rendered by Lemmy as raw texts showing all of the Markdown syntax and ignoring line breaks, which I don't remmmeber being an issue before. Though I guess that might also be plugin related.

                    julian@community.nodebb.orgJ This user is from outside of this forum
                    julian@community.nodebb.orgJ This user is from outside of this forum
                    julian@community.nodebb.org
                    wrote last edited by
                    #18

                    @Kichae hmm if there was a rendering issue on their end it could be either end (sender or receiver). Can you share the post?

                    1 Reply Last reply
                    0
                    • K This user is from outside of this forum
                      K This user is from outside of this forum
                      kichae@community.nodebb.org
                      wrote last edited by
                      #19

                      You can see the effect here, with the quote block not being rendered: https://lemmy.ca/post/67342849 It seems like it might actually only be select Markdown that's causing issues, or maybe even only the quote block notation.

                      1 Reply Last reply
                      0

                      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                      With your input, this post could be even better 💗

                      Register Login
                      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