Closed Cronnay closed 4 years ago
Hi @Cronnay, You are correct host resolving functionality is missed, unfortunatelly.
I'm going to check if simple SocketAddr::from
before creating a TcpStream
would help
Hi @Cronnay Could you please check if https://github.com/AlexPikalov/cdrs/pull/324? It must fix the problem you're facing. If it works I'll be happy to publish the fix asap
Hi there!
Maybe I have been reading the documentation poorly, in that case I apologize. Found similar issues, but they seem to be resolved.
If I run
let node = NodeTcpConfigBuilder::new("192.168.145.139:9042", NoneAuthenticator {}).build();
this will build and work fine. However, if I run:let node = NodeTcpConfigBuilder::new("database:9042", NoneAuthenticator {}).build();
I get this message from the compiler:General("invalid IP address syntax")'
.Why can't I use hostname?
My toml
Cargo --version
cargo 1.42.0 (86334295e 2020-01-31)