superseriousbusiness / gotosocial

Fast, fun, small ActivityPub server.
https://docs.gotosocial.org
GNU Affero General Public License v3.0
3.66k stars 310 forks source link

[bug/federation] Replies to Lemmy posts don't show up on Lemmy instance #1468

Closed kvibber closed 1 week ago

kvibber commented 1 year ago

Describe the bug with a clear and concise description of what the bug is.

GoToSocial is able to see Lemmy posts, boost them and reply to them, and the replies and boosts will federate to Mastodon followers, but the replies don't seem to federate back to Lemmy.

What's your GoToSocial Version?

0.7.0rc1

GoToSocial Arch

amd64 docker

Browser version

No response

What happened?

No response

What you expected to happen?

No response

How to reproduce it?

No response

Anything else we need to know?

No response

kvibber commented 1 year ago

Apparently Lemmy doesn't do signed fetches yet: https://socialhub.activitypub.rocks/t/help-improving-federation-between-lemmy-and-other-projects/2308/39

I guess that explains it.

daenney commented 1 year ago

That would explain it. It also means Lemmy would already have issue federating with people on certain Mastodon instances if those run in "secure mode", i.e have https://docs.joinmastodon.org/admin/config/#authorized_fetch enabled. Pleroma has a similar setting as do most other implementations, though it's not enabled by default.

I suspect that's likely to change over time though so the longer it goes unimplemented in Lemmy the more federation issues users will experience. There are a couple of Rust crates available that implement HTTP signatures so hopefully the Lemmy devs wouldn't have to do this from scratch.

trashhalo commented 1 year ago

linking related issue on lemmy https://github.com/LemmyNet/lemmy/issues/868

Nutomic commented 10 months ago

FYI signed fetch will be supported in Lemmy soon (probably in 0.19.0), but will have to be enabled by instance admins.

https://github.com/LemmyNet/lemmy/pull/4125

tsmethurst commented 1 week ago

I think this can be closed now (see https://github.com/superseriousbusiness/gotosocial/issues/2697 for more in-depth discussion on federation issues between lemmy + gts).