Hi there,
I'm encountering an issue when trying to install the Espressif Rust ecosystem using espup. The installation fails when querying the GitHub API for the latest Xtensa Rust version, returning a 400 Bad Request error. Here are the details:
Steps to Reproduce
Run the command:
Expected Behavior
espup should successfully fetch the latest Xtensa Rust version from the GitHub API and proceed with the installation.
Actual Behavior
The installation fails with the following error:
[warn]: Failed to get latest Xtensa Rust version: HTTP GET Error: GitHub API returned status code: 400 Bad Request
Error: espup::toolchain::http_error
× HTTP GET Error: GitHub API returned status code: 400 Bad Request
Debug Logs
Relevant debug logs show repeated attempts to connect to the GitHub API:
[debug]: Querying latest Xtensa Rust version from GitHub API
[debug]: Querying GitHub API: 'https://api.github.com/repos/esp-rs/rust-build/releases/latest'
[debug]: starting new connection: https://api.github.com/
[debug]: starting new connection: https://api.github.com/
[debug]: starting new connection: https://api.github.com/
[debug]: starting new connection: https://api.github.com/
[debug]: starting new connection: https://api.github.com/
[debug]: starting new connection: https://api.github.com/
Additional Information
- When I manually query the same GitHub API endpoint using
curl, it returns a valid response with the latest release information (v1.88.0.0).
- My environment: macOS (using a MacBook Pro)
espup version: Not explicitly confirmed, but the latest available via crates.io (as the tool successfully fetches data from crates.io earlier in the process)
Thanks
Hi there,
I'm encountering an issue when trying to install the Espressif Rust ecosystem using
espup. The installation fails when querying the GitHub API for the latest Xtensa Rust version, returning a 400 Bad Request error. Here are the details:Steps to Reproduce
Run the command:
Expected Behavior
espupshould successfully fetch the latest Xtensa Rust version from the GitHub API and proceed with the installation.Actual Behavior
The installation fails with the following error:
Debug Logs
Relevant debug logs show repeated attempts to connect to the GitHub API:
Additional Information
curl, it returns a valid response with the latest release information (v1.88.0.0).espupversion: Not explicitly confirmed, but the latest available via crates.io (as the tool successfully fetches data from crates.io earlier in the process)Thanks