Closed rsalmei closed 3 years ago
OK, I got it to work. You should make it clearer in the readme that we should use another port, it's not the same as the curl one... For anyone finding this in the future, It had to be the "native TCP/IP protocol endpoint" 9000, not the "HTTP interface" one.
Hello,
I can connect to a clickhouse instance via
curl
, but cannot seem to using this lib. Would you have some hunch of what could be wrong? I'm using the latestclickhouse-rs = "1.0.0-alpha.1"
in my Cargo.toml.In curl:
and it returns instantaneously.
In Rust, I generate this similar URL
"tcp://default:<passwd>@<IP>:8123/default?pool_min=1&connection_timeout=2000ms&"
and call this:But all I get is a timeout, it never gets to the last println:
Thanks.