Skip to content
This repository was archived by the owner on Feb 12, 2025. It is now read-only.

"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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants