-
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
5005 port is not freed in devmode during the restart #28187
Comments
CC @stuartwdouglas, Let me know please where it can be fixed, I can try to handle it or open a PR if you can find a few mins |
It probably just needs a sleep + busy wait loop for a second or two to wait for the socket to be released in QuarkusDevModeLauncher. Basically if the socket was ok on the first launch, it should be ok on the second so re-run the checking code in a loop with a small sleep util it either works or some other timeout. |
fixes quarkusio#28187 (cherry picked from commit fbd35b3)
Describe the bug
Sometimes, in devmode, after modifying
pom.xml
by adding a new dependency, an error message is displayed during the restart that 5005 is busy and no debug mode will be activatedExpected behavior
No response
Actual behavior
No response
How to Reproduce?
Start
quarkus-quickstarts/hibernate-orm-panache-quickstart
in devmode, then addquarkus-oidc
to pom.xml and the error will be displayed in the console that 5005 is busyOutput of
uname -a
orver
No response
Output of
java -version
No response
GraalVM version (if different from Java)
No response
Quarkus version or git rev
No response
Build tool (ie. output of
mvnw --version
orgradlew --version
)No response
Additional information
No response
The text was updated successfully, but these errors were encountered: