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

UnknownHostException causes loop in RESTMBeanServerConnection.java #30711

Open
idlewis opened this issue Feb 4, 2025 · 0 comments · May be fixed by #30712
Open

UnknownHostException causes loop in RESTMBeanServerConnection.java #30711

idlewis opened this issue Feb 4, 2025 · 0 comments · May be fixed by #30712
Assignees
Labels
release bug This bug is present in a released version of Open Liberty

Comments

@idlewis
Copy link
Member

idlewis commented Feb 4, 2025

The server polling loop in RESTMBeanServerConnection.java catches IOExceptions and immediately retries the server poll. This makes sense for transient network issues. However, for an UknownHostException, the issue is unlikely to resolve quickly, and an immediate retry will likely cause an infinite loop, which will probably cause a leak of sockets

This affects all versions of Liberty prior to 25.0.0.1

@idlewis idlewis added the release bug This bug is present in a released version of Open Liberty label Feb 4, 2025
@idlewis idlewis self-assigned this Feb 4, 2025
@idlewis idlewis linked a pull request Feb 4, 2025 that will close this issue
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release bug This bug is present in a released version of Open Liberty
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant