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

Management HTTP and "main" HTTP servers can reuse the same server/port #39555

Closed
snazy opened this issue Mar 19, 2024 · 1 comment · Fixed by #39588
Closed

Management HTTP and "main" HTTP servers can reuse the same server/port #39555

snazy opened this issue Mar 19, 2024 · 1 comment · Fixed by #39588
Labels
area/vertx kind/bug Something isn't working
Milestone

Comments

@snazy
Copy link
Contributor

snazy commented Mar 19, 2024

Describe the bug

When quarkus.http.port=0 AND quarkus.management.port=0 are set to let both HTTP servers use dynamic ports for testing purposes, it can happen that application requests are handled by the management server and vice versa.

IIUC both HTTP servers share the same port and Vert.x will dispatch requests "round robin", which is not so good.

Related Zulip Discussion

Related issue to expose the real management HTTP endpoint: #35952
Commit with some changes to expose the real HTTP endpoint

/cc @cescoffier

Expected behavior

No response

Actual behavior

No response

How to Reproduce?

No response

Output of uname -a or ver

No response

Output of java -version

No response

Quarkus version or git rev

No response

Build tool (ie. output of mvnw --version or gradlew --version)

No response

Additional information

No response

@snazy snazy added the kind/bug Something isn't working label Mar 19, 2024
Copy link

quarkus-bot bot commented Mar 19, 2024

You added a link to a Zulip discussion, please make sure the description of the issue is comprehensive and doesn't require accessing Zulip

This message is automatically generated by a bot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/vertx kind/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants