When I use spring boot actuator and customise the management server address Access to /actuator/health is normal, but /actuator/health/liveness returns 500 and the programme reports an error.

[2024-07-05 13:26:00,062][http-nio-9091-exec-5][ERROR][org.apache.juli.logging.DirectJDKLog.log(DirectJDKLog.java:175)] Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is java.lang.IllegalStateException: Unable to extract remaining path segments] with root cause

Comment From: wilkinsona

Thanks for the report but it does not include enough information for us to diagnose the problem. If you would like us to spend some more time investigating, please spend some time providing a complete yet minimal sample that reproduces the problem. You can share it with us by pushing it to a separate repository on GitHub or by zipping it up and attaching it to this issue.

Comment From: bwcxyk

Maybe it's the project, only a few projects have such problems.