I followed my communities from my Mastodon account on die-partei.social to stay up to date. Now I noticed that nothing showed up in my timeline for quite a long time.
Apparently the following has been locked. Communities on lemmy.ml I can still follow without any problems, on lemmy.ca communities I get a notice that a follower request was made - which of course never arrived. The same applies to the attempt to follow my own lemmy.ca account from Mastodon.
Was this option intentionally blocked, is there a problem here?
Welcome to lemmy.ca’s c/main!
Since everyone on lemmy.ca gets subscribed here, this is the place to chat about the goings on at lemmy.ca, support-type items, suggestions, etc.
Sidebar updated Sept 7, 2021
Are you on the most current version of lemmy? I had read that there were improvements recently on how lemmy federates with Mastodon v4, including fixing starting new posts.
yes, we’re on the most recent version. it could be just a cosmetic thing too. I will try and follow a lemmy community from mastodon and see what it says in the lemmy db.
so how’s that going?
haven’t gotten around to it yet. probably won’t have a chance this weekend, will report back then.
Sorry for the late answer, haven’t seen any notification about the answers. Unfortunately, the problem is still there. I cancelled the request and tried again - the contact immediately changes back to ‘pending request’.
i’ve done some more investigation into this, and i’m not sure why it’s not working. i was able to successfully follow my lemmy account from my mstdn.ca account, however i do get the “Pending Request” thing when trying to do it from my main social.linux.pizza mastodon account.
also, trying to search for communities didn’t appear to work at all from mstdn.ca, but it does from social.linux.pizza, but i wasn’t able to follow it without getting the “Pending Request” thing. weird.
there isn’t any error in the lemmy logs or anything, so i’m not sure what else i can do at this point. i’ll ask in the lemmy instance admin matrix channel to see if anyone has any further ideas how i can troubleshoot this issue. the weird part is i’m not consistently seeing the request being logged in my web logs, so maybe the request is being blocked further up? i’ll investigate that as well.
i also compared getting the json returned from both a community & user on both lemmy.ca & lemmy.ml, and i couldn’t see any obvious differences.
thanks for your patience!
The way follows work in this case is that Mastodon sends a
Followactivity to the Lemmy inbox, and Lemmy responds with
Acceptto the Mastodon inbox. If the follow action is stuck as pending, then one of those didnt get delivered properly.
To debug this, grep the logs for the Mastodon domain name while sending a follow. You should have
RUST_LOG=...,lemmy_apub=debug,activitypub_federation=debugin docker-compose.yml. If it works correctly, you should see the incoming
Acceptactivities being logged. It might also help to get logs from the Mastodon side.
thanks for the info! i will try this when i have some free time, and hopefully be able to get to the bottom of this.
just tried it. similar to what i found above, i see the Follow and Accept activities being logged when sending a follow request from
mtdn.ca, but not my main account
social.linuz.pizza. it could be it’s getting blocked along the way, for whatever reason. will contact the admin for
social.linuz.pizzato see if they can help get this figured out, or if they can provide any more info.
ok, after talking with the admin of
social.linux.pizza, it was because ipv6 wasn’t working. once I got that fixed, everything started working again normally.
@email@example.com, @firstname.lastname@example.org you may have to contact your mastodon admins and get them to check to make sure lemmy.ca is active or something.
it doesn’t look like anything is being written to the db, and i don’t see any relevant errors in the logs. will keep investigating to see if i can figure out what’s causing this.