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

travis login error from command line gitbash #136

Open
PiyushPranav-ORR opened this issue Apr 25, 2020 · 1 comment
Open

travis login error from command line gitbash #136

PiyushPranav-ORR opened this issue Apr 25, 2020 · 1 comment

Comments

@PiyushPranav-ORR
Copy link

PiyushPranav-ORR commented Apr 25, 2020

    from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/travis-1.8.13/lib/travis/tools/github.rb:212:in `rescue in basic_auth'
    from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/travis-1.8.13/lib/travis/tools/github.rb:208:in `basic_auth'
    from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/travis-1.8.13/lib/travis/tools/github.rb:216:in `login'
    from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/travis-1.8.13/lib/travis/tools/github.rb:81:in `possible_tokens'
    from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/travis-1.8.13/lib/travis/tools/github.rb:50:in `each_token'
    from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/travis-1.8.13/lib/travis/tools/github.rb:37:in `with_token'
    from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/travis-1.8.13/lib/travis/cli/login.rb:31:in `login'
    from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/travis-1.8.13/lib/travis/cli/login.rb:40:in `run'
    from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/travis-1.8.13/lib/travis/cli/command.rb:198:in `execute'
    from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/travis-1.8.13/lib/travis/cli.rb:64:in `run'
    from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/travis-1.8.13/bin/travis:18:in `<top (required)>'
    from C:/Ruby26-x64/bin/travis:23:in `load'
    from C:/Ruby26-x64/bin/travis:23:in `<main>'
@PiyushPranav-ORR PiyushPranav-ORR changed the title travis login from command line travis login error from command line gitbash Apr 25, 2020
@ajfmo
Copy link

ajfmo commented Feb 4, 2021

I'm running this same issue:

Username: ajfmo
Password for ajfmo: *********
Not Found
for a full error report, run travis report

ajfm@DESKTOP-FJTHL36 MINGW64 ~/Desktop/ideaProjects/ICRM-DevOrg (main)
$ travis report
System
Ruby:                     Ruby 3.0.0-p0
Operating System:         Windows
RubyGems:                 RubyGems 3.2.3

CLI
Version:                  1.10.0
Plugins:                  none
Auto-Completion:          yes
Last Version Check:       2021-02-04 14:00:04 -0500

Session
API Endpoint:             https://api.travis-ci.org/
Logged In:                no
Verify SSL:               yes
Enterprise:               no

Endpoints
org:                      https://api.travis-ci.org/ (current)
com:                      https://api.travis-ci.com/ ()

Last Exception
An error occurred running `travis login`:
    RuntimeError: Not Found
        from C:/tools/ruby30/lib/ruby/gems/3.0.0/gems/travis-1.10.0/lib/travis/tools/github.rb:212:in `rescue in basic_auth'
        from C:/tools/ruby30/lib/ruby/gems/3.0.0/gems/travis-1.10.0/lib/travis/tools/github.rb:208:in `basic_auth'
        from C:/tools/ruby30/lib/ruby/gems/3.0.0/gems/travis-1.10.0/lib/travis/tools/github.rb:216:in `login'
        from C:/tools/ruby30/lib/ruby/gems/3.0.0/gems/travis-1.10.0/lib/travis/tools/github.rb:81:in `possible_tokens'
        from C:/tools/ruby30/lib/ruby/gems/3.0.0/gems/travis-1.10.0/lib/travis/tools/github.rb:50:in `each_token'
        from C:/tools/ruby30/lib/ruby/gems/3.0.0/gems/travis-1.10.0/lib/travis/tools/github.rb:37:in `with_token'
        from C:/tools/ruby30/lib/ruby/gems/3.0.0/gems/travis-1.10.0/lib/travis/cli/login.rb:31:in `login'
        from C:/tools/ruby30/lib/ruby/gems/3.0.0/gems/travis-1.10.0/lib/travis/cli/login.rb:50:in `run'
        from C:/tools/ruby30/lib/ruby/gems/3.0.0/gems/travis-1.10.0/lib/travis/cli/command.rb:200:in `execute'
        from C:/tools/ruby30/lib/ruby/gems/3.0.0/gems/travis-1.10.0/lib/travis/cli.rb:64:in `run'
        from C:/tools/ruby30/lib/ruby/gems/3.0.0/gems/travis-1.10.0/bin/travis:18:in `<top (required)>'
        from C:/tools/ruby30/bin/travis:23:in `load'
        from C:/tools/ruby30/bin/travis:23:in `<main>'

For issues with the command line tool, please visit https://github.com/travis-ci/travis.rb/issues.
For Travis CI in general, go to https://github.com/travis-ci/travis-ci/issues or email [email protected].

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

No branches or pull requests

2 participants