Skip to content
  • Categories
  • Recent
  • Popular
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

NodeBB-ActivityPub Bridge Test Instance

  1. Home
  2. Categories
  3. General Discussion
  4. AP Test (community.nodebb.org)
  5. Pre-Alpha ActivityPub-related bug reports

Pre-Alpha ActivityPub-related bug reports

Scheduled Pinned Locked Moved AP Test (community.nodebb.org)
bugsnodebbacti
138 Posts 18 Posters 1.3k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • julian@community.nodebb.orgJ julian@community.nodebb.org

    I may regret creating this topic but here goes.

    If you experience a bug or other unexpected behavior while using NodeBB and its related ActivityPub integration, please post it here so it can be tracked and resolved.

    No formal process as of yet, and we're still at pre-alpha so expect many things to be broken or unavailable 😅

    scott@authorship.studioS This user is from outside of this forum
    scott@authorship.studioS This user is from outside of this forum
    scott@authorship.studio
    wrote on last edited by
    #27
    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. 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.orgJ 1 Reply Last reply
    0
    • scott@authorship.studioS scott@authorship.studio
      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. 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.orgJ This user is from outside of this forum
      julian@community.nodebb.orgJ This user is from outside of this forum
      julian@community.nodebb.org
      wrote on last edited by
      #28

      @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.orgJ 1 Reply Last reply
      0
      • julian@community.nodebb.orgJ julian@community.nodebb.org

        @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.orgJ This user is from outside of this forum
        julian@community.nodebb.orgJ This user is from outside of this forum
        julian@community.nodebb.org
        wrote on last edited by
        #29

        @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.

        1 Reply Last reply
        0
        • julian@community.nodebb.orgJ julian@community.nodebb.org

          I may regret creating this topic but here goes.

          If you experience a bug or other unexpected behavior while using NodeBB and its related ActivityPub integration, please post it here so it can be tracked and resolved.

          No formal process as of yet, and we're still at pre-alpha so expect many things to be broken or unavailable 😅

          altcode@social.vivaldi.netA This user is from outside of this forum
          altcode@social.vivaldi.netA This user is from outside of this forum
          altcode@social.vivaldi.net
          wrote on last edited by altcode@social.vivaldi.net
          #30

          @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.orgJ 1 Reply Last reply
          0
          • altcode@social.vivaldi.netA 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.orgJ This user is from outside of this forum
            julian@community.nodebb.orgJ This user is from outside of this forum
            julian@community.nodebb.org
            wrote on last edited by
            #31

            @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.orgJ 1 Reply Last reply
            0
            • julian@community.nodebb.orgJ julian@community.nodebb.org

              @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.orgJ This user is from outside of this forum
              julian@community.nodebb.orgJ This user is from outside of this forum
              julian@community.nodebb.org
              wrote on last edited by
              #32

              @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.orgT 1 Reply Last reply
              0
              • julian@community.nodebb.orgJ julian@community.nodebb.org

                @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.orgT This user is from outside of this forum
                the-skyfoxx@community.nodebb.orgT This user is from outside of this forum
                the-skyfoxx@community.nodebb.org
                wrote on last edited by
                #33

                @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.orgJ 2 Replies Last reply
                0
                • the-skyfoxx@community.nodebb.orgT the-skyfoxx@community.nodebb.org

                  @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.orgJ This user is from outside of this forum
                  julian@community.nodebb.orgJ This user is from outside of this forum
                  julian@community.nodebb.org
                  wrote on last edited by
                  #34

                  @skyfoxx you sure about that? I got a follow notification 🙂

                  the-skyfoxx@community.nodebb.orgT 1 Reply Last reply
                  0
                  • julian@community.nodebb.orgJ julian@community.nodebb.org

                    @skyfoxx you sure about that? I got a follow notification 🙂

                    the-skyfoxx@community.nodebb.orgT This user is from outside of this forum
                    the-skyfoxx@community.nodebb.orgT This user is from outside of this forum
                    the-skyfoxx@community.nodebb.org
                    wrote on last edited by
                    #35

                    @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!

                    1 Reply Last reply
                    0
                    • julian@community.nodebb.orgJ julian@community.nodebb.org

                      I may regret creating this topic but here goes.

                      If you experience a bug or other unexpected behavior while using NodeBB and its related ActivityPub integration, please post it here so it can be tracked and resolved.

                      No formal process as of yet, and we're still at pre-alpha so expect many things to be broken or unavailable 😅

                      the-skyfoxx@community.nodebb.orgT This user is from outside of this forum
                      the-skyfoxx@community.nodebb.orgT This user is from outside of this forum
                      the-skyfoxx@community.nodebb.org
                      wrote on last edited by
                      #36

                      New bug found @julian
                      When you try sorting in /world, the posts disappear:

                      Link Preview Image
                      NodeBB Community

                      A community to talk about development and ask questions about NodeBB modern forum software

                      favicon

                      NodeBB Community (community.nodebb.org)

                      crazycells@community.nodebb.orgC 1 Reply Last reply
                      0
                      • the-skyfoxx@community.nodebb.orgT the-skyfoxx@community.nodebb.org

                        New bug found @julian
                        When you try sorting in /world, the posts disappear:

                        Link Preview Image
                        NodeBB Community

                        A community to talk about development and ask questions about NodeBB modern forum software

                        favicon

                        NodeBB Community (community.nodebb.org)

                        crazycells@community.nodebb.orgC This user is from outside of this forum
                        crazycells@community.nodebb.orgC This user is from outside of this forum
                        crazycells@community.nodebb.org
                        wrote on last edited by
                        #37

                        @skyfoxx @julian actually, they do not disappear, but it only sorts the posts from people you follow...

                        julian@community.nodebb.orgJ 1 Reply Last reply
                        0
                        • crazycells@community.nodebb.orgC crazycells@community.nodebb.org

                          @skyfoxx @julian actually, they do not disappear, but it only sorts the posts from people you follow...

                          julian@community.nodebb.orgJ This user is from outside of this forum
                          julian@community.nodebb.orgJ This user is from outside of this forum
                          julian@community.nodebb.org
                          wrote on last edited by
                          #38

                          @oplik0 any thoughts? 🤔

                          crazycells@community.nodebb.orgC 1 Reply Last reply
                          0
                          • julian@community.nodebb.orgJ julian@community.nodebb.org

                            @oplik0 any thoughts? 🤔

                            crazycells@community.nodebb.orgC This user is from outside of this forum
                            crazycells@community.nodebb.orgC This user is from outside of this forum
                            crazycells@community.nodebb.org
                            wrote on last edited by
                            #39

                            @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...

                            Screenshot 2024-04-01 at 10.31.40.png

                            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..

                            https://community.nodebb.org/world/all?sort=most_votes

                            1 Reply Last reply
                            0
                            • julian@community.nodebb.orgJ julian@community.nodebb.org

                              I may regret creating this topic but here goes.

                              If you experience a bug or other unexpected behavior while using NodeBB and its related ActivityPub integration, please post it here so it can be tracked and resolved.

                              No formal process as of yet, and we're still at pre-alpha so expect many things to be broken or unavailable 😅

                              crazycells@community.nodebb.orgC This user is from outside of this forum
                              crazycells@community.nodebb.orgC This user is from outside of this forum
                              crazycells@community.nodebb.org
                              wrote on last edited by
                              #40

                              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?

                              IMG_0065.PNG

                              julian@community.nodebb.orgJ 1 Reply Last reply
                              0
                              • crazycells@community.nodebb.orgC crazycells@community.nodebb.org

                                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?

                                IMG_0065.PNG

                                julian@community.nodebb.orgJ This user is from outside of this forum
                                julian@community.nodebb.orgJ This user is from outside of this forum
                                julian@community.nodebb.org
                                wrote on last edited by
                                #41

                                @crazycells am aware thank you 👍

                                1 Reply Last reply
                                0
                                • the-skyfoxx@community.nodebb.orgT the-skyfoxx@community.nodebb.org

                                  @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.orgJ This user is from outside of this forum
                                  julian@community.nodebb.orgJ This user is from outside of this forum
                                  julian@community.nodebb.org
                                  wrote on last edited by
                                  #42

                                  @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?

                                  Link Preview Image
                                  Error 404 - kbin.social

                                  Explore Fediverse

                                  favicon

                                  (kbin.social)

                                  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.orgJ 1 Reply Last reply
                                  0
                                  • julian@community.nodebb.orgJ julian@community.nodebb.org

                                    @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?

                                    Link Preview Image
                                    Error 404 - kbin.social

                                    Explore Fediverse

                                    favicon

                                    (kbin.social)

                                    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.orgJ This user is from outside of this forum
                                    julian@community.nodebb.orgJ This user is from outside of this forum
                                    julian@community.nodebb.org
                                    wrote on last edited by
                                    #43

                                    @skyfoxx @AltCode@social.vivaldi.net I... don't know what I did, but kbin.social is down now! Oh boy.

                                    the-skyfoxx@community.nodebb.orgT 1 Reply Last reply
                                    0
                                    • julian@community.nodebb.orgJ julian@community.nodebb.org

                                      I may regret creating this topic but here goes.

                                      If you experience a bug or other unexpected behavior while using NodeBB and its related ActivityPub integration, please post it here so it can be tracked and resolved.

                                      No formal process as of yet, and we're still at pre-alpha so expect many things to be broken or unavailable 😅

                                      angus-mcleod@community.nodebb.orgA This user is from outside of this forum
                                      angus-mcleod@community.nodebb.orgA This user is from outside of this forum
                                      angus-mcleod@community.nodebb.org
                                      wrote on last edited by
                                      #44

                                      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.orgJ 1 Reply Last reply
                                      0
                                      • angus-mcleod@community.nodebb.orgA angus-mcleod@community.nodebb.org

                                        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.orgJ This user is from outside of this forum
                                        julian@community.nodebb.orgJ This user is from outside of this forum
                                        julian@community.nodebb.org
                                        wrote on last edited by
                                        #45

                                        @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.orgA 1 Reply Last reply
                                        0
                                        • julian@community.nodebb.orgJ julian@community.nodebb.org

                                          @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.orgA This user is from outside of this forum
                                          angus-mcleod@community.nodebb.orgA This user is from outside of this forum
                                          angus-mcleod@community.nodebb.org
                                          wrote on last edited by
                                          #46

                                          @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.

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Login or register to search.
                                          Powered by NodeBB Contributors
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Popular