panamax-rs / panamax

Mirror rustup and crates.io repositories, for offline Rust and cargo usage.
Apache License 2.0
427 stars 45 forks source link

Unable to complete downloading crates #107

Open patrickjcasey opened 1 year ago

patrickjcasey commented 1 year ago

I am trying to mirror crates.io with panamax and it nearly finishes syncing all of the crates, but it hangs forever when there are ~10-20 crates left. I am using a default mirror.toml file and only editing base_url

Syncing Rustup repositories... [1/5] Syncing rustup-init files... ███████████████████████████████████████████████████████████████████████████████████████ 106/106 [00:00:05 / 00:00:00][2/5] Syncing latest stable... ███████████████████████████████████████████████████████████████████████████████████████ 395/395 [00:01:07 / 00:00:00][3/5] Skipping syncing beta. [4/5] Syncing latest nightly... ███████████████████████████████████████████████████████████████████████████████████████ 449/449 [00:00:54 / 00:00:00][5/5] Cleaning old files... ███████████████████████████████████████████████████████████████████████████████████████████ 0/0 [00:00:00 / 00:00:00]Syncing Rustup repositories complete! Syncing Crates repositories... [1/3] Fetching crates.io-index... [00:01:13][2/3] Syncing crates files... ████████████████████████████████████████████████████████████████████████████████▉ 764803/764819 [03:21:21 / 03:21:22]

Kropyls commented 1 year ago

Fwiw, I'm observing similar behavior. It occurs on a rhel 7.9 box, is yours on the same box? If I can provide any more details that would help, please let me know!

patrickjcasey commented 1 year ago

My issues have been on a system running Ubuntu 20.04

Leandros commented 1 year ago

Same issue here. Stuck on the last crate.

macOS 13.2 (22D49).

image