Skip to content

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

Closed
@p3x-robot

Description

@p3x-robot

Ciao!

How are you? In TRAVIS I have 50k requests, but the webdriver-manager is not using my GITHUB_TOKEN.

Is there any way to pass the token to the webdriver-manager?

https://travis-ci.org/patrikx3/angular-compile/builds/360309979

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.

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

    Issue actions