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
Retry HTTP/2 REFUSED_STREAM errors automatically #6700
Comments
We're seeing the following nginx-HTTP2-related exceptions:
At least for the
|
I've got a repro of this, working on making it minimal to isolate exactly what setting is breaking okhttp. It's definitely the keepalive_requests directive. |
[自动回复] 邮件我已收到!
——葛立青
|
Seeing this issue as well i believe - Ive tested the same API with multiple different languages + clients, and only with OkHTTP do i get a
Any insight into this issue or a fix would be super helpful! |
I'll take a look at this one |
[自动回复] 邮件我已收到!
——葛立青
|
The specs suggest it's safe to do so
https://httpwg.org/specs/rfc7540.html#Reliability
Nginx can be configured to send this on old-enough connections:
http://nginx.org/en/docs/http/ngx_http_core_module.html#keepalive_requests
And our users are otherwise going to do it manually.
https://stackoverflow.com/questions/67883227/dealing-with-okhttp-http-2-refused-stream-errors
We need a limit on how many automatic retries to attempt; maybe 1. Such retries should be on a different connection.
The text was updated successfully, but these errors were encountered: