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

rpc error: code = DeadlineExceeded desc = context deadline exceeded #169

Closed
bozzwin opened this issue Mar 13, 2020 · 2 comments
Closed

rpc error: code = DeadlineExceeded desc = context deadline exceeded #169

bozzwin opened this issue Mar 13, 2020 · 2 comments

Comments

@bozzwin
Copy link

bozzwin commented Mar 13, 2020

Proto file(s)
rpc subscribeToResults(ID) returns (stream MatchResult);

Command line arguments / config

Command: ghz.exe --config config.json

Config file
{
"insecure": true,
"proto": "ProtoFile.proto",
"call": "package.to.Service.subscribeToResults",
"data": {
"ID": "2222"
},
"metadata": {
"trace_id": "{{.RequestNumber}}",
"timestamp": "{{.TimestampUnix}}"
},
"duration": "10m",
"max-duration": "10m",
"host": "127.0.0.1:50051"
}

Environment

  • OS: [e.g. Windows 10]
  • ghz: [e.g. 0.33.0]

Screenshots

Summary:
Count: 200
Total: 80.03 s
Slowest: 0 ns
Fastest: 0 ns
Average: 20.00 s
Requests/sec: 2.50

Response time histogram:

Latency distribution:

Status code distribution:
[DeadlineExceeded] 200 responses

Error distribution:
[200] rpc error: code = DeadlineExceeded desc = context deadline exceeded

Could you suggest me how I should test service which return stream?

@mml21
Copy link

mml21 commented Nov 30, 2020

Hi bozzwin,

we have the same issue on our side, see #226 and #184.

@bojand
Copy link
Owner

bojand commented Jan 2, 2021

I think this should be addressed with the options introduced in 0.80.0.

@bojand bojand closed this as completed Jan 2, 2021
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

3 participants