-
-
Notifications
You must be signed in to change notification settings - Fork 4k
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
rpc error: code = Canceled desc = context canceled #4564
Comments
Have you check the timeout of upstream application, check the context timeout. |
I did check the context of the API layer and did not impose any timeout restrictions |
Have you join in wechat group, pls at me and I'll check with you on lark. |
I am already in a WeChat group, how can I find you |
@KE_SON_AN |
If u didn't configure a timeout and it times out at 60 seconds, maybe u can check other gateway config, such as nginx, cuz 60s looks like a default gateway timeout config |
Thank you for your suggestion. I tested it carefully and indeed nginx timed out |
Describe the bug
I have a client and server service, and when the client requests the server, it reports an error timeout. My client service setting corresponds to a server service timeout of 0, which I believe means there is no limit to timeouts. But in reality, after 60 seconds of execution, the client reported an error timeout and the server continued to execute.
Actually, my server service takes about 5 minutes, so let's not consider why we don't use asynchronous or other solutions for now.
To Reproduce
Steps to reproduce the behavior, if applicable:
Environments (please complete the following information):
The text was updated successfully, but these errors were encountered: