Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

404 Error on Accessing /management/health/discoveryComposite Endpoint fro using swagger-ui #28391

Open
mrahbari opened this issue Jan 6, 2025 · 1 comment

Comments

@mrahbari
Copy link

mrahbari commented Jan 6, 2025

Overview of the issue

Accessing the /management/health/discoveryComposite endpoint returns a 404 Not Found error.

Motivation for or Use Case

The endpoint is essential for monitoring the health of microservices and gathering information about service discovery.

Reproduce the error
  1. Examine to see the swagger APIs via http://localhost:8080/admin/docs
  2. Access to browser console and check the network. http://localhost:8080/management/health/discoveryComposite
  3. Error: 404 Not Found
Suggest a Fix [NOT SURE!]
  • Ensure that the health discovery composite endpoint is correctly exposed in the application.yml.
  • Check if management.endpoints.web.exposure.include is properly configured.
JHipster Version(s)

8.8.0

Browsers and Operating System
  • OS: macOS
  • Browser: Chrome
@mshima
Copy link
Member

mshima commented Jan 10, 2025

JHipster doesn’t provides service discovery in default configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants