Travis login Fails

Hello,

I am using travis gem 1.10.0, ruby 3.0.0p0 on mac and have trouble logging in using correct GitHub credentials. I would appreciate help with this issue.

  1. travis endpoint --com --set-default
  2. travis login --debug --debug-http --explode
    entered necessary correct credentials for Github user

Error:
.gem/gems/faraday-1.3.0/lib/faraday/response/raise_error.rb:22:in `on_complete’: GH request failed (GH::Error)
verb: :post
url: /authorizations
headers: {“User-Agent”=>“GH/0.18.0”, “Accept”=>“application/vnd.github.v3+json”, “Accept-Charset”=>“utf-8”}
error: Faraday::ResourceNotFound: the server responded with status 404
payload: {“scopes”:[“user:email”,“repo”,“read:org”],“note”:“temporary token to identify with the travis command line client against https://api.travis-ci.com/”}
response_status: 404
response_headers: {“date”=>“Wed, 06 Jan 2021 15:23:10 GMT”, “content-type”=>“application/json; charset=utf-8”, “transfer-encoding”=>“chunked”, “server”=>“GitHub.com”, “status”=>“404 Not Found”, “x-github-media-type”=>“github.v3; format=json”, “x-ratelimit-limit”=>“60”, “x-ratelimit-remaining”=>“57”, “x-ratelimit-reset”=>“1609949813”, “x-ratelimit-used”=>“3”, “access-control-expose-headers”=>“ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, Deprecation, Sunset”, “access-control-allow-origin”=>"*", “strict-transport-security”=>“max-age=31536000; includeSubdomains; preload”, “x-frame-options”=>“deny”, “x-content-type-options”=>“nosniff”, “x-xss-protection”=>“1; mode=block”, “referrer-policy”=>“origin-when-cross-origin, strict-origin-when-cross-origin”, “content-security-policy”=>“default-src ‘none’”, “vary”=>“Accept-Encoding, Accept, X-Requested-With”, “x-github-request-id”=>“C491:0195:30537F1D:377D9084:5FF5D5DE”}
response_body: {“message”:“Not Found”,“documentation_url”:“https://docs.github.com/rest”}

1 Like
Imprint