-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
A time out error after upgrading from 0.11.x to 0.12.x and using http2 #2283
Comments
multun
added a commit
to OpenRailAssociation/osrd
that referenced
this issue
May 21, 2024
Somewhere between 0.11.27 and 0.12.3, a regression related to timeout handling was introduced. Other users seem to have similar issues: seanmonstar/reqwest#2283 Interestingly enough, this bug report mentions http/2, but the server we're querying only supports http/1.1.
multun
added a commit
to OpenRailAssociation/osrd
that referenced
this issue
May 21, 2024
Somewhere between 0.11.27 and 0.12.3, a regression related to timeout handling was introduced. Other users seem to have similar issues: seanmonstar/reqwest#2283 Interestingly enough, this bug report mentions http/2, but the server we're querying only supports http/1.1.
multun
added a commit
to OpenRailAssociation/osrd
that referenced
this issue
May 21, 2024
Somewhere between 0.11.27 and 0.12.3, a regression related to timeout handling was introduced. Other users seem to have similar issues: seanmonstar/reqwest#2283 Interestingly enough, this bug report mentions http/2, but the server we're querying only supports http/1.1.
github-merge-queue bot
pushed a commit
to OpenRailAssociation/osrd
that referenced
this issue
May 21, 2024
Somewhere between 0.11.27 and 0.12.3, a regression related to timeout handling was introduced. Other users seem to have similar issues: seanmonstar/reqwest#2283 Interestingly enough, this bug report mentions http/2, but the server we're querying only supports http/1.1.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have the following sample code which works with reqwest 0.11.x, but I get a timeout when using reqwest 0.12.x.
When I switch to HTTP 1.1 by replacing
.http2_prior_knowledge()
with.http1_only()
, the code works also with 0.12.x.So, seems to be HTTP2 related.
Cargo.toml:
main.rs:
By running
RUST_LOG=reqwest=trace cargo run
, I see the following output:The text was updated successfully, but these errors were encountered: