this post was submitted on 13 Jun 2023
4 points (100.0% liked)

Lemmy

12538 readers
1 users here now

Everything about Lemmy; bugs, gripes, praises, and advocacy.

For discussion about the lemmy.ml instance, go to [email protected].

founded 4 years ago
MODERATORS
 

I subscribed to communities, but my Lemmy instance receives only a few posts, comments and votes. I can see linked instances, but whether or not they sync data feels hit or miss. I'm not quite sure if this is expected. Does Lemmy have a utility similar to the Matrix federation tester?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 1 year ago* (last edited 1 year ago)

I observed my Cloudflare firewall events under Security > Events. Cloudflare takes actions against instances that use the Lemmy API through Tor since the launch of my instance. I will allow this traffic to see if that improves federation for my instance, somehow. I doubt it as the vast majority of traffic gets through without a Cloudflare challenge.

Cloudflare firewall rule that skip checks for Lemmy API calls

Update: WAF rule didn't work. I suspect page rules block the requests before they reach the WAF.

I whitelist everything under the sun as I only have 3 page rules. Lemmy requires the following paths as far as I saw:

  • /.well-known/nodeinfo
  • /nodeinfo/2.0.json
  • /api/v3 and v1
  • /pictrs

Update 2: Cloudflare neither blocks nor challenges API requests anymore. But federation is still whack.