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?
I’m not sure why that’s happening. I’ll try restarting the service to see if that helps at all.
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.
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.
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
Follow
activity to the Lemmy inbox, and Lemmy responds withAccept
to 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=debug
in docker-compose.yml. If it works correctly, you should see the incomingFollow
and outgoingAccept
activities being logged. It might also help to get logs from the Mastodon side.