Skip to content
This repository was archived by the owner on Apr 8, 2024. It is now read-only.
This repository was archived by the owner on Apr 8, 2024. It is now read-only.

greeter example gives unhelpful error message #182

@hxw

Description

@hxw

It terminates with Err(Http(ClientDied(None))). though after some debugging (see: stepancheg/rust-http2#40 ) it turns out to be simple an expire cert.

% cargo run --bin greeter_client -- --tls                
warning: field is never read: `conf`                                          
  --> grpc/src/server/mod.rs:81:5
   |
81 |     conf: ServerConf,
   |     ^^^^^^^^^^^^^^^^
   |
   = note: `#[warn(dead_code)]` on by default

warning: field is never read: `sender`
  --> grpc/src/req.rs:77:5
   |
77 |     sender: Option<mpsc::Sender<T>>,
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

   Compiling grpc_examples_greeter v0.0.0 (/projects/stepancheg/grpc-rust/grpc-examples/greeter)
    Finished dev [unoptimized + debuginfo] target(s) in 1.74s
     Running `target/debug/greeter_client --tls`
Err(Http(ClientDied(None)))

running grpc-examples/greeter/src/gen-certs.sh then restarting server, will allow the client to work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions