chiselstore icon indicating copy to clipboard operation
chiselstore copied to clipboard

Example server fails to start

Open penberg opened this issue 2 years ago • 2 comments

When attempting to start the example server, I trip over:

penberg@vonneumann chiselstore % cargo run --example gouged -- --id 1 --peers 2 3
    Updating crates.io index
   Compiling event-listener v2.5.3
   Compiling chiselstore v0.1.0 (/Users/penberg/src/chiselstrike/chiselstore/core)
   Compiling async-mutex v1.4.0
    Finished dev [unoptimized + debuginfo] target(s) in 6.63s
     Running `target/debug/examples/gouged --id 1 --peers 2 3`
RPC listening to 127.0.0.1:50001 ...
thread 'tokio-runtime-worker' panicked at 'called `Result::unwrap()` on an `Err` value: tonic::transport::Error(Transport, hyper::Error(Connect, ConnectError("tcp connect error", Os { code: 61, kind: ConnectionRefused, message: "Connection refused" })))', core/src/rpc.rs:55:52
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread 'tokio-runtime-worker' panicked at 'called `Result::unwrap()` on an `Err` value: tonic::transport::Error(Transport, hyper::Error(Connect, ConnectError("tcp connect error", Os { code: 61, kind: ConnectionRefused, message: "Connection refused" })))', core/src/rpc.rs:55:52

I bisected the problem to 75ec0c75950499a91ef5dffcdc368cdc67924e38

penberg avatar Aug 29 '22 18:08 penberg

I tried this commit and it worked for me. will investigate more

glommer avatar Aug 29 '22 18:08 glommer

89a1a1fbd3eaaad23d386be8da01d9b4c6c3d653 OTOH breaks it.

glommer avatar Aug 29 '22 19:08 glommer