moriturus / ktra

Your Little Cargo Registry

Home Page:https://book.ktra.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

vi opened this issue · 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.