Closed solarbirdy closed 3 days ago
Hey, sorry for the trouble! I think I might see what's going on here. We don't currently serve Vary: Accept
for AP actors like this, but we need to. I'll try that and see if it helps.
Not confident that will solve your problem, though. I don't see that BF is serving multiple redirects or a loop. Guess we'll see.
Thank you! I look forward to trying it! ^_^
Obviously I have no idea whether that error reflects what's actually going on or whether it's just a fallback error, so it totally could be misleading.
Will you note here when the change is in place, or otherwise, how best should I track it?
Yup, I'll update here.
@solarbirdy mind trying again? I give it 50/50 that this fixes your issue 😁
Oh, already! Not at all, I'll give it a try right now...
No.
Dang.
@solarbirdy the Friends plugin is evidently sending an unusual Accept
header for AP/AS2 conneg that Bridgy Fed isn't understanding. I've added some logging, mind trying again?
Gladly! Here we gooooo...
Done. Same result and error at the moment of course.
(3:03pm Cascadian/Pacific standard time.)
Well that's odd. The Friends plugin isn't even trying to do AP conneg, it's fetching https://bsky.brid.gy/bsky.brid.gy with Accept: */*
, which is wrong: https://www.w3.org/TR/activitypub/#retrieving-objects
@solarbirdy is this the latest version of the plugin? If so, you'll probably want to file a bug: https://github.com/akirk/friends/issues
I am running the latest version. I've also already opened an issue - I contact both of you at the same time - over at the plugin support page. I know that Alex responds to posts there, and I will add this to it with a link.
I'll also ask whether I should open it as an issue on the Github side, and try to keep everybody up to date.
Thanks for all the debugging here! The reason the plugin sends an Accept: */*
request first is that the feed discovery also needs to work for non-ActivityPub sources. The issue was actually that I set the redirect to a too low number, just raising it by 1 makes it work!
I came here to say it looked like it works and to give a link back!
Thanks to everybody, this was great :D
Thank you @akirk!
Got confirmation that it worked this morning too! :D
Seriously this is fun xD
Hi! Installed the Friends plugin to my selfhosted latest-WordPress instance running ActivityPub at https://solarbird.net/.
I then attempted to friend @bsky.brid.gy@bsky.brid.gy in order to allow ActivityPub follows from BlueSky. It fails with a “too many redirects” error:
Too many redirects (https://bsky.brid.gy/bsky.brid.gy)
I have filed this with the Friends plugin author as well, of course. But since following Mastodon accounts seems to work fine, it's quite possible they'll throw the ball back to me and say to ask you.
However it gets addressed, it would be very nice if I could follow @bsky.brid.gy@bsky.brid.gy from the WordPress Friends plugin with ActivityPub as I'm hoping that would work as an opt-in on the gateway, thus enabling BlueSky users to follow my Federated blog instance using standard Fediverse nomenclature.
Thank you! ^_^