REST API exception in crash.info

CMK version:2.2.0p12
OS version: Rocky 8

Error message:

"details": {"rest_api_exception": {"description": "Mismatch between endpoint and internal data format. ", "detail": "This could be due to invalid or outdated configuration, or be an error of the implementation. Please check your *.mk files in case
you have modified them by hand and run cmk-update-config. If the problem persists afterwards, please report a bug.", "ext": {"errors": {"
ipaddress": ["Any of this needs to be true:", "Address cannot be empty", "Hostname '' doesn't match pattern '^^[-0-9a-zA-Z_.]+$$'"]},

I have a large amount of crash.info files on my main site and am trying to work through the cause of that. I was able to resolve several of these arising from configuration errors with a field I could track down, but I have hit a wall with this error showing that the Hostname is blank. Has anyone else experienced this? I did not paste the full output because it is a bunch of garbled output up to this point where the the description is.

You can try what is written there inside the message.

cmk-update-config --debug -vvv

If there is a real configuration problem you should get some output.

Beside this i would recommend to update minimum to the latest 2.2 release on this system before i hunt any other bugs.

1 Like

I finished the update to 2.2.0p47 and can confirm that this crash has stopped occurring. Thank you for your help. I am still working through some werk updates.

Hello!

If one of the answers helped you solve your question, please mark it as the solution. This way, you thank the person who helped you and also indicate that the question has been resolved. This, in turn, helps others who come across the same question.

Thank you!