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

Octokit Unauthorized #7574

Closed
ghost opened this issue Apr 5, 2017 · 8 comments
Closed

Octokit Unauthorized #7574

ghost opened this issue Apr 5, 2017 · 8 comments

Comments

@ghost
Copy link

ghost commented Apr 5, 2017

I can't deploy my builds because of this error

/home/travis/.rvm/gems/ruby-1.9.3-p551/gems/octokit-4.3.0/lib/octokit/response/raise_error.rb:16:in `on_complete': GET https://api.github.com/user: 401 - Bad credentials // See: https://developer.github.com/v3 (Octokit::Unauthorized)
@BanzaiMan
Copy link
Contributor

Do you have a build log URL that shows the problem you are describing here?

@ghost
Copy link
Author

ghost commented Apr 5, 2017

Yeah

@ghost
Copy link
Author

ghost commented Apr 5, 2017

Here log.txt

@BanzaiMan
Copy link
Contributor

I tweaked the Release provider to dump the api key when it is defined in the same way as your key is. This experiment indicates to me that you have a wrong API key defined in the Settings page. Please double check the value.

@ghost
Copy link
Author

ghost commented Apr 5, 2017

Okay

@ghost ghost closed this as completed Apr 5, 2017
@grvsachdeva
Copy link

grvsachdeva commented Jun 1, 2018

Hi @BanzaiMan , we are facing similar issue at https://github.com/publiclab/plots2 . All our builds are stuck due to this issue, creating backlog. Here's the build log https://travis-ci.org/publiclab/plots2/builds/386823762#L2969 .Could you please help in tracking the problem? Thanks.

@BanzaiMan
Copy link
Contributor

BanzaiMan commented Jun 1, 2018

@Gauravano Sorry, but you are using octokit in your own way, so I don't know how it's trying to do the job. You'll have to look at how the danger command works.

@grvsachdeva
Copy link

Thanks for pointer @BanzaiMan !

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

No branches or pull requests

2 participants