-
Notifications
You must be signed in to change notification settings - Fork 16
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
Hey complains when it receives 503s. #185
Comments
I am still getting these errors on the client side. Not with 503 though, but mostly with 429 (Admissions Controller denying a requrest) and sometimes with 409 (shedding [killing] a work in the global queue to make some cpu util for a guaranteed request). |
Does the hey #define HTTP_RESPONSE_429_TOO_MANY_REQUESTS \
"HTTP/1.1 429 Too Many Requests\r\n" \
"Server: SLEdge\r\n" \
"Connection: close\r\n" \
"\r\n" I'd also be curious if this happens to be an A comment here suggests that it might be because we write a response before reading the entire HTTP request: "Basically it means that the upstream server either responded with data before the HTTP request was finished, or it continued to respond with data after it was meant to stop (already wrote the full content length's worth of bytes?)" |
Nope. I use hey with that option by default.
I am curious why it happens only a few times, not for all the requests.
Yeah I saw that. Not getting how it is happening in Sledge though :/ |
When running
hey
, 503s result in the following being logged:It is unclear if this is expected behavior or an indication that we are not properly sending 503s.
Run
./runtime/experiments/premption/run.sh
to recreateThe text was updated successfully, but these errors were encountered: