this post was submitted on 20 Feb 2024
13 points (100.0% liked)

Lemmy.ca Support / Questions

489 readers
5 users here now

Support / Questions specific to lemmy.ca.

For support / questions related to the lemmy software itself, go to [email protected]

founded 4 years ago
MODERATORS
13
submitted 9 months ago* (last edited 9 months ago) by freamon to c/[email protected]
 

Hi. Just looking at what lemmy.ca sends my server:

From nginx log:

your.ip.address - - [20/Feb/2024:03:48:47 +0000] "POST /inbox HTTP/1.1" 200 0 "-" "Lemmy/0.19.3; +https://lemmy.ca"               
your.ip.address - - [20/Feb/2024:03:48:49 +0000] "POST /inbox HTTP/1.1" 400 0 "-" "Lemmy/0.19.3; +https://lemmy.ca"         
your.ip.address - - [20/Feb/2024:03:48:57 +0000] "POST /inbox HTTP/1.1" 400 0 "-" "Lemmy/0.19.3; +https://lemmy.ca"              

Dumping the JSONs reveals 3 duplicate files, all containing:

"id": "https://lemmy.ca/activities/create/0968bf93-ac05-4178-bf3f-28cdc65fc338"
"actor": "https://lemmy.ca/u/HairyOldCoot"
"object": {
  "id": "https://lemmy.ca/comment/7454502"            
  "content": "That was an episode of Sliders."
  "published": "2024-02-20T03:48:45.810068Z"

These are 3 Creates, not 1 Create and 2 Updates or anything. I've chosen a comment 'cos that's public info, but it's the same for all other activity too (Votes, Deletes, etc).

lemmy.ca isn't alone in this. endlesstalk.org sends everything twice (info posted here), as does lemmy.sdf.org and mander.xyz, but lemmy.ca is the only one I've seen send stuff 3 times. Other instances (e.g. aussie.zone, feddit.nl, lemm.ee, lemmings.world, lemmy.world, programming.dev, reddthat.com, sh.itjust.works, slrpnk.net) don't, but there's nothing obvious like lemmy version numbers to indicate the difference.

Whilst I'd prefer you didn't send me stuff 3 times, I'm mostly mentioning it because I doubt it's good for your own resources to send every activity by every lemmy.ca user out multiple times. Also, the OPs of my community are from Mastodon, so I imagine you're sending them the same message 3 times too ...

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 5 points 9 months ago* (last edited 9 months ago) (4 children)

This should have been fixed yesterday before your post, although it was taking some time to catch up. Are you still seeing this behavior from us?

Thanks for posting this!

[–] freamon 4 points 9 months ago (3 children)

I've turned logging back on, so I'll let you know once someone from lemmy.ca interacts with [email protected]

[–] [email protected] 4 points 9 months ago* (last edited 9 months ago) (2 children)

Thanks, I just sent a subscribe

~~I need to dig into the lemmy code, but I think the federation index / count system may be broken.~~

[–] freamon 4 points 9 months ago (1 children)

Oh, well I only got one copy each of your Subscribe / Unsubscribe / Subscribe actions, so that's good! Many thanks.

[–] [email protected] 4 points 9 months ago

Awesome, glad to hear it. Thanks again for letting us know about the problem.