Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Federation issue seemingly due to hard coded rate limiting #4563

Closed
5 tasks done
DarkArc opened this issue Mar 24, 2024 · 1 comment
Closed
5 tasks done

[Bug]: Federation issue seemingly due to hard coded rate limiting #4563

DarkArc opened this issue Mar 24, 2024 · 1 comment
Labels
area: federation support federation via activitypub bug Something isn't working

Comments

@DarkArc
Copy link

DarkArc commented Mar 24, 2024

Requirements

  • Is this a bug report? For questions or discussions use https://lemmy.ml/c/lemmy_support
  • Did you check to see if this issue already exists?
  • Is this only a single bug? Do not put multiple bugs in one issue.
  • Do you agree to follow the rules in our Code of Conduct?
  • Is this a backend issue? Use the lemmy-ui repo for UI / frontend issues.

Summary

My instance social.packetloss.gg has been unable to fetch new content from lemmy.world despite prior months of flawless operation.

The only thing I'm seeing in the logs that seems to add up is this:

2024-03-24T00:42:10.062274Z  WARN lemmy_utils: error in spawn: Unknown: Request limit was reached during fetch
   0: lemmy_apub::objects::community::from_json
             at crates/apub/src/objects/community.rs:126
   1: lemmy_apub::fetcher::user_or_community::from_json
             at crates/apub/src/fetcher/user_or_community.rs:87
   2: lemmy_server::root_span_builder::HTTP request
           with http.method=POST http.scheme="http" http.host=social.packetloss.gg http.target=/inbox otel.kind="server" request_id=688ad030-f892-4925-9ce9-fc4f3070a967
             at src/root_span_builder.rs:16

That however seems to be hard coded:

pub const FEDERATION_HTTP_FETCH_LIMIT: u32 = 50;

Steps to Reproduce

Wish I knew :)

Technical Details

lemmy.log
nginx-lemmy.world.txt

Version

0.19.3

Lemmy Instance URL

https://social.packetloss.gg

@DarkArc DarkArc added the bug Something isn't working label Mar 24, 2024
@DarkArc DarkArc closed this as not planned Won't fix, can't repro, duplicate, stale Mar 24, 2024
@DarkArc
Copy link
Author

DarkArc commented Mar 24, 2024

Closing this while I talk to some other lemmy admins

@dullbananas dullbananas added the area: federation support federation via activitypub label Mar 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: federation support federation via activitypub bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants