-
Notifications
You must be signed in to change notification settings - Fork 408
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
Can't login with multifactor authentication #448
Comments
I'm seeing the same issue. What's worse, when I try to authenticate with a temporary token, I get a different error: $ travis login -u lukeyeager --github-token $MYTOKEN
405: "request method not allowed" |
Full logs of attempts with
|
Can't actually sign and upload until I can upload the key. Blocked by travis-ci/travis.rb#448
Can't actually sign and upload until I can upload the key. Blocked by travis-ci/travis.rb#448
Can't actually sign and upload until I can upload the key. Blocked by travis-ci/travis.rb#448
Getting the same error with 401 for two factor authentication. |
This is probably a duplicate of #315.
|
I got around it by ssh-ing into another machine (as suggested several times on #315). |
I have the same issue, tried on two other IPs (digitalocean, and online.net) apart from my home one with no success. |
This has been fixed by #454, which you should be able to try out right now via |
@rkh Thanks for taking care of this. |
I have installed travis using
Am I doing something wrong? |
Alright, forget I said anything, it had to do with scopes attached to my token. |
@harmenjanssen What scopes did travis require? I'm currently stuck here and I don't want to give it more permission that it needs. I didn't select any scope which should give it read only access to public information but i'm still getting the |
@Eyesonly88 You're going to need a bunch though. An overview is over here: https://docs.travis-ci.com/user/github-oauth-scopes/ |
@harmenjanssen thank you 🙇 |
I feel like I'm hitting this with #775 - any suggestions? I know I'm here on an issue that's 3 years old. |
I need to encrypt some environment variables in a Travis CI project. I followed the documentation, which says to use the Travis Ruby Gem to encrypt the data.
When I try to encrypt the data, it tells me I need to login first.
When I try to login, I'm prompted for username and password for GitHub:
Then I try to use the
--github-token
parameter, but that requires me to specify my token on the command line, which is a security risk.How do I login to Travis securely from the command line?
Cheers,
Trevor Sullivan
Docker Captain
Microsoft MVP: Cloud & Data Center Management
https://trevorsullivan.net
https://twitter.com/pcgeek86
The text was updated successfully, but these errors were encountered: