Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to run example load-balance-client #127

Closed
zarvd opened this issue Nov 10, 2019 · 2 comments · Fixed by #128
Closed

Failed to run example load-balance-client #127

zarvd opened this issue Nov 10, 2019 · 2 comments · Fixed by #128

Comments

@zarvd
Copy link

zarvd commented Nov 10, 2019

Bug Report

Version

tonic-examples v0.1.0 (/home/ccc/workspace/tonic/tonic-examples)
├── tonic v0.1.0-alpha.5 (/home/ccc/workspace/tonic/tonic)
└── tonic-build v0.1.0-alpha.5 (/home/ccc/workspace/tonic/tonic-build)

Platform

Linux cccjlx 5.3.7-arch1-2-ARCH #1 SMP PREEMPT @1572002934 x86_64 GNU/Linux

Crates

tonic

Description

When I run the following command(server ran in another terminal):

$ cd tonic/tonic-examples
$ cargo run --bin  load-balance-client

And I got the error:

   Compiling tonic-examples v0.1.0 (/home/ccc/workspace/tonic/tonic-examples)
    Finished dev [unoptimized + debuginfo] target(s) in 2.98s
     Running `/home/ccc/workspace/tonic/target/debug/load-balance-client`
thread 'tokio-runtime-worker-0' panicked at 'generator resumed after completion', tonic/src/transport/service/connection.rs:29:79
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
Error: Status { code: Unknown, message: "Client: buffer\'s worker closed unexpectedly" }

It went well when I use version v0.1.0-alpha.4, so it may be broken by new changes. 😂

@zarvd zarvd changed the title Failed to run client load-balance-client Failed to run example load-balance-client Nov 10, 2019
LucioFranco added a commit that referenced this issue Nov 10, 2019
@LucioFranco
Copy link
Member

@ccc13 this should be fixed! thanks for reporting it!

@LucioFranco
Copy link
Member

alpha.6 is out and has this fix

rabbitinspace pushed a commit to satelit-project/tonic that referenced this issue Jan 1, 2020
brentalanmiller pushed a commit to brentalanmiller/tonic that referenced this issue Oct 6, 2023
* tokio-rustls: specify rust-version as 1.56 as required by rustls 0.20.7

* tokio-rustls: apply clippy lints for 1.67
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants