-
-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to subscribe to relays from Misskey #2
Comments
Can you try dumping the HTTP(s) requests between relay.fedi.buzz and your Calckey instance in general and especially from the seconds after a follow request? Anecdote: I've set up a Pleroma instance, and since 3a3a25d following works. Pleroma ingests the posts URLs into its database but still does not fetch the actual metadata and content. |
I'm getting absolutely nothing relay-related in the logs. I'm not sure how I would set up such a mechanism. I looked through my instance and found out it knows about the service accounts for the relays I've tried following. It doesn't see any of their posts or Announces, it seems. On a side note, I discovered the really neat but possibly unintended side effect that people can directly follow @tag-something and @instance-domain at relay.fedi.buzz and it actually works (Mastodon sees it as a boost)! |
I think we found the problem. Misskey and any of its forks requires authorized fetch support, so Fedibuzz is going to need to add support for this. Here is the issue I’m referring to; |
Ah right! Thank you for clearing that up. I don't have these signatures as they are not included in Mastodon's streaming API. Out of curiosity: does *key provide these signatures in a streaming API? Signatures would certainly make sense if buzzrelay was sending content. But all a following instance gets is links to content. |
Misskey tends to use a different API, but I was able to get Fedibuzz working with my Calckey instance since it has Mastodon API compatability. I think the relay issue with Misskey is for the fact that none of the stuff are being signed. I set up a relay to connect my Mastodon instance with my Calckey instance and required me to generate a RSA key. My guess is that any connections from the relay to the instance that created the relay request by the instance's administrator must be signed. https://github.com/yukimochi/Activity-Relay/wiki/01.-Install |
Great to know that Calckey can follow buzzrelay! 🎉 Just for the record, there are two signature schemes in ActivityPub:
If Mastodon was ever changed to check the LDS then that would mean Game Over for this project. |
What I meant is my Mastodon instance can follow a Calckey instance, but a Calckey instance can't use Fedibuzz at all. If you can spin up a test instance and see what is going on as the status stays in pending, and never accepted. |
I tried following a tag from my gotosocial instance, which also requires all requests to be signed. It looks like the follow-request goes out to relay.fedi.buzz, but then the relay connects back to dereference my user account and that is failing.
Taking a quick look at the source.. it looks like this might be this call to My understanding is that Mastodon behaves similarly when configured in secure mode. Maybe this is also the issue with Calckey. |
@darrinsmart Thanks for the research! |
Awesome! Sorry I'm late to the thread, but yes Calckey requires secure fetch. |
Now running with Authorized Fetch:tm:. Works for you? |
I ended up axing my server due to technical constraints so I can't debug the issue anymore.
I tested following a virtual instance account from a Calckey server, and the "accept" response wasn't received. I tried that technique on Mastodon, and it marks it as followed right away, although on refresh it shows it as still "Awaiting approval." I tried following a virtual tag account and it did the same thing. This used to work (I think I mentioned it earlier in the thread), so I don't know what changed.
…On Sun, May 14, 2023, at 5:43 PM, Astro wrote:
Now running with Authorized Fetch™️. Works for you?
—
Reply to this email directly, view it on GitHub <#2 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ADUJCOSAJZ676E7GBFAFPOTXGFGXPANCNFSM6AAAAAAW6UY33U>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
----------
Blake Leonard
https://blakes.dev
|
Relays are set up by admins in Calckey's Control Panel. I might spin up an ngrok-based instance on my computer to test if it works, but I have a hunch the relay as a whole may be broken, if the following technique no longer works...
…On Sun, May 14, 2023, at 6:06 PM, James Moy wrote:
Can confirm the same, not sure how to debug this on Calckey.
2023-05-14_18-03-26 <https://user-images.githubusercontent.com/161183/238211634-fd5e2146-cbba-46d4-88e6-56ae1f623813.png> 2023-05-14_18-04-52 <https://user-images.githubusercontent.com/161183/238211617-41f40aa9-8e09-4607-b701-2682d6161ad0.png>
—
Reply to this email directly, view it on GitHub <#2 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ADUJCOTADNSPY3YH3C267LDXGFJM7ANCNFSM6AAAAAAW6UY33U>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
----------
Blake Leonard
https://blakes.dev
|
I was able to get an Activity-Relay, based relay with three hosts joined to it (this includes my Calckey instance) and it worked. Must be the implementation. |
@moyitpro It is the implementation that we are trying to fix here! |
I can follow from my gotosocial instance now. Thanks @astro! It doesn't actually work after that, I think because gotosocial doesn't yet have explicit relay support yet and I was just testing by following from my user account. fedi.buzz attempts to deliver posts but gts is rejecting them. I haven't looked into why - there is no particular error logged except "Bad Request". I expect it probably isn't an issue with fedi.buzz. |
I've had a debugging session together with @CutestNekoAqua. Calckey can now follow the relay. It's still not rendering posts, just like Pleroma. |
@Ninlives Can you please create separate tickets? Include your service.buzzrelay config! Please paste console output with backticks, I cannot copy anything from screenshots. |
@astro Sorry, my bad, will do maybe tomorrow. By the way, is there an option to print some debug message about what requests are being processed etc. from buzzrelay? |
@Ninlives No. You can add |
This appears to be fixed, at least in Calckey. https://codeberg.org/calckey/calckey/commit/27965f708d639ef7e127d75a6f1c49a1b14d17e5 Now they are rendering posts as seen with Calckey 14.0 RC3 |
I think this was closed prematurely. It works on Calckey now but still not Misskey as far as I can tell. |
Just thought I'd share - I'm on Firefish (rebranded Calckey), I seem to be able to connect to relays, but I'm unable to follow those account-like relays (@[email protected], for example). The follow request remains in a processing state, could it be an issue with authorized fetch for following the account-like relays? |
If it's a "hashtag"/"group" actor and not a "person" actor, Firefish doesn't support those. I'm not sure how the relay handles that. |
I'm unable to follow any of the relay feeds from my Calckey instance (a fork of Misskey). They're all listed as "pending:"
I'm not sure how this ActivityPub Relay supports *key.
Does it help if I add the Calckey instance is set up at a subdomain of a Glitch-soc (Mastodon fork) instance that has these subscribed?
The text was updated successfully, but these errors were encountered: