A forum for discussing and organizing recreational softball and baseball games and leagues in the greater Halifax area.
Sending a private message without cc causes a 500 error
-
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.
-
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.[rikudou](https://community.nodebb.org/user/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).
-
[rikudou](https://community.nodebb.org/user/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).[freamon](/user/freamon%40community.nodebb.org) `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.
-
[freamon](/user/freamon%40community.nodebb.org) `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.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
-
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
-
A ActivityPub shared this topic
-
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 openYes 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.
-
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.
-
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.