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

"address.getHostName()" blocking 10+ seconds #431

Open
gmxyb opened this issue Nov 25, 2022 · 1 comment
Open

"address.getHostName()" blocking 10+ seconds #431

gmxyb opened this issue Nov 25, 2022 · 1 comment

Comments

@gmxyb
Copy link

gmxyb commented Nov 25, 2022

Environment

  • OS version: WIndows 2016 Server (LAN)
  • JDK version: 8 / 15
  • ClickHouse Server version: 22.x
  • ClickHouse Native JDBC version: 2.6.4

File : com/github/housepower/jdbc/ClickHouseConnection.java
Line 365 : return new NativeContext.ClientContext(initialAddress, address.getHostName(), clientName);

getHostName() blocking 10~15 seconds. (LAN environment)

@pan3793
Copy link
Member

pan3793 commented Jan 9, 2023

Maybe related https://bugs.openjdk.org/browse/JDK-8136913

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

No branches or pull requests

2 participants