rust-build icon indicating copy to clipboard operation
rust-build copied to clipboard

Error: Failed to query GitHub API: Invalid Github token

Open xiaosongfu opened this issue 1 year ago • 1 comments

./espup install
[info]: Installing the Espressif Rust ecosystem
[info]: Get Proxy from env var: https_proxy=http://127.0.0.1:7890
Error: espup::toolchain::rust::query_github

  × Failed to query GitHub API: Invalid Github token

how to solve this?

xiaosongfu avatar Dec 26 '24 12:12 xiaosongfu

As the logs say, you are using a proxy from your environment variable https_proxy, is that intended? Is your proxy able to reach GitHub??

SergioGasquez avatar Dec 27 '24 10:12 SergioGasquez

I had the same problem, but I worked fine after changing the node. I'm guessing that github is blocking the proxy node's IP.

mengyou1024 avatar Mar 25 '25 12:03 mengyou1024