snarfed / bridgy-fed

🌉 A bridge between decentralized social network protocols
https://fed.brid.gy
Creative Commons Zero v1.0 Universal
557 stars 29 forks source link

Posts from one AP account federate to bsky, but another don't #1018

Closed minneyar closed 4 months ago

minneyar commented 4 months ago

Apologies if this is the wrong place for general support, I looked around a little but didn't see any other options.

Details:

But my problem is that posts from @minneyar@fuzzyfox.social do not seem to federate to bsky. The profile page exists (https://bsky.app/profile/minneyar.fuzzyfox.social.ap.brid.gy), but none of the posts I've made have appeared, even though posts from @admin@fuzzyfox.social and reactions from both accounts seem to be working.

Any ideas why posts aren't going across?

qazmlp commented 4 months ago

I noticed that the bridged Bsky account is following @admin@fuzzyfox.social but not @minneyar@fuzzyfox.social. Did you follow the latter from Bsky before opting in from there or close in time to that?

There's likely some overlap here with https://github.com/snarfed/bridgy-fed/issues/975, in that posts aren't sent to the bridge if there's no bridged account following the opted-in author on the AP side.

Relevant Sharkey source: https://activitypub.software/TransFem-org/Sharkey/-/blob/83df1c012874204fb83a5e2d4671767de4f599f8/packages/backend/src/core/NoteCreateService.ts#L900-930 Relevant Misskey source: https://github.com/misskey-dev/misskey/blob/2b21c1936212b6e1288d545b71544888e84ce8ab/packages/backend/src/core/NoteCreateService.ts#L669-L700

minneyar commented 4 months ago

Oh, interesting... it looked to me as though both counts were following each other, but I unfollowed from the bsky side and then followed again, and now posts are going through!

I forget the exact order of operations here, but I think I did:

  1. Followed @bsky.brid.gy@bsky.brid.gy from Sharkey
  2. Followed @minneyar.fuzzyfox.social.brid.gy from Bsky
  3. Followed @ap.brid.gy from Bsky
  4. Followed @minneyar.fuzzyfox.social@bsky.brid.gy from Sharkey

All of that would have been done in fairly quick succession, and I do think I followed from the Bsky side before opting-in from there.

snarfed commented 4 months ago

Glad this is working now!

minneyar commented 4 months ago

Hmm, it doesn't seem like it's quite working as expected yet; although an initial post went across, I've tried replying to it on both sides, and neither of the replies reached the other side. For comparison:

https://bsky.app/profile/minneyar.fuzzyfox.social.ap.brid.gy/post/3krt6ht4yzpu2 https://fuzzyfox.social/notes/9sykg2gdd4j1008c

snarfed commented 4 months ago

Are the replies from accounts that have opted in?

Also, for Bluesky => AP, there's a delay: https://fed.brid.gy/docs#bluesky-delay => Bluesky,

Oh btw @minneyar on an unrelated note, your instance instance fuzzyfox.social is a bit infamous on my side. A ton of other instances have been hammering /.well-known/webfinger?resource=acct:instance.actor@fuzzyfox.social on Bridgy Fed for weeks now, averaging 1-2qps total. Any idea why?

minneyar commented 4 months ago

Yep, both accounts have opted in, and the replies are both from my accounts that have followed each other. It's been about an hour now, which I thought would've been long enough for the delay.

But that's weird, I honestly have no idea why that would be happening! I believe the instance.actor account is a bot created by Misskey when joining relays; I've joined several large relays in the past, although I also left a few that I was constantly getting errors from. Could those requests be somehow related to that?

Update: I've made another thread where accounts have been able to reply to each other, but something's still a little funny; in the last post in this thread on Bsky: https://bsky.app/profile/minneyar.fuzzyfox.social/post/3krte75w6fe2u

It has a "1" next to the comment bubble in the interface as though there is a reply, but none is visible, although there is a reply on the Sharkey side (https://fuzzyfox.social/notes/9syocx8kd4j100hn).

Update 2: But I did see the reply show up on my main feed on Bsky, even though it doesn't appear in the thread, so maybe it's fine and I just don't understand how Bsky's interface works.

snarfed commented 4 months ago

Missing replies from Bluesky is probably #1011. If that's the main outstanding problem here, I'm going to tentatively merge this into that issue.

minneyar commented 4 months ago

Yep, I think that is the same issue I'm seeing now, so feel free to merge it.

Other instances hammering your webfinger looking for info about my instance also seems like an issue, but this probably isn't the right place to track that...

snarfed commented 4 months ago

Deployed a change for this and #1011, should hopefully fix self replies and other non-notif replies. Thanks again for reporting!