Hi Gabrielle,
On Sun, 19 Feb 2023, at 12:29 AM, Gabriele Bulfon wrote:
Hi, I'm testing Cyrus 3.8.0 and I'm facing a problem with event notifier scripts.
I guess you're building this from git, since we haven't made even a beta release yet. Thanks! :)
Is there any known bug in this release releated with notifers?
Not that we know about, but that doesn't mean there isn't. Can you reproduce the same behaviour with 3.6.1, or is it new on the 3.8 branch?
I've had a quick look at the notifyd source (since I'm not familiar with it). Looks like "log" is handled by notifyd/notify_log.c, and "external" by notifyd/notify_external.c. They're both simple pass-throughs, it doesn't look like "external" could be dropping messages.
So now I'm looking closely at the syslogged lines from your "log" output. I notice that the messages each have a payload like "{...}", except for the MessageMove event, which has a payload like "{..." -- that is, no closing "}" at the end. It might just be that the log line has been truncated for some reason.
But if it's not just a truncated log line, that suggests we're producing bad payloads for MessageMove events. Maybe your external_event.pl script fails to parse them, and so discards them? Would it log anything in this case, and can you see whether it has done so?
Cheers,
ellie