bioyino
bioyino copied to clipboard
Cluster settings when instance in docker
Hello. I receive error:
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread 'bioyino_raft' panicked at 'no entry found for key', /usr/local/cargo/git/checkouts/raft-tokio-77bb75eade836e87/212ec9b/src/tcp.rs:177:37
When I have the following settings:
[raft]
this-node="%real_server_ip%:8138"
nodes = {"%node_ip1%:8138" = 1,"%node_ip2%:8138" = 2,"%node_ip3%:8138" = 3}
# client-bind = "127.0.0.0:8138"
or
[raft]
this-node="%real_server_ip%:8138"
nodes = {"%node_ip1%:8138" = 1,"%node_ip2%:8138" = 2,"%node_ip3%:8138" = 3}
client-bind = "0.0.0.0:8138"
or
[raft]
this-node= "0.0.0.0:8138"
nodes = {"%node_ip1%:8138" = 1,"%node_ip2%:8138" = 2,"%node_ip3%:8138" = 3}
# client-bind = "127.0.0.0:8138"
Error:
thread 'bioyino_raft' panicked at 'no entry found for key', /usr/local/cargo/git/checkouts/raft-tokio-77bb75eade836e87/212ec9b/src/tcp.rs:177:37
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread 'bioyino_raft' panicked at 'tcp listener couldn't start: Os { code: 99, kind: AddrNotAvailable, message: "Cannot assign requested address" }', /usr/local/cargo/git/checkouts/raft-tokio-77bb75eade836e87/212ec9b/src/lib.rs:237:47
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Works without error with the following settings, but I'm not sure if they are correct. Help me, tell me how to do it right:
[raft]
this-node= "0.0.0.0:8138"
nodes = {"%node_ip1%:8138" = 1,"%node_ip2%:8138" = 2,"%node_ip3%:8138" = 3}
client-bind = "0.0.0.0:8138"