clickhouse-rs
clickhouse-rs copied to clipboard
Panic in ClientHandle.hello : called `Option::unwrap()` on a `None` value
Hi, We have a test case spawning a clickhouse container (23.12.1-alpine) via testcontainer and trying to connect shortly after via Pool::get_handle
It sometimes panic at this line : https://github.com/suharev7/clickhouse-rs/blob/async-await/src/lib.rs#L327
Should it return an error instead of unwrapping ?
You might be using this library and attempting to connect to the server via the HTTP protocol (Port 8123), but you should use the clickhouse-client protocol (Port 9000) to connect.