Skip to content

Error: Failed to make Github request, rate limit reached. #303

Closed
@christosptr

Description

@christosptr

I am running
webdriver-manager start
and I get the following error and webdriver fails to start

(node:58736) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: Failed to make Github request, rate limit reached.
(node:58736) DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js proces

Anyone else is seeing this issue?

Activity

cnishina

cnishina commented on Mar 8, 2018

@cnishina
Contributor

The start command should not make a request to GitHub. This was fixed in a later release. Please uninstall the current version of webdriver-manager and reinstall it. Let me know if that works.

christosptr

christosptr commented on Mar 9, 2018

@christosptr
Author

Hi @cnishina Thanks for your responses. I did not see this issue for few days now. Just so I can check and confirm in which release should this issue be fixed ?

p3x-robot

p3x-robot commented on Mar 30, 2018

@p3x-robot

Same error:
It is still the same error:
https://travis-ci.org/patrikx3/angular-compile

Running "cory-ensure-protractor" task
Protractor found on the path[15:35:31] I/update - chromedriver: file exists /home/travis/build/patrikx3/angular-compile/node_modules/protractor/node_modules/webdriver-manager/selenium/chromedriver_2.37.zip
[15:35:31] I/update - chromedriver: unzipping chromedriver_2.37.zip
[15:35:32] I/update - chromedriver: setting permissions to 0755 for /home/travis/build/patrikx3/angular-compile/node_modules/protractor/node_modules/webdriver-manager/selenium/chromedriver_2.37
[15:35:32] I/update - chromedriver: chromedriver_2.37 up to date
[15:35:32] I/update - selenium standalone: file exists /home/travis/build/patrikx3/angular-compile/node_modules/protractor/node_modules/webdriver-manager/selenium/selenium-server-standalone-3.11.0.jar
[15:35:32] I/update - selenium standalone: selenium-server-standalone-3.11.0.jar up to date
(node:7143) UnhandledPromiseRejectionWarning: Error: Failed to make Github request, rate limit reached.
    at Request.req.on.response (/home/travis/build/patrikx3/angular-compile/node_modules/protractor/node_modules/webdriver-manager/built/lib/binaries/config_source.js:155:28)
    at Request.emit (events.js:180:13)
    at Request.onRequestResponse (/home/travis/build/patrikx3/angular-compile/node_modules/request/request.js:1068:10)
    at ClientRequest.emit (events.js:180:13)
    at HTTPParser.parserOnIncomingClient (_http_client.js:540:21)
    at HTTPParser.parserOnHeadersComplete (_http_common.js:117:17)
    at TLSSocket.socketOnData (_http_client.js:445:20)
    at TLSSocket.emit (events.js:180:13)
    at addChunk (_stream_readable.js:274:12)
    at readableAddChunk (_stream_readable.js:261:11)
(node:7143) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:7143) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
p3x-robot

p3x-robot commented on Mar 31, 2018

@p3x-robot

My solution is #307 (comment)

DenysVuika

DenysVuika commented on Apr 19, 2018

@DenysVuika

Solution suggested by @p3x-robot in the link helped me as well.

added a commit that references this issue on Apr 23, 2018
wachri

wachri commented on Jun 6, 2018

@wachri

It will not help if you like to run the tests in firefox... 😒

virgile-hogman

virgile-hogman commented on Jan 7, 2019

@virgile-hogman

Still having the issue with gecko driver for firefox. The problem is this file is downloaded from api.github.com so i if you make too many requests at a given moment it fails. It's not a reliable solution :(

cnishina

cnishina commented on Jan 8, 2019

@cnishina
Contributor

This feature was resolved and released in the beta release of this and Protractor.

22 remaining items

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @DenysVuika@wachri@cnishina@martinmthomas@mihaivarga

        Issue actions

          Error: Failed to make Github request, rate limit reached. · Issue #303 · angular/webdriver-manager