Pre-Alpha ActivityPub-related bug reports
-
scott@authorship.studioreplied to julian@community.nodebb.org on last edited byFor a threaded conversation, if I am following someone who created a top level post, the expected behavior is that you get to see the whole thread. For some reason, I am not getting all of the replies to the thread. I have to go to the forum to view all of them, and since they never reached my app, I can't reply to them via ActivityPub.
-
julian@community.nodebb.orgreplied to scott@authorship.studio on last edited by
@scott@authorship.studio said:
For a threaded conversation, if I am following someone who created a top level post, the expected behavior is that you get to see the whole thread.
I'm not entirely sure this is the case. Expectation, 100% agreed, but in practice, I don't think that is the case.
For NodeBB to do this would mean that when
Create(Note)
activity is received in response to a post, that it be automatically forwarded to all the followers of the author being replied to. It can be done, but can't be properly verified because the forwarded activity's domain doesn't match the domain of the sender (me). Any reasonably secure AP implementation should automatically drop it.I have oodles of ideas as to how to solve the topic of backfill, but message forwarding I don't know about...
-
julian@community.nodebb.orgreplied to julian@community.nodebb.org on last edited by
@scott@authorship.studio I think I know why this is the case.
For you on Hubzilla, the message as received by NodeBB contains the following collection
https://community.nodebb.org/uid/2/followers
. The expectation according to the spec states that I must forward that message along to those users. This is so those users would get the whole conversation, and avoid ghost replies, etc.NodeBB does not do that at the moment. Thanks for letting me know about it.
The thing is, while Hubzilla does this, and even if NodeBB implemented it, Mastodon does not send those collections. When a reply is received, its recipients list usually contains only the person being replied to, the author's follower collection, and anybody else who happens to be mentioned.
So that's the reason why you can't see all of the replies in the thread, because another implementor didn't send them to everybody
It's actually quite interesting that Hubzilla explicitly includes OP's follower collection in the recipient list, I was thinking of doing the same for NodeBB.
-
altcode@social.vivaldi.netreplied to julian@community.nodebb.org on last edited by altcode@social.vivaldi.net
@julian It seems like account from community.nodebb.org that contain spaces in their usernames don't properly federate right now. Take @The-SkyFoxx@community.nodebb.org as an example, I am unable to see or manually fetch any of the posts they've made to this thread. In fact I'm not even able to see their profile, I've tried viewing it from Mastodon and kbin, but no luck.
Another issue I noticed is that I am unable to follow @general-discussion and @nodebb-development from kbin. It only seems to be a problem with kbin because I was able to follow those two categories without any problems from Mastodon. Following @activitypub from kbin worked fine though.
-
julian@community.nodebb.orgreplied to altcode@social.vivaldi.net on last edited by
@AltCode@social.vivaldi.net thanks! @The-SkyFoxx already stated that they had issues following others, so I think this is directly related.
I'm not sure what the issue is with kbin but I'll have to register an account and find out
-
julian@community.nodebb.orgreplied to julian@community.nodebb.org on last edited by
@AltCode@social.vivaldi.net in fact, it seems they both could be related to the same bug related to spaces. Interesting.
I have a feeling this might be a one-liner fix
#famouslastwords
-
the-skyfoxx@community.nodebb.orgreplied to julian@community.nodebb.org on last edited by
@AltCode@social.vivaldi.net said in Pre-Alpha ActivityPub-related bug reports:
It seems like account from community.nodebb.org that contain spaces in their usernames don't properly federate right now.
@julian I tried removing spaces from my username.
But I am still unable to follow anyone right now
Edit: Seems I can now follow. (Maybe changes take a while to propagate?)
However, when I added a space to my username and upper case, I am still able to follow.
TLDR: Fiddling with my username now allows me to follow. But restoring my username to what it was still allows me to follow
-
julian@community.nodebb.orgreplied to the-skyfoxx@community.nodebb.org on last edited by
@skyfoxx you sure about that? I got a follow notification
-
the-skyfoxx@community.nodebb.orgreplied to julian@community.nodebb.org on last edited by
@julian said in Pre-Alpha ActivityPub-related bug reports:
I got a follow notification
Seems to work now after I changed my username. But for some reason, I cannot 'redo' the error by reverting my username. Quite strange!
-
the-skyfoxx@community.nodebb.orgreplied to julian@community.nodebb.org on last edited by
New bug found @julian
When you try sorting in/world
, the posts disappear: -
crazycells@community.nodebb.orgreplied to the-skyfoxx@community.nodebb.org on last edited by
@skyfoxx @julian actually, they do not disappear, but it only sorts the posts from people you follow...
-
julian@community.nodebb.orgreplied to crazycells@community.nodebb.org on last edited by
@oplik0 any thoughts?
-
crazycells@community.nodebb.orgreplied to julian@community.nodebb.org on last edited by
@julian on the
..../world/all
page, whatever topic filter option you click, it takes you to the.../world?sort=...
page rather than the/world/all?sort=
page...however, I can manually add
/all
to the url, and it works.../world/all?sort=most_votes
so, this page shows all the activitypub posts sorted by most votes..
-
crazycells@community.nodebb.orgreplied to julian@community.nodebb.org on last edited by
hi @julian , I just wanted to bring this to your attention... I believe @crazycells@community.nodebb.org and @crazycells should not appear as separate profiles on this forum?
-
julian@community.nodebb.orgreplied to crazycells@community.nodebb.org on last edited by
@crazycells am aware thank you
-
julian@community.nodebb.orgreplied to the-skyfoxx@community.nodebb.org on last edited by
@skyfoxx @AltCode@social.vivaldi.net I started looking into this but wasn't able to easily figure out why kbin wasn't able to find the magazine.
I'll admit I can't easily grok kbin's interface... I was able to (accidentally) add General Discussion to the list of magazines, though?
https://kbin.social/m/general-discussion@community.nodebb.org
I thought perhaps it was related to dashes not being parsed properly by their mentions matcher, but I can't be entirely sure whether the problem is on my end or theirs!
-
julian@community.nodebb.orgreplied to julian@community.nodebb.org on last edited by
@skyfoxx @AltCode@social.vivaldi.net I... don't know what I did, but kbin.social is down now! Oh boy.
-
angus-mcleod@community.nodebb.orgreplied to julian@community.nodebb.org on last edited by
I'm getting this delivery failure trying to send a follow to a category inbox
[Discourse Activity Pub] POST request to https://community.nodebb.org/category/31/inbox failed: Expected([200, 201, 202]) <=> Actual(400 Bad Request) [Discourse Activity Pub] https://socialhub.activitypub.rocks/ap/actor/797217cf18c0e819dfafc52425590146 failed to deliver to https://community.nodebb.org/category/31/inbox id: https://socialhub.activitypub.rocks/ap/activity/02feb8d245fa780e4683d03015f1b41e type: Follow to: https://community.nodebb.org/category/31 cc: - https://www.w3.org/ns/activitystreams#Public published: '2024-04-05T18:09:14Z' updated: '2024-04-05T18:09:14Z' actor: !ruby/hash:ActiveSupport::HashWithIndifferentAccess id: https://socialhub.activitypub.rocks/ap/actor/797217cf18c0e819dfafc52425590146 type: Group updated: '2024-04-05T12:49:51Z' url: https://socialhub.activitypub.rocks/c/meeting/threadiverse-wg/88 name: Threadiverse Working Group (SocialHub) inbox: https://socialhub.activitypub.rocks/ap/actor/797217cf18c0e819dfafc52425590146/inbox outbox: https://socialhub.activitypub.rocks/ap/actor/797217cf18c0e819dfafc52425590146/outbox followers: https://socialhub.activitypub.rocks/ap/actor/797217cf18c0e819dfafc52425590146/followers preferredUsername: threadiverse-wg ...
-
julian@community.nodebb.orgreplied to angus-mcleod@community.nodebb.org on last edited by
@Angus-McLeod did it just send a 400 or was there an error message involved in the response?
Edit: I added some additional debugging to the S2S validation logic. Can you try to follow
@general-discussion@bb.devnull.land
? That instance is my testing instance and is a little quieter. -
angus-mcleod@community.nodebb.orgreplied to julian@community.nodebb.org on last edited by
@julian I've just sent a few follows from my local to @general-discussion@bb.devnull.land. The code is again 400 and the error message is just "Bad request". I know our follows work with Mastodon (and other Discourse instances), but nevertheless there could be an issue on either end here. Lmk if you find anything in the logs about why it's being rejected.