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

Always return the error of "GrpcAPI(Status { code: Unavailable ..." #480

Open
pingyu opened this issue Mar 17, 2025 · 0 comments
Open

Always return the error of "GrpcAPI(Status { code: Unavailable ..." #480

pingyu opened this issue Mar 17, 2025 · 0 comments

Comments

@pingyu
Copy link
Collaborator

pingyu commented Mar 17, 2025

Reproduce step:

  1. Startup cluster.
  2. Perform workload.
  3. Restart the cluster (the cluster is startup by tiup playground and the IP address of stores are changed after restart).

Then on every retry, the client always return the error of "GrpcAPI(Status { code: Unavailable ..." when get value of key using Snapshot::get:

Mar 16 16:32:06.441 ERRO ... ClientError("get: key ..., err: GrpcAPI(Status { code: Unavailable, message: \"error trying to connect: tcp connect error: Connection refused (os error 111)\", source: Some(tonic::transport::Error(Transport, hyper::Error(Connect, ConnectError(\"tcp connect error\", Os { code: 111, kind: ConnectionRefused, message: \"Connection refused\" })))) }))")
Mar 16 16:32:10.998 ERRO ... ClientError("get: key ..., err: GrpcAPI(Status { code: Unavailable, message: \"error trying to connect: tcp connect error: Connection refused (os error 111)\", source: Some(tonic::transport::Error(Transport, hyper::Error(Connect, ConnectError(\"tcp connect error\", Os { code: 111, kind: ConnectionRefused, message: \"Connection refused\" })))) }))")
Mar 16 16:32:15.553 ERRO ... ClientError("get: key ..., err: GrpcAPI(Status { code: Unavailable, message: \"error trying to connect: tcp connect error: Connection refused (os error 111)\", source: Some(tonic::transport::Error(Transport, hyper::Error(Connect, ConnectError(\"tcp connect error\", Os { code: 111, kind: ConnectionRefused, message: \"Connection refused\" })))) }))")
Mar 16 16:32:20.111 ERRO ... ClientError("get: key ..., err: GrpcAPI(Status { code: Unavailable, message: \"error trying to connect: tcp connect error: Connection refused (os error 111)\", source: Some(tonic::transport::Error(Transport, hyper::Error(Connect, ConnectError(\"tcp connect error\", Os { code: 111, kind: ConnectionRefused, message: \"Connection refused\" })))) }))")
Mar 16 16:32:24.667 ERRO ... ClientError("get: key ..., err: GrpcAPI(Status { code: Unavailable, message: \"error trying to connect: tcp connect error: Connection refused (os error 111)\", source: Some(tonic::transport::Error(Transport, hyper::Error(Connect, ConnectError(\"tcp connect error\", Os { code: 111, kind: ConnectionRefused, message: \"Connection refused\" })))) }))")
Mar 16 16:32:29.226 ERRO ... ClientError("get: key ..., err: GrpcAPI(Status { code: Unavailable, message: \"error trying to connect: tcp connect error: Connection refused (os error 111)\", source: Some(tonic::transport::Error(Transport, hyper::Error(Connect, ConnectError(\"tcp connect error\", Os { code: 111, kind: ConnectionRefused, message: \"Connection refused\" })))) }))")
Mar 16 16:32:33.783 ERRO ... ClientError("get: key ..., err: GrpcAPI(Status { code: Unavailable, message: \"error trying to connect: tcp connect error: Connection refused (os error 111)\", source: Some(tonic::transport::Error(Transport, hyper::Error(Connect, ConnectError(\"tcp connect error\", Os { code: 111, kind: ConnectionRefused, message: \"Connection refused\" })))) }))")
@pingyu pingyu changed the title Keep return the error of "GrpcAPI(Status { code: Unavailable ..." Always return the error of "GrpcAPI(Status { code: Unavailable ..." Mar 17, 2025
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

No branches or pull requests

1 participant