I expect a file to be created on GCS at /rust-test containing "some data", which happens correctly with rust-s3's default features, but not with tokio-rustls-tls.
Googling around, it seems like Google servers do something with http2 that causes problems for rustls, but I didn't see anything conclusive. The issue is probably upstream of rust-s3, but figured I'd work my way up the chain of deps to better understand it.
Describe the bug
When using
rust-s3
with thetokio-rustls-tls
backend, I reliably get this error when connecting to GCS:To Reproduce
Have a Cargo.toml file with:
Example snippet:
Expected behavior
I expect a file to be created on GCS at
/rust-test
containing"some data"
, which happens correctly withrust-s3
's default features, but not withtokio-rustls-tls
.Environment
1.75
0.33.0
Additional context
I initially noticed this downstream in Stalwart, and was able to temporarily hack around this by recompiling with
tokio-native-tls
instead.Googling around, it seems like Google servers do something with http2 that causes problems for
rustls
, but I didn't see anything conclusive. The issue is probably upstream ofrust-s3
, but figured I'd work my way up the chain of deps to better understand it.