dfinity / agent-rs

A collection of libraries and tools for building software around the Internet Computer, in Rust.
https://sdk.dfinity.org/
Apache License 2.0
121 stars 76 forks source link

`http2 error` from dependency #184

Open ghost opened 3 years ago

ghost commented 3 years ago

We've seen reports of the http2 error : protocol error : not a result of an error in our server logs for dfx users and it appears to be coming from the agent-rs dependency h2. See their issue here: https://github.com/hyperium/h2/issues/530

h2 is used by hyper which is used by reqwuest. This issue is to review our dependencies and evaluate if this (relatively minor) bug is sufficient to consider a different request library.

jplevyak commented 3 years ago

We should try backing down to HTTP/1.1 or upgrading to newer versions of tokio/hyper/reqwest.

ninegua commented 3 years ago

The error could originate either from server or client side. We can't rule out either at the moment