Skip to content
0
  • Home
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
  • Home
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
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

Wandering Adventure Party

  1. Home
  2. ActivityPub
  3. Sending a private message without cc causes a 500 error

Sending a private message without cc causes a 500 error

Scheduled Pinned Locked Moved ActivityPub
8 Posts 5 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.
  • R This user is from outside of this forum
    R This user is from outside of this forum
    rikudou
    wrote on last edited by
    #1

    The logs from this are already cleared on my server, but when I sent a private message (standard Create/Note with a single recipient who also has a Mention in the tag property) from my custom software to my account here, I received a 500 error saying something like “cc is not iterable” (though I don’t know the exact phrasing). When I included cc as an empty array, it started working. Not sure whether it was missing on Create or Note, maybe it was both.

    freamonF 1 Reply Last reply
    0
    • R rikudou

      The logs from this are already cleared on my server, but when I sent a private message (standard Create/Note with a single recipient who also has a Mention in the tag property) from my custom software to my account here, I received a 500 error saying something like “cc is not iterable” (though I don’t know the exact phrasing). When I included cc as an empty array, it started working. Not sure whether it was missing on Create or Note, maybe it was both.

      freamonF This user is from outside of this forum
      freamonF This user is from outside of this forum
      freamon
      wrote on last edited by
      #2

      rikudou As far as I understand things, a ‘private message’ in ActivityPub is Create / ChatMessage, not Create / Note. I think NodeBB wouldn’t be the only software to complain if ‘cc’ is missing from either part of Create / Note (although it’s not expected in either part of Create / ChatMessage).

      julianJ 1 Reply Last reply
      0
      • freamonF freamon

        rikudou As far as I understand things, a ‘private message’ in ActivityPub is Create / ChatMessage, not Create / Note. I think NodeBB wouldn’t be the only software to complain if ‘cc’ is missing from either part of Create / Note (although it’s not expected in either part of Create / ChatMessage).

        julianJ This user is from outside of this forum
        julianJ This user is from outside of this forum
        julian
        wrote on last edited by
        #3

        freamon Create(ChatMessage) is not part of ActivityPub. From my light research online it is something added by a Pleroma extension and possibly supported by Lemmy.

        NodeBB will automatically slot received non-public notes as chat messages.

        NutomicN 1 Reply Last reply
        0
        • julianJ julian

          freamon Create(ChatMessage) is not part of ActivityPub. From my light research online it is something added by a Pleroma extension and possibly supported by Lemmy.

          NodeBB will automatically slot received non-public notes as chat messages.

          NutomicN This user is from outside of this forum
          NutomicN This user is from outside of this forum
          Nutomic
          wrote on last edited by
          #4

          FYI the next Lemmy version will use Create/Note for private messages. You can test it on voyager.lemmy.ml

          Link Preview Image
          Add note wrapper (fixes #2657) by Nutomic · Pull Request #5221 · LemmyNet/lemmy

          Private messages and public comments are quite awkward in Activitypub, because the json format looks identical. They only way to differentiate them is to check for the presence or absence of https:...

          favicon

          GitHub (github.com)

          ∞🏳️‍⚧️Edie [it/its, she/her, fae/faer, love/loves, null/void, des/pair, none/use name]E 1 Reply Last reply
          0
          • NutomicN Nutomic

            FYI the next Lemmy version will use Create/Note for private messages. You can test it on voyager.lemmy.ml

            Link Preview Image
            Add note wrapper (fixes #2657) by Nutomic · Pull Request #5221 · LemmyNet/lemmy

            Private messages and public comments are quite awkward in Activitypub, because the json format looks identical. They only way to differentiate them is to check for the presence or absence of https:...

            favicon

            GitHub (github.com)

            ∞🏳️‍⚧️Edie [it/its, she/her, fae/faer, love/loves, null/void, des/pair, none/use name]E This user is from outside of this forum
            ∞🏳️‍⚧️Edie [it/its, she/her, fae/faer, love/loves, null/void, des/pair, none/use name]E This user is from outside of this forum
            ∞🏳️‍⚧️Edie [it/its, she/her, fae/faer, love/loves, null/void, des/pair, none/use name]
            wrote on last edited by
            #5

            It seems all of the test instances are down? I get a 502 no matter which of voyager.lemmy.ml, enterprise.lemmy.ml, and ds9.lemmy.ml I try to open

            NutomicN 1 Reply Last reply
            1
            0
            • System shared this topic on
            • ∞🏳️‍⚧️Edie [it/its, she/her, fae/faer, love/loves, null/void, des/pair, none/use name]E ∞🏳️‍⚧️Edie [it/its, she/her, fae/faer, love/loves, null/void, des/pair, none/use name]

              It seems all of the test instances are down? I get a 502 no matter which of voyager.lemmy.ml, enterprise.lemmy.ml, and ds9.lemmy.ml I try to open

              NutomicN This user is from outside of this forum
              NutomicN This user is from outside of this forum
              Nutomic
              wrote on last edited by
              #6

              Yes not sure whats wrong there, the server was using a lot of cpu for no reason. Restart fixed it for now, let me know if it happens again.

              ∞🏳️‍⚧️Edie [it/its, she/her, fae/faer, love/loves, null/void, des/pair, none/use name]E 1 Reply Last reply
              1
              0
              • NutomicN Nutomic

                Yes not sure whats wrong there, the server was using a lot of cpu for no reason. Restart fixed it for now, let me know if it happens again.

                ∞🏳️‍⚧️Edie [it/its, she/her, fae/faer, love/loves, null/void, des/pair, none/use name]E This user is from outside of this forum
                ∞🏳️‍⚧️Edie [it/its, she/her, fae/faer, love/loves, null/void, des/pair, none/use name]E This user is from outside of this forum
                ∞🏳️‍⚧️Edie [it/its, she/her, fae/faer, love/loves, null/void, des/pair, none/use name]
                wrote on last edited by
                #7

                Voyager still has an issue, but the others seem to work now

                NutomicN 1 Reply Last reply
                1
                0
                • ∞🏳️‍⚧️Edie [it/its, she/her, fae/faer, love/loves, null/void, des/pair, none/use name]E ∞🏳️‍⚧️Edie [it/its, she/her, fae/faer, love/loves, null/void, des/pair, none/use name]

                  Voyager still has an issue, but the others seem to work now

                  NutomicN This user is from outside of this forum
                  NutomicN This user is from outside of this forum
                  Nutomic
                  wrote on last edited by
                  #8

                  That instance runs Lemmy 1.0 which is still in alpha state, and the frontend is not compatible yet. So only the api works there.

                  1 Reply Last reply
                  1
                  0
                  • System shared this topic

                  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