-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
espup install
failed.
#215
Comments
Hello @windoze! Thanks for reporting this issue! The issue seems to be related with Github API, we had something similar in the past, see esp-rs/xtensa-toolchain#15. But, the weird thing is that it happens on a host machine, where I don't expect you to be querying the Github API, so you should not reach the limits. Can you try to run the Running Regarding Just tried to reproduce your issue on a macOS 13.2.1 with |
Thanks for the reply. I tried And I tried the curl command as instructed, didn't see anything strange about the rate limit:
|
After some digging I realized the root cause is because I accidentally set a GITHUB_TOKEN in the environment, for some reason it's picked up by Sorry for the false alarm and thanks for your kind help. PS. I'd suggest adding a line in the doc to clarify the env var usage. |
In your case you are not in the limit:
Here is some documentation about the limits: https://docs.github.com/en/rest/overview/resources-in-the-rest-api?apiVersion=2022-11-28#rate-limit-headers
|
Glad to hear that! The debug message that you were seeing indicates that you have a This variable is required when using Sorry for your trouble and really happy that is now fixed! |
I dug the exact same line of the source code to be aware of this issue 🤣 |
Just added a note under the installation section, see: ef483ed I'll close the issue, if you have any further question or suggestion feel free to post or reopen it again! Thank you! |
Worded another way: make sure if you do have a GITHUB_TOKEN in your profile/environment/shell that it isn't bogus :) Might be nice to beef up error handling to make it more clear when a GitHub API request fails. |
Bug description
To Reproduce
Steps to reproduce the behavior:
espup install -l debug
Although I haven't dug into the source code, but I guess it's because
esp-rs/rust-build
still doesn't have 1.68.1 released.But when I ran
espup install -v 1.68.0
, it still failed with the error:Expected behavior
Toolchain gets installed correctly.
Environment
The text was updated successfully, but these errors were encountered: