grpc / grpc/grpc-rust

Running rustls example results in panic on the server side

Open
#1,183 17 comments 2 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
12.5k
Forks
1.3k
Avg merge
4d 7h
Merged PRs (30d)
24

Description

## Bug Report

### Version

master

### Platform

Linux pop-os 6.0.6-76060006-generic x86_64

### Description

Running `tls_rustls` example results in panic on the server side:

server: `cargo run --bin tls-server-rustls`
client: `cargo run --bin tls-client-rustls`

then on server:

```
Got a request from: [::1]:59296 with certs: []
thread 'tokio-runtime-worker' panicked at 'called `Result::unwrap()` on an `Err` value: hyper::Error(Io, Kind(UnexpectedEof))', examples/src/tls/server_rustls.rs:88:52
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
```

Expected behavior: example is working without errors.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.