panamax-rs / panamax

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

Git auth errors when trying to sync repository. #137

Open haydonryan opened 1 month ago

haydonryan commented 1 month ago

Looks like github is asking for authentication when getting crates.io

I did

cargo install --locked panamax.

panamax init /home/haydon/.local/share/panamax
$ panamax sync . --skip-rustup
Rustup sync is disabled, skipping...
Syncing Crates repositories...
[1/3] Fetching crates.io-index...                                                                                                                             [00:00:00]Downloading crates.io-index repository failed: GitError(Error { code: -16, klass: 23, message: "authentication required but no callback set" })
You will need to sync again to finish this download.
Sync complete.

Changed mirror.toml to have 16 threads,

Repeatedly get the error.

I tried forcing a reinstall, but looks like an issue from github.com Is there any way to pass my auth to github?