-
Notifications
You must be signed in to change notification settings - Fork 116
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
The update command does not indicate what to do when rate limit reached #270
Comments
I agree here. GeckoDriver grabs information from GitHub and the APIs are rate limited for non authenticated requests. We try our best to make unnecessary requests; however, the error message does not provide any insight on how long to wait or where to look at the documentation what the rate limit is. |
Error is from this file. Suggestions for improving this that follows previous conventions for similar issues? |
Any insight into how to workaround? Even just to get some details going on this issue. I find that the rate limit problem does not go away (ie, time passing doesn't seem to resolve on its own) |
Looks related to #216 |
Would it be possible to provide some information about how to manually resolve the issue? IE, via browser, what to go download, where to put it, etc. Its not a pretty solution, but would be a potential workaround. |
Possible to hard-code a fallback version if the request fails due to rate limiting? This does create some developer maintenance for future releases, but improves the user experience. |
Still see this:
I'd consider constructing a PR if the above suggestion is acceptable? It would add some maintenance overhead to updating a fallback version. If no, +1 to a discussion about alternative approaches. |
Is there any progress on this? |
My work around is to:
The rationale for caching is described in the bugzilla link above: Document best practices for deploying geckodriver in README:
|
No matter what solution you choose, the promise rejection should be handled in correct way so that the process exits with non-zero value after error. We run |
Done! Version 13 has a github token flag. No more rate limit issues (hopefully) |
Given:
$ webdriver-manager update webdriver-manager: using global installed version 12.0.6 (node:48495) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: ENOENT: no such file or directory, stat '/usr/local/lib/node_modules/webdriver-manager/selenium/chromedriver_2.32.zip' (node:48495) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): Error: Failed to make Github request, rate limit reached.
It would be helpful to provide suggestions for what the user can do as a next step.
The text was updated successfully, but these errors were encountered: