Skip to content
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

new version check breaks on large shared network #283

Closed
mlbiam opened this issue Oct 25, 2022 · 6 comments
Closed

new version check breaks on large shared network #283

mlbiam opened this issue Oct 25, 2022 · 6 comments

Comments

@mlbiam
Copy link

mlbiam commented Oct 25, 2022

cli is unusable on the KubeCon network because of trying to check for new versions:

Checking for a newer version failed with GET https://api.github.com/repos/civo/cli/tags: 403 API rate limit exceeded for 66.103.228.138. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.) [rate reset in 51m15s]

@ericsmalling
Copy link

Hitting this as well. Is there a workaround?

@mlbiam
Copy link
Author

mlbiam commented Jan 25, 2023

Upgrade

@ericsmalling
Copy link

ericsmalling commented Jan 25, 2023

I'm on the latest release:

$ civo version
Checking for a newer version failed with GET https://api.github.com/repos/civo/cli/tags: 403 API rate limit exceeded for [IP_ADDR_REDACTED]. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.) [rate reset in 37m08s]
Civo CLI v1.0.45

@ericsmalling
Copy link

... I just realized the error is non-blocking. So it's just noise. Would be nice if the check could be disabled, though.

@RealHarshThakur
Copy link
Member

Guess we could have an env variable set. CIVO_DISABLE_UPGRADE_CHECKS or something set on which we don't check for the version.
@satakshigarg can you pick it up, please?

@alejandrojnm
Copy link
Member

We added a fix for this, it should be ok now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants