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

GRPC hang after timeout #1635

Open
biran0083 opened this issue Feb 13, 2024 · 0 comments
Open

GRPC hang after timeout #1635

biran0083 opened this issue Feb 13, 2024 · 0 comments

Comments

@biran0083
Copy link

Bug Report

Version

0.10.2

Platform

Linux bir 6.2.0-1018-aws #18~22.04.1-Ubuntu SMP Wed Jan 10 22:54:16 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

Description

Both server and client are using tonic 0.10.2.
Both run in k8s pods.
When server restarts, client starts getting

status: Unavailable, message: "error trying to connect: dns error: failed to lookup address information: Name or service not known", details: [], metadata: MetadataMap { headers: {"content-type": "application/grpc", "date": "Tue, 13 Feb 2024 16:39:13 GMT", "content-length": "0"} }�

Client retries the request, and RPC hangs for 1 min+. Then we killed the client process.
This is not expected because we set both timeout and connection_timeout to 10 sec when creating client channel.

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