-
Notifications
You must be signed in to change notification settings - Fork 578
host failed to respond #452
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
Comments
I have the same problem as you. At present, this error is reported by httpclient used by jdbc itself;
Whether this problem is the problem of httpclient, hope to analyze it concretely |
It does not work when i modiy the code like your recommand. The same problem still appear when i batch insert Bulk data in clickhouse using jdbc. |
We got this error when selecting. I don’t know much about the scenario you are using, maybe you use the packet capture tool(eg:wireshark) to see the connection status. |
ClickHouseStatementImpl-> sendStream :
|
We have similar cases. Sometimes we get error "ru.yandex.clickhouse.except.ClickHouseUnknownException: ClickHouse exception, code: 1002, host: ..., port: ..; host:port failed to respond". It is raised in 1-4 milliseconds after request (in our case it is batch insert into TinyLog table, see call stack below). Our cnn string has the following query param: ?socket_timeout=90000, we use connection pooling. A retry in 3-5 seconds of the same action always succeeds.
|
ru.yandex.clickhouse.except.ClickHouseUnknownException: ClickHouse exception, code: 1002, host: cdh06, port: 8123; cdh06:8123 failed to respond
The text was updated successfully, but these errors were encountered: