-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Health UI access wrong health endpoint with management interface #35980
Comments
sure, I'll take a look |
I think it's because the script is using the management interface host, by default |
The Health UI will be served from the exact same interface so we don't need to include the host:port. It actually causes issues when you access the Health UI through a proxy as it might point to 0.0.0.0:9000 which will resolve to localhost. Fixes quarkusio#35980
It took me a loooooong time to get there but I wanted to thank you for this bug report as it unveiled several issues that need fixing. This first PR should fix the immediate problem: #44647 . But others are coming. |
The Health UI will be served from the exact same interface so we don't need to include the host:port. It actually causes issues when you access the Health UI through a proxy as it might point to 0.0.0.0:9000 which will resolve to localhost. Fixes quarkusio#35980 (cherry picked from commit 4dbf1a8)
Describe the bug
Hello,
I was trying to use the health-ui with management interface.
When opening the page, a request to the health endpoint is made but with the wrong host "0.0.0.0:9000".
Expected behavior
Health UI request to
localhost:9000
Actual behavior
Health UI request to
0.0.0.0:9000
How to Reproduce?
quarkus.management.enabled=true
to application.propertiesOutput of
uname -a
orver
MINGW64_NT-10.0-19045 PC3747 3.4.7-ea781829.x86_64 2023-07-05 12:05 UTC x86_64 Msys
Output of
java -version
openjdk version "17.0.1" 2021-10-19
OpenJDK Runtime Environment Temurin-17.0.1+12 (build 17.0.1+12)
OpenJDK 64-Bit Server VM Temurin-17.0.1+12 (build 17.0.1+12, mixed mode, sharing)
Quarkus version or git rev
3.3.3
Build tool (ie. output of
mvnw --version
orgradlew --version
)Apache Maven 3.8.3 (ff8e977a158738155dc465c6a97ffaf31982d739)
Maven home: D:\Programs\maven
Java version: 17.0.1, vendor: Eclipse Adoptium, runtime: D:\Programs\jdk\jdk-17.0.1+12
Default locale: fr_FR, platform encoding: UTF-8
OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"
The text was updated successfully, but these errors were encountered: