ktra icon indicating copy to clipboard operation
ktra copied to clipboard

Downloading ktra's crates.io mirror may fail when tried from some Cargo versions

Open vi opened this issue 4 years ago • 0 comments

Mar 04 19:26:20.566 ERROR request{method=GET path=/ktra/api/v1/mirror/anyhow/1.0.41/download version=HTTP/1.1 remote.addr=127.0.0.1:60092}: warp::filters::trace: unable to process request (internal error) status=500 error=Rejection([MethodNotAllowed, MethodNotAllowed, MethodNotAllowed, MethodNotAllowed, MethodNotAllowed, MethodNotAllowed, MethodNotAllowed, MethodNotAllowed, MissingHeader { name: "Authorization" }, HttpRequest(reqwest::Error { kind: Request, url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("static.crates.io")), port: None, path: "/crates/anyhow/anyhow-1.0.41.crate", query: None, fragment: None }, source: hyper::Error(Io, Os { code: 104, kind: ConnectionReset, message: "Connection reset by peer" }) })])

I'm not sure, but just retrying (or retrying with another Cargo version?) may resolve.

vi avatar Mar 04 '22 16:03 vi