Open maxsumrall opened 3 days ago
Good day, @maxsumrall ! Thank you for reporting the issue!
Do you close client at any case? The error indicates that underlying client was closed.
Would you please try configuring client with
.useNewImplementation(true)
- it will switch client to use new HTTP transport layer that we recently tested and it should not have such issue.
Is the remote server Cloud instance? Is there a proxy between client and the server?
Thanks!
Describe the bug
It appears that the first queries (SELECTs) to the ClickHouse server fail on the V2 client with an error:
com.clickhouse.client.api.ClientException: Failed to get query response
. Wrapping the request in a retry loop seems to resolve after the first failed attempt.Steps to reproduce
3.
Expected behaviour
Query succeeds.
Code example
See above.
Error log
Configuration
Environment
ClickHouse server