Open z406497819 opened 3 months ago
Looking forward to resolving 🙏
I have this problem too
Is there a complete example code? I can't reproduce it according to the above description.
context canceled
means clients closed the requests. Typically, the scenario is the user closes the browser window before the server responds.
Describe the bug Here we used the example of API calling RPC in the greet demo, The implementation logic is very simple, it just outputs hello world At first, I thought it was a version issue. Go Zero upgraded from 1.6.0 to 1.6.5 and then to 1.7.0, but this problem still occurs The higher the concurrency, the greater the probability of occurrence At concurrency of 100, it is almost inevitable The only change made was sleeping for 5 seconds in the RPC layer
To Reproduce Steps to reproduce the behavior, if applicable:
rpc:
api:
The error is
Screenshots
Environments (please complete the following information):
Hope to solve this problem, thank you everyone