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
    [email protected]
    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.

    freamon@community.nodebb.orgF 1 Reply Last reply
    0
    • R [email protected]

      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.

      freamon@community.nodebb.orgF This user is from outside of this forum
      freamon@community.nodebb.orgF This user is from outside of this forum
      [email protected]
      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).

      julian@community.nodebb.orgJ 1 Reply Last reply
      0
      • freamon@community.nodebb.orgF [email protected]

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

        julian@community.nodebb.orgJ This user is from outside of this forum
        julian@community.nodebb.orgJ This user is from outside of this forum
        [email protected]
        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.

        nutomic@lemmy.mlN 1 Reply Last reply
        0
        • julian@community.nodebb.orgJ [email protected]

          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.

          nutomic@lemmy.mlN This user is from outside of this forum
          nutomic@lemmy.mlN This user is from outside of this forum
          [email protected]
          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

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

          edie@lemmy.mlE 1 Reply Last reply
          0
          • nutomic@lemmy.mlN [email protected]

            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

            edie@lemmy.mlE This user is from outside of this forum
            edie@lemmy.mlE This user is from outside of this forum
            [email protected]
            wrote 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

            nutomic@lemmy.mlN 1 Reply Last reply
            0
            • edie@lemmy.mlE [email protected]

              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

              nutomic@lemmy.mlN This user is from outside of this forum
              nutomic@lemmy.mlN This user is from outside of this forum
              [email protected]
              wrote 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@lemmy.mlE 1 Reply Last reply
              0
              • nutomic@lemmy.mlN [email protected]

                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@lemmy.mlE This user is from outside of this forum
                edie@lemmy.mlE This user is from outside of this forum
                [email protected]
                wrote last edited by
                #7

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

                nutomic@lemmy.mlN 1 Reply Last reply
                0
                • edie@lemmy.mlE [email protected]

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

                  nutomic@lemmy.mlN This user is from outside of this forum
                  nutomic@lemmy.mlN This user is from outside of this forum
                  [email protected]
                  wrote 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