Skip to content
  • Categories
  • 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

NodeBB

  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@community.nodebb.org
    wrote on 19 Feb 2025, 21:57 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.

    F 1 Reply Last reply 21 Feb 2025, 02:50
    0
    • R rikudou@community.nodebb.org
      19 Feb 2025, 21:57

      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.

      F This user is from outside of this forum
      F This user is from outside of this forum
      freamon@community.nodebb.org
      wrote on 21 Feb 2025, 02:50 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).

      J 1 Reply Last reply 21 Feb 2025, 03:07
      0
      • F freamon@community.nodebb.org
        21 Feb 2025, 02:50

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

        J This user is from outside of this forum
        J This user is from outside of this forum
        julian@community.nodebb.org
        wrote on 21 Feb 2025, 03:07 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.

        N 1 Reply Last reply 21 Feb 2025, 11:47
        0
        • J julian@community.nodebb.org
          21 Feb 2025, 03:07

          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.

          N This user is from outside of this forum
          N This user is from outside of this forum
          nutomic@lemmy.ml
          wrote on 21 Feb 2025, 11:47 last edited by
          #4

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

          https://github.com/LemmyNet/lemmy/pull/5221

          E 1 Reply Last reply 29 May 2025, 19:45
          0
          • N nutomic@lemmy.ml
            21 Feb 2025, 11:47

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

            https://github.com/LemmyNet/lemmy/pull/5221

            E This user is from outside of this forum
            E This user is from outside of this forum
            edie@lemmy.ml
            wrote on 29 May 2025, 19:45 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

            N 1 Reply Last reply 30 May 2025, 11:20
            0
            • E edie@lemmy.ml
              29 May 2025, 19:45

              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

              N This user is from outside of this forum
              N This user is from outside of this forum
              nutomic@lemmy.ml
              wrote on 30 May 2025, 11:20 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.

              E 1 Reply Last reply 30 May 2025, 11:38
              0
              • N nutomic@lemmy.ml
                30 May 2025, 11:20

                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.

                E This user is from outside of this forum
                E This user is from outside of this forum
                edie@lemmy.ml
                wrote on 30 May 2025, 11:38 last edited by
                #7

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

                N 1 Reply Last reply 30 May 2025, 12:35
                0
                • E edie@lemmy.ml
                  30 May 2025, 11:38

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

                  N This user is from outside of this forum
                  N This user is from outside of this forum
                  nutomic@lemmy.ml
                  wrote on 30 May 2025, 12:35 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
                  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
                  • Tags
                  • Popular
                  • World
                  • Users
                  • Groups