Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • 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

  1. Home
  2. Technical Discussion
  3. Late night #activitypub interop hacking.

Late night #activitypub interop hacking.

Scheduled Pinned Locked Moved Technical Discussion
activitypubpixelfedmastodon
8 Posts 3 Posters 0 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.
  • heathenstorm@mastodon.socialH This user is from outside of this forum
    heathenstorm@mastodon.socialH This user is from outside of this forum
    heathenstorm@mastodon.social
    wrote on last edited by
    #1

    Late night #activitypub interop hacking. Again.

    Has anyone else had trouble with the #pixelfed shared inbox?

    Seems hits to /f/inbox don't send a username. Worker gives the error: "ActivityHandler: No username provided, skipping job"

    Likes from self-hosted #mastodon go to the user inbox, Boosts and Comments go to the shared one.

    I disable shared inbox in settings and Mastodon still sends to /f/inbox even though I've refreshed the pixelfed profile.

    At least I know why it's happening now!

    julian@activitypub.spaceJ thisismissem@hachyderm.ioT 2 Replies Last reply
    0
    • System moved this topic from General Discussion on
    • heathenstorm@mastodon.socialH heathenstorm@mastodon.social

      Late night #activitypub interop hacking. Again.

      Has anyone else had trouble with the #pixelfed shared inbox?

      Seems hits to /f/inbox don't send a username. Worker gives the error: "ActivityHandler: No username provided, skipping job"

      Likes from self-hosted #mastodon go to the user inbox, Boosts and Comments go to the shared one.

      I disable shared inbox in settings and Mastodon still sends to /f/inbox even though I've refreshed the pixelfed profile.

      At least I know why it's happening now!

      julian@activitypub.spaceJ This user is from outside of this forum
      julian@activitypub.spaceJ This user is from outside of this forum
      julian@activitypub.space
      wrote on last edited by
      #2

      heathenstorm@mastodon.social I don't think it's wise to disable the shared inbox... I imagine it's just cached at the domain level once it is discovered (though that can differ between implementations of course.)

      You mean that when you receive activities from Mastodon to Pixelfed's shared inbox, there is no username?

      1 Reply Last reply
      0
      • heathenstorm@mastodon.socialH heathenstorm@mastodon.social

        Late night #activitypub interop hacking. Again.

        Has anyone else had trouble with the #pixelfed shared inbox?

        Seems hits to /f/inbox don't send a username. Worker gives the error: "ActivityHandler: No username provided, skipping job"

        Likes from self-hosted #mastodon go to the user inbox, Boosts and Comments go to the shared one.

        I disable shared inbox in settings and Mastodon still sends to /f/inbox even though I've refreshed the pixelfed profile.

        At least I know why it's happening now!

        thisismissem@hachyderm.ioT This user is from outside of this forum
        thisismissem@hachyderm.ioT This user is from outside of this forum
        thisismissem@hachyderm.io
        wrote on last edited by
        #3

        @heathenstorm mastodon is probably caching the actor and doesn't realise that it's changed on the pixelfed side.

        So you likely need to dispatch for each actor on the pixelfed server an update to the actor to all servers.

        thisismissem@hachyderm.ioT heathenstorm@mastodon.socialH 2 Replies Last reply
        1
        • thisismissem@hachyderm.ioT thisismissem@hachyderm.io

          @heathenstorm mastodon is probably caching the actor and doesn't realise that it's changed on the pixelfed side.

          So you likely need to dispatch for each actor on the pixelfed server an update to the actor to all servers.

          thisismissem@hachyderm.ioT This user is from outside of this forum
          thisismissem@hachyderm.ioT This user is from outside of this forum
          thisismissem@hachyderm.io
          wrote on last edited by
          #4

          @heathenstorm that is, configuration changes like that only change what pixelfed serves / pushes from that point in time onwards, but other software may be caching actors, in order to let them know the actor has changed, you need to publish an Update activity on the Actor.

          So just setting that configuration value to false does nothing as far as anyone else is concerned, because they've already a copy of your actor document, and they haven't been told it's been changed.

          thisismissem@hachyderm.ioT 1 Reply Last reply
          1
          • thisismissem@hachyderm.ioT thisismissem@hachyderm.io

            @heathenstorm that is, configuration changes like that only change what pixelfed serves / pushes from that point in time onwards, but other software may be caching actors, in order to let them know the actor has changed, you need to publish an Update activity on the Actor.

            So just setting that configuration value to false does nothing as far as anyone else is concerned, because they've already a copy of your actor document, and they haven't been told it's been changed.

            thisismissem@hachyderm.ioT This user is from outside of this forum
            thisismissem@hachyderm.ioT This user is from outside of this forum
            thisismissem@hachyderm.io
            wrote on last edited by
            #5

            @heathenstorm why you're getting "No username provided" on the shared inbox though, I've no idea.

            1 Reply Last reply
            1
            • heathenstorm@mastodon.socialH This user is from outside of this forum
              heathenstorm@mastodon.socialH This user is from outside of this forum
              heathenstorm@mastodon.social
              wrote on last edited by
              #6

              @julian That seems to be the case.

              It could very well be the docker stack I'm using (elestio/pixelfed behind traefik) where something important gets stripped, but that's guesswork for now until I can effectively log what's being POSTed to the inbox.

              Just weird that Likes go to the user inbox and boosts / comments don't.

              1 Reply Last reply
              0
              • thisismissem@hachyderm.ioT thisismissem@hachyderm.io

                @heathenstorm mastodon is probably caching the actor and doesn't realise that it's changed on the pixelfed side.

                So you likely need to dispatch for each actor on the pixelfed server an update to the actor to all servers.

                heathenstorm@mastodon.socialH This user is from outside of this forum
                heathenstorm@mastodon.socialH This user is from outside of this forum
                heathenstorm@mastodon.social
                wrote on last edited by
                #7

                @thisismissem I believe I refreshed the profile on Mastodon. (From admin, got the 'successfully refreshed' notice and the relevant URLs were hit on Pixelfed)

                However, the profile on Mastodon still lists the shared inbox after disabling AP_SHAREDINBOX in Pixelfed config and refreshing.

                The only difference being POSTs to /f/inbox are no longer processed by the worker.

                Checking my pixelfed install via browser.pub shows the shared inbox still listed.

                Running Mastodon 4.5.2 still, if that helps.

                thisismissem@hachyderm.ioT 1 Reply Last reply
                0
                • heathenstorm@mastodon.socialH heathenstorm@mastodon.social

                  @thisismissem I believe I refreshed the profile on Mastodon. (From admin, got the 'successfully refreshed' notice and the relevant URLs were hit on Pixelfed)

                  However, the profile on Mastodon still lists the shared inbox after disabling AP_SHAREDINBOX in Pixelfed config and refreshing.

                  The only difference being POSTs to /f/inbox are no longer processed by the worker.

                  Checking my pixelfed install via browser.pub shows the shared inbox still listed.

                  Running Mastodon 4.5.2 still, if that helps.

                  thisismissem@hachyderm.ioT This user is from outside of this forum
                  thisismissem@hachyderm.ioT This user is from outside of this forum
                  thisismissem@hachyderm.io
                  wrote on last edited by
                  #8

                  @heathenstorm right, so Pixelfed isn't responding to your configuration change (which no one else will know about unless you explicitly tell them)

                  I recall Pixelfed had some command to clear its cache of config, it's in like the CLI commands section of the docs.

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


                  • Login

                  • Don't have an account? Register

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