https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34070

--- Comment #9 from David Cook <[email protected]> ---
I've got a different scenario which got me thinking about this. 

[2025/02/13 23:01:38] [WARN] Frame not processed - garbage after JSON object,
at character offset 7 (before "must include a valid...") at
/usr/share/koha/bin/workers/es_indexer_daemon.pl line 122.
 main::catch {...}  /usr/share/koha/bin/workers/es_indexer_daemon.pl (124)
[2025/02/13 23:01:38] [WARN] Frame does not have correct args, ignoring it
main:: /usr/share/koha/bin/workers/es_indexer_daemon.pl (129)

Looking at the RabbitMQ logs, ,I can see this:

2025-02-13 23:01:38.946579+11:00 [erro] <0.5016.0> STOMP error frame sent:
2025-02-13 23:01:38.946579+11:00 [erro] <0.5016.0> Message: "Invalid header"
2025-02-13 23:01:38.946579+11:00 [erro] <0.5016.0> Detail: "\"NACK\" must
include a valid \"message-id\" header\n"
2025-02-13 23:01:38.946579+11:00 [erro] <0.5016.0> Server private detail: none
2025-02-13 23:01:38.947706+11:00 [erro] <0.5016.0> STOMP error frame sent:
2025-02-13 23:01:38.947706+11:00 [erro] <0.5016.0> Message: "Invalid header"
2025-02-13 23:01:38.947706+11:00 [erro] <0.5016.0> Detail: "\"NACK\" must
include a valid \"message-id\" header\n"
2025-02-13 23:01:38.947706+11:00 [erro] <0.5016.0> Server private detail: none
2025-02-13 23:01:38.948783+11:00 [erro] <0.5016.0> STOMP error frame sent:
2025-02-13 23:01:38.948783+11:00 [erro] <0.5016.0> Message: "Invalid header"


--

It's not clear what created the first STOMP error frame coming from RabbitMQ,
but the loop happens because RabbitMQ sends an error frame with a plain text
message, Koha fails to read it as JSON, tries to NACK it, but you can't NACK a
STOMP error frame, so RabbitMQ creates another error frame, and it creates an
infinite loop.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to