Skip to content

Timed out waiting for pkg to be available in registry cargo-http-registry #61

@StackOverflowExcept1on

Description

@StackOverflowExcept1on

The registry does not respond within 1 minute to request from cargo. My cargo config looks like this:

registry = { default = "cargo-http-registry" }
registries = { cargo-http-registry = { index = "http://127.0.0.1:34499/git", token = "token" } }
net = { git-fetch-with-cli = true }
    Packaged 9 files, 67.0KiB (13.4KiB compressed)
   Uploading gcore v1.5.0-9e2c2f54a (/gear/gcore)
[2024-08-15T10:11:13Z DEBUG hyper::proto::h1::io] parsed 6 headers
[2024-08-15T10:11:13Z DEBUG hyper::proto::h1::conn] incoming body is content-length (15409 bytes)
[2024-08-15T10:11:13Z INFO  warp::filters::trace] request; method=PUT path=/api/v1/crates/new version=HTTP/1.1
[2024-08-15T10:11:13Z INFO  warp::filters::trace] request; remote.addr=127.0.0.1:60216
[2024-08-15T10:11:13Z DEBUG warp::filters::trace] received request
[2024-08-15T10:11:13Z INFO  warp::filters::trace] processing request
[2024-08-15T10:11:13Z DEBUG hyper::proto::h1::conn] incoming body completed
[2024-08-15T10:11:13Z INFO  cargo_http_registry::serve] request status: success
[2024-08-15T10:11:13Z INFO  warp::filters::trace] finished processing with success status=200
[2024-08-15T10:11:13Z DEBUG hyper::proto::h1::io] flushed 116 bytes
    Uploaded gcore v1.5.0-9e2c2f54a to registry `cargo-http-registry`
note: waiting for `gcore v1.5.0-9e2c2f54a` to be available at registry `cargo-http-registry`.
You may press ctrl-c to skip waiting; the crate should be available shortly.

[2024-08-15T10:11:13Z DEBUG hyper::proto::h1::io] parsed 7 headers
[2024-08-15T10:11:13Z DEBUG hyper::proto::h1::conn] incoming body is empty
[2024-08-15T10:11:13Z INFO  warp::filters::trace] request; method=GET path=/git/info/refs version=HTTP/1.1
[2024-08-15T10:11:13Z INFO  warp::filters::trace] request; remote.addr=127.0.0.1:60222
[2024-08-15T10:11:13Z DEBUG warp::filters::trace] received request
[2024-08-15T10:11:13Z INFO  warp::filters::trace] processing request
[2024-08-15T10:11:13Z INFO  warp::filters::trace] finished processing with success status=200
[2024-08-15T10:11:13Z DEBUG hyper::proto::h1::io] flushed 184 bytes
[2024-08-15T10:11:13Z DEBUG hyper::proto::h1::io] flushed 59 bytes
[2024-08-15T10:11:13Z DEBUG hyper::proto::h1::io] parsed 6 headers
[2024-08-15T10:11:13Z DEBUG hyper::proto::h1::conn] incoming body is empty
[2024-08-15T10:11:13Z INFO  warp::filters::trace] request; method=GET path=/git/HEAD version=HTTP/1.1
[2024-08-15T10:11:13Z INFO  warp::filters::trace] request; remote.addr=127.0.0.1:60222
[2024-08-15T10:11:13Z DEBUG warp::filters::trace] received request
[2024-08-15T10:11:13Z INFO  warp::filters::trace] processing request
[2024-08-15T10:11:13Z INFO  warp::filters::trace] finished processing with success status=200
[2024-08-15T10:11:13Z DEBUG hyper::proto::h1::io] flushed 184 bytes
[2024-08-15T10:11:13Z DEBUG hyper::proto::h1::io] flushed 23 bytes
[2024-08-15T10:11:13Z DEBUG hyper::proto::h1::io] parsed 4 headers
[2024-08-15T10:11:13Z DEBUG hyper::proto::h1::conn] incoming body is empty
[2024-08-15T10:11:13Z INFO  warp::filters::trace] request; method=GET path=/git/objects/02/b5fd6f7d6cd5e09617c4e8df4917d6de8e5709 version=HTTP/1.1
[2024-08-15T10:11:13Z INFO  warp::filters::trace] request; remote.addr=127.0.0.1:60222
[2024-08-15T10:11:13Z DEBUG warp::filters::trace] received request
[2024-08-15T10:11:13Z INFO  warp::filters::trace] processing request
[2024-08-15T10:11:13Z INFO  warp::filters::trace] finished processing with success status=200
[2024-08-15T10:11:13Z DEBUG hyper::proto::h1::io] flushed 185 bytes
[2024-08-15T10:11:13Z DEBUG hyper::proto::h1::io] flushed 206 bytes
[2024-08-15T10:11:13Z DEBUG hyper::proto::h1::io] parsed 4 headers
[2024-08-15T10:11:13Z DEBUG hyper::proto::h1::conn] incoming body is empty
[2024-08-15T10:11:13Z INFO  warp::filters::trace] request; method=GET path=/git/objects/5e/5223d6801820b79ac2f3ecb0d73eb698bd5b1f version=HTTP/1.1
[2024-08-15T10:11:13Z INFO  warp::filters::trace] request; remote.addr=127.0.0.1:60222
[2024-08-15T10:11:13Z DEBUG warp::filters::trace] received request
[2024-08-15T10:11:13Z INFO  warp::filters::trace] processing request
[2024-08-15T10:11:13Z INFO  warp::filters::trace] finished processing with success status=200
[2024-08-15T10:11:13Z DEBUG hyper::proto::h1::io] flushed 185 bytes
[2024-08-15T10:11:13Z DEBUG hyper::proto::h1::io] flushed 849 bytes
[2024-08-15T10:11:13Z DEBUG hyper::proto::h1::io] parsed 4 headers
[2024-08-15T10:11:13Z DEBUG hyper::proto::h1::conn] incoming body is empty
[2024-08-15T10:11:13Z INFO  warp::filters::trace] request; method=GET path=/git/objects/f0/962157263a32ee7f161f4c4fae88fb2ac5ab4f version=HTTP/1.1
[2024-08-15T10:11:13Z INFO  warp::filters::trace] request; remote.addr=127.0.0.1:60222
[2024-08-15T10:11:13Z DEBUG warp::filters::trace] received request
[2024-08-15T10:11:13Z INFO  warp::filters::trace] processing request
[2024-08-15T10:11:13Z INFO  warp::filters::trace] finished processing with success status=200
[2024-08-15T10:11:13Z DEBUG hyper::proto::h1::io] flushed 184 bytes
[2024-08-15T10:11:13Z DEBUG hyper::proto::h1::io] flushed 44 bytes
[2024-08-15T10:11:13Z DEBUG hyper::proto::h1::io] parsed 3 headers
[2024-08-15T10:11:13Z DEBUG hyper::proto::h1::conn] incoming body is empty
[2024-08-15T10:11:13Z INFO  warp::filters::trace] request; method=GET path=/git/objects/18/9391b76d93be37b38763073cf261947b205b1d version=HTTP/1.1
[2024-08-15T10:11:13Z INFO  warp::filters::trace] request; remote.addr=127.0.0.1:60230
[2024-08-15T10:11:13Z DEBUG warp::filters::trace] received request
[2024-08-15T10:11:13Z INFO  warp::filters::trace] processing request
[2024-08-15T10:11:13Z INFO  warp::filters::trace] finished processing with success status=200
[2024-08-15T10:11:13Z DEBUG hyper::proto::h1::io] flushed 187 bytes
[2024-08-15T10:11:13Z DEBUG hyper::proto::h1::io] parsed 3 headers
[2024-08-15T10:11:13Z DEBUG hyper::proto::h1::conn] incoming body is empty
[2024-08-15T10:11:13Z DEBUG hyper::proto::h1::io] flushed 8192 bytes
[2024-08-15T10:11:13Z INFO  warp::filters::trace] request; method=GET path=/git/objects/52/811245bf1c801a658905f69242190279f0b3ae version=HTTP/1.1
[2024-08-15T10:11:13Z INFO  warp::filters::trace] request; remote.addr=127.0.0.1:60222
[2024-08-15T10:11:13Z DEBUG warp::filters::trace] received request
[2024-08-15T10:11:13Z INFO  warp::filters::trace] processing request
[2024-08-15T10:11:13Z DEBUG hyper::proto::h1::io] flushed 5514 bytes
[2024-08-15T10:11:13Z INFO  warp::filters::trace] finished processing with success status=200
[2024-08-15T10:11:13Z DEBUG hyper::proto::h1::io] flushed 184 bytes
[2024-08-15T10:11:13Z DEBUG hyper::proto::h1::io] flushed 50 bytes
[2024-08-15T10:11:13Z DEBUG hyper::proto::h1::io] parsed 3 headers
[2024-08-15T10:11:13Z DEBUG hyper::proto::h1::conn] incoming body is empty
[2024-08-15T10:11:13Z INFO  warp::filters::trace] request; method=GET path=/git/objects/79/ac96df0db319606ebfbe9a014aa4a26734ed29 version=HTTP/1.1
[2024-08-15T10:11:13Z INFO  warp::filters::trace] request; remote.addr=127.0.0.1:60230
[2024-08-15T10:11:13Z DEBUG warp::filters::trace] received request
[2024-08-15T10:11:13Z INFO  warp::filters::trace] processing request
[2024-08-15T10:11:13Z INFO  warp::filters::trace] finished processing with success status=200
[2024-08-15T10:11:13Z DEBUG hyper::proto::h1::io] flushed 185 bytes
[2024-08-15T10:11:13Z DEBUG hyper::proto::h1::io] flushed 438 bytes
From http://127.0.0.1:34499/git
   fbe2d87..02b5fd6             -> origin/HEAD
[2024-08-15T10:11:13Z DEBUG hyper::proto::h1::conn] read eof
[2024-08-15T10:11:13Z DEBUG hyper::proto::h1::conn] read eof
[2024-08-15T10:11:14Z DEBUG hyper::proto::h1::io] parsed 7 headers
[2024-08-15T10:11:14Z DEBUG hyper::proto::h1::conn] incoming body is empty
[2024-08-15T10:11:14Z INFO  warp::filters::trace] request; method=GET path=/git/info/refs version=HTTP/1.1
[2024-08-15T10:11:14Z INFO  warp::filters::trace] request; remote.addr=127.0.0.1:60242
[2024-08-15T10:11:14Z DEBUG warp::filters::trace] received request
[2024-08-15T10:11:14Z INFO  warp::filters::trace] processing request
[2024-08-15T10:11:14Z INFO  warp::filters::trace] finished processing with success status=200
[2024-08-15T10:11:14Z DEBUG hyper::proto::h1::io] flushed 184 bytes
[2024-08-15T10:11:14Z DEBUG hyper::proto::h1::io] flushed 59 bytes
[2024-08-15T10:11:14Z DEBUG hyper::proto::h1::io] parsed 6 headers
[2024-08-15T10:11:14Z DEBUG hyper::proto::h1::conn] incoming body is empty
[2024-08-15T10:11:14Z INFO  warp::filters::trace] request; method=GET path=/git/HEAD version=HTTP/1.1
[2024-08-15T10:11:14Z INFO  warp::filters::trace] request; remote.addr=127.0.0.1:60242
[2024-08-15T10:11:14Z DEBUG warp::filters::trace] received request
[2024-08-15T10:11:14Z INFO  warp::filters::trace] processing request
[2024-08-15T10:11:14Z INFO  warp::filters::trace] finished processing with success status=200
[2024-08-15T10:11:14Z DEBUG hyper::proto::h1::io] flushed 184 bytes
[2024-08-15T10:11:14Z DEBUG hyper::proto::h1::io] flushed 23 bytes
[2024-08-15T10:11:14Z DEBUG hyper::proto::h1::conn] read eof
[2024-08-15T10:11:15Z DEBUG hyper::proto::h1::io] parsed 7 headers
[2024-08-15T10:11:15Z DEBUG hyper::proto::h1::conn] incoming body is empty

warning: timed out waiting for `gcore v1.5.0-9e2c2f54a` to be available in registry `cargo-http-registry`
note: the registry may have a backlog that is delaying making the crate available. The crate should be available soon.
[2024-08-15T10:12:13Z DEBUG hyper::proto::h1::conn] read eof

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions