nl-kat-coordination icon indicating copy to clipboard operation
nl-kat-coordination copied to clipboard

Katalogus being too slow is not caught in Rocky. resluting in 500 error

Open underdarknl opened this issue 9 months ago • 0 comments

Describe the bug If the katalogus is too slow, a timeout occurs that is unhandled in Rocky.

image

To Reproduce Steps to reproduce the behavior:

  1. Go to Katalogus page in Rocky
  2. Make sure the katalogus server is slow.
  3. See error

Expected behavior A handled error in Rocky stating the Katalogus is unreachable. Possibly by wrapping all katalogus calls in a wrapper that catches any error from the ttp client calls (eg, request, timeouts, parsing), and presents a single KatalogusError to the rocky views.

OpenKAT version Main

underdarknl avatar May 02 '24 13:05 underdarknl