Lemmy Federation
-
How to debug a federation issue?
Hi there,
Hope this is the right place to ask.
Recently I've been posting to a community on lemmy.world from my account on the sdf instance. However I've noticed that the posts sometimes don't make it to lemmy.world.
I can see the post in the community when logged in in my sdf account, but if I go the the lemmy.world url in a browser, the post isn't there hours later.
How can I find out what's going on? Like is it an outbound sdf thing or an inbound lemmy.world thing? Is there a log file i can read somewhere? If I can find out which server is broken, who do I talk to?
(Knowing my luck this post won't federate)
Cheers
-
Leveraging Lemmy's code as it is with federation and setting a community is 'local' on multiple servers at once
So this is currently a thought experiment or brainstorming, whatever...
When a community is local, the "home server" for community, that means that the federation is sent out to subscribed servers.
Now it also means that the total subscribe list is only know to that one server... As least I think it works that way, that the subscribe of "home" server is the complete list and everyone else has partial lists.
There is a lot of the structure of a community that offers some data opportunities to Lemmy. For one, a community object can be edited by any of the moderators. and any moderator can Lock a post, Remove a post, etc.
Reddit has a not-often-used Wiki feature, that even basically means more than one person could edit content too. Other than the sidebar of a community, I don't think Lemmy has any concept of multiple people being able to edit a post or a comment. But again, multiple mods can feature or lock a post... so there is some concept of multiple-actors on data.
I think when you get into creating flair / tags and even playlists (multi-community lists), you want multiple people to be able to edit data. Which in Reddit was the Wiki structure.
i know some of it is kind of a waste of time.. because people tend to avoid Wiki and highly favor posting the same repeat questions and content over and over, reposts. But a man can dream, can't he :)
-
Usenet bidrectional gateway: lemmy.instance_name.community_name
or federation.lemmy as root... allowing: federation.kbin federation.lemmy etc.
And it emphasizes owner/operator/home of community, instance_name (subdomain/domain name).
-
PSA for Lemmy instance admins: in backend v0.18.3 there is a bug that causes your instance to stop federating properly and to stop sending out outgoing messages - Lemmy.ca direct link
lemmy.ca PSA for Lemmy instance admins: in backend v0.18.3 there is a bug that causes your instance to stop federating properly and to stop sending out outgoing messages - Lemmy.caThis new version introduced a system so that your instance stops sending out content to other instances that are supposedly dead / offline. Unfortunately for some reason there’s false positives. When I checked comparing the results from a curl request vs the information in our Lemmy database I found...
- sh.itjust.works Update: Pushing back against the wave of bot accounts on Lemmy - sh.itjust.works
This is an update to my previous post about suspicious inactive accounts on a handful of instances: (https://sh.itjust.works/post/998307 [https://sh.itjust.works/post/998307]). I ended up messaging the admins at the 16 instances show in the attached image. I pointed out their wild user numbers, and ...
-
Lemmy.world is down because of a DDOS attack
lemmy-world.statuspage.io Lemmy World StatusWelcome to Lemmy World's home for real-time and historical data on system performance.
-
DIRECT POST LINK: Pushing back against the wave of bot accounts on Lemmy - sh.itjust.works
sh.itjust.works Pushing back against the wave of bot accounts on Lemmy - sh.itjust.worksHi everyone. I wanted to share some Lemmy-related activism I’ve been up to. I got really interested in the apparent surge of bot accounts that happened in June. Recently, I was able to play a small part in removing some of them. Hopefully by getting the word out we can ensure Lemmy is a place for ac...
-
BOLO: Lemmy server 0.18.2 seems to not be federating post deletion, when a user deletes their own post
If anyone can confirm this problem, please do. GitHub issue: https://github.com/LemmyNet/lemmy/issues/3588
I started noticing more accidental-duplicate posts where the creator of the post wasn't cleaning up their own dupes, but it seems some internal problem with Lemmy may be at play. I have no idea if it isn't sending it outbound, some kind of problem inbound, or other version interaction. I tested it on two 0.18.2 servers.
-
Lemmy servers claiming privacy and security of content, perhaps consider not making such claims
A few weeks ago, the topic came up and I commented on Beehaw: https://beehaw.org/comment/361658
Given the beta status of Lemmy, I don't even think it's a great idea to give the appearance of privacy. I think the core purpose of a webapp like Lemmy is public messages.
I think it's a can of worms for server operators to get into the business of thinking they can safely hold private messages between users/strangers. None of the Lemmy instances I've joined have had a "terms of service" or anything like that on SIgn Up, I really think the message should be sent far and wide that Lemmy is about posting IN PUBLIC and that messages are being FEDERATED to peers, even people that you don't know could be collecting the data for a search engine.
With small-time server operators opening up hundreds of Lemmy instances, without giving away their experience or human identity, how can you have any confidence that someone is properly securing a server they only have part-time job to update and operate? Major corporations are having their database stolen, Valve, Sony, Nintendo, health care companies, mobile network companies (AT&T)... you think a low-budget shoestring server by a hobbyist running Lemmy should be held to the same standards as a corporation who has an entire team and services to defend their data?
EDIT: Same goes for putting your Lemmy password into a smartphone app or other third-party client. Why should Lemmy server operators be claiming privacy when you have no idea (and no agreement with) who is front-ending your API? You have a 'man in the middle' right there, with full access to Lemmy logins.
-
Great news - the server overloading is fixed, Lemmy.ml & Lemmy.world are delivering posts and comments far better!
There was a bug in Lemmy where servers with large numbers of subscribers did a SQL query that overloaded the servers. Lemmy.ml and Lemmy.world were heavily impacted, given how many new instances have been added with people who subscribe to those big server communities!
I have been spot checking the comment replication on recent postings and messages are flowing far better.
-
sh.itjust.works is getting spammed with garbage communities - sh.itjust.works
linked to original post given replication problems with lemmy.ml
-
Downgrade activitypub-federation library to 0.4.1 by Nutomic · Pull Request #3466 · LemmyNet/lemmy - Lemmy 0.18.1 change regarding overloaded servers
github.com Downgrade activitypub-federation library to 0.4.1 by Nutomic · Pull Request #3466 · LemmyNet/lemmyThis commit changed the implementation for sending outgoing activities. I believe that it is responsible for major increases in CPU and RAM usage and client errors. Because now there are up to mill...
" I believe that it is responsible for major increases in CPU and RAM usage and client errors. Because now there are up to millions of async tasks active which are doing nothing but sleeping, and this likely messes up the scheduler. I will rework this for 0.18.2."
-
Posting about Federation troubleshooting and server overload - Lemmy.world
lemmy.world Federation troubleshooting - Lemmy.worldSo I’ve been troubleshooting the federation issues with some other admins: [https://lemmy.world/pictrs/image/4a23a8dd-4141-4672-b95c-38e0708f6079.png] (Thanks for the help) So what we see is that when there are many federation workers running at the same time, they get too slow, causing them to time...
I did not cross-link because I suggest comments be on the original posting.
-
lemm.ee has been upgraded to 0.18.1! - lemm.ee (Lemmy 0.18.1 release candidate upgrades rolling out)
lemm.ee lemm.ee has been upgraded to 0.18.1! - lemm.ee# Update: The maintenance has been completed! Welcome to 0.18.1! Hopefully you’ll notice some much needed UI tweaks as well as several performance optimizations. I am still going through things and making sure everything looks good, but so far, I have not detected any major issues (fingers crossed)....
-
Lemmy specific federation, no question is stupid or dumb - how does it work? Each community has a home server...
... which server sends when two peer instance end-users reply in comments to each other and neither is on the home server?
lemmy.ml is home to this community [email protected] - if a user on midwest.social comments, which server does the distribution to all the servers subscribed to the community?
If you can point to Rust code in the projects where this happens, please do!
-
Lemmy Federation of comments - Lemmy to Lemmy - missing or slow delivery on Instances, details
I will be dumping reports in here, fresh at the time of each comment
The count of comments is based on the time of the comment here in this community. New comments can be added after the report is posted. It is also a count of the comments loaded off the server, not just the count at the top of the posting - which can be incorrect.
-
BOLO: Lemmy 0.18.0 no longer federates outbound with non-Lemmy instances · GitHub Issue #3354 · LemmyNet/lemmy
github.com [Bug]: Lemmy 0.18.0 no longer federates outbound with non-Lemmy instances · Issue #3354 · LemmyNet/lemmyRequirements 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 multipl...
- lemmy.ml Why are the community stats wildly different when viewing from another instance? - Lemmy
For example, when viewing !kde here on .ml (which is the home instance, if that’s the right term), it shows these stats [https://lemmy.ml/pictrs/image/280540a0-078f-4ea5-ac80-01f3191340cc.png] and when viewing through another instance such as beehaw it shows [https://lemmy.ml/pictrs/image/e21d990b-6...
-
Lemmy data replication - a "backfill" tool to identify missing posts and comments to try and trigger copy of missing data between servers
If anyone is working on such a tool, please speak up. I've got some clumsy Javascript code in the form of a SvelteKit app I named "lemmy_helper" that I am thinking of adding this as a command line where you can put in the URL of two servers for a specific community and crawl postings and comments and try to discover missing ones.
As I understand it, the Federation protocols have no 'bulk copy' ability, no way to send a list of comments and postings and get them all at once. So each individual missing comment and posting would need to be triggered by a search on the server that is missing them?
I propose "lemmy-remote-data-repair" as the working name for this concept code/app.
-
: Lemmy is aking for a application/ld+json webfinger where it should be jrd+json or xrd+xml · Issue #3222 · LemmyNet/lemmy (Lemmy can't federate with Pleroma / Akkoma)
github.com [Bug]: Lemmy is aking for a application/ld+json webfinger where it should be jrd+json or xrd+xml · Issue #3222 · LemmyNet/lemmyRequirements 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 multipl...
-
Admin was removed either by bug or exploit. · GitHub Issue #3060 · LemmyNet/lemmy (incoming data from remote instances can overwrite admin for a local instance)
github.com Admin was removed either by bug or exploit. · Issue #3060 · LemmyNet/lemmyI am admin of lemmy.world. Suddenly I was missing the 'admin' icon in the top menu. I checked, I also wasn't listed on the home page as 'admin'. I then checked the database, the 'admin' column was ...
This bug isn't yet fixed in 0.18 beta?
-
: Established instances (not new installs), Community join/subscribe "Pending" for some busy remote servers · GitHub Issue #3203 · LemmyNet/lemmy
github.com [Bug]: Established instances (not new installs), Community join/subscribe "Pending" for some busy remote servers · Issue #3203 · LemmyNet/lemmyRequirements 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 multipl...
cross-posted from: https://lemmy.ml/post/1370450
> I encourage all instance owner/operators to run the query mentioned in the issue and see how many of these 'pending' they have on their server. (FYI, I am RocketDerp on GitHub)
-
Lemmy Federation - 0.17.4 era - does the home instance for the community send all outbound messages? Is it a hub for the community?
I find it interesting that the PostgreSQL comment table in Lemmy has no concept of which instance the comment came from, nor does it have local flag. Well, a comment row does have the ap_id field, but it is in a format that doesn't really allow you to sort trivially by origin-instance.
-
We have created documentation on how exactly Lemmy federation works (October 2020 discussion)
socialhub.activitypub.rocks We have created documentation on how exactly Lemmy federation worksThis first document gives a high-level overview, without being too technical. It is roughly based on the federation.md proposal. https://join-lemmy.org/docs/en/federation/overview.html We also have a separate document that describes the exact JSON format used by Lemmy, and how the various fields a...
-
Lemmy compatibility enhancements · GitHub Issue #17008 · mastodon/mastodon (November 2021)
github.com Lemmy compatibility enhancements · Issue #17008 · mastodon/mastodonPitch Recently the lemmy devs added a mastodon-federation-compatibility feature, but there are some quirks: User <-> community ambiguity Lemmy allows users and communities to have the same name, so...