You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
bcspragu
changed the title
"unspecified protocol error" when using GCS as S3 backend, tokio-rustls-tls
"PROTOCOL_ERROR" when using GCS as S3 backend, tokio-rustls-tls
Jan 27, 2024
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:
Rust example code
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.The text was updated successfully, but these errors were encountered: