You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Toolchain installation fails with "GitHub API returned status code: 401 Unauthorized" #595
$ cargo install espup --locked
Updating crates.io index
Downloaded espup v0.17.1
Downloaded 1 crate (58.5KiB) in 0.07s
Installing espup v0.17.1
[...]
Compiling update-informer v1.3.0
Compiling espup v0.17.1
Finished [`release` profile [optimized]](https://doc.rust-lang.org/cargo/reference/profiles.html#default-profiles) target(s) in 43.56s
Installing /Users/seancross/.cargo/bin/espup
Installed package `espup v0.17.1` (executable `espup`)
$ espup install
[warn]: A new version of espup ('v0.18.0') is available
[info]: Installing the Espressif Rust ecosystem
[warn]: Failed to get latest Xtensa Rust version: HTTP GET Error: GitHub API returned status code: 401 Unauthorized
Error: espup::toolchain::http_error
× HTTP GET Error: GitHub API returned status code: 401 Unauthorized
$
Environment
OS: macOs 26.5.2 (25F84)
espup version: 0.17.1
Additional context
The command says v0.18.0 is available, but cargo install doesn't seem to know about it.
Activity
xobs commentedon Oct 23, 2026
I note in the README.md there's a note about setting a token environment variable, but (1) that says it only applies to CI, and (2) it's not mentioned anywhere in https://docs.espressif.com/projects/rust/book/getting-started/toolchain.html#xtensa-devices as being required.