LTD-Beget / LTD-Beget/syncookied

Travis fails to upload binary

Open
#44 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
324
Forks
42
PR merge metrics
No merged PRs in 30d

Description

```
/home/travis/.rvm/gems/ruby-2.2.5/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)
from /home/travis/.rvm/gems/ruby-2.2.5/gems/faraday-0.9.2/lib/faraday/response.rb:9:in `block in call'
from /home/travis/.rvm/gems/ruby-2.2.5/gems/faraday-0.9.2/lib/faraday/response.rb:57:in `on_complete'
from /home/travis/.rvm/gems/ruby-2.2.5/gems/faraday-0.9.2/lib/faraday/response.rb:8:in `call'
from /home/travis/.rvm/gems/ruby-2.2.5/gems/octokit-4.3.0/lib/octokit/middleware/follow_redirects.rb:73:in `perform_with_redirection'
from /home/travis/.rvm/gems/ruby-2.2.5/gems/octokit-4.3.0/lib/octokit/middleware/follow_redirects.rb:61:in `call'
from /home/travis/.rvm/gems/ruby-2.2.5/gems/faraday-0.9.2/lib/faraday/rack_builder.rb:139:in `build_response'
from /home/travis/.rvm/gems/ruby-2.2.5/gems/faraday-0.9.2/lib/faraday/connection.rb:377:in `run_request'
from /home/travis/.rvm/gems/ruby-2.2.5/gems/faraday-0.9.2/lib/faraday/connection.rb:140:in `get'
from /home/travis/.rvm/gems/ruby-2.2.5/gems/sawyer-0.7.0/lib/sawyer/agent.rb:94:in `call'
from /home/travis/.rvm/gems/ruby-2.2.5/gems/octokit-4.3.0/lib/octokit/connection.rb:154:in `request'
from /home/travis/.rvm/gems/ruby-2.2.5/gems/octokit-4.3.0/lib/octokit/connection.rb:19:in `get'
from /home/travis/.rvm/gems/ruby-2.2.5/gems/octokit-4.3.0/lib/octokit/client/users.rb:34:in `user'
from /home/travis/.rvm/gems/ruby-2.2.5/gems/dpl-1.8.22/lib/dpl/provider/releases.rb:43:in `user'
from /home/travis/.rvm/gems/ruby-2.2.5/gems/dpl-1.8.22/lib/dpl/provider/releases.rb:68:in `setup_auth'
from /home/travis/.rvm/gems/ruby-2.2.5/gems/dpl-1.8.22/lib/dpl/provider/releases.rb:72:in `check_auth'
from /home/travis/.rvm/gems/ruby-2.2.5/gems/dpl-1.8.22/lib/dpl/provider.rb:133:in `block in deploy'
from /home/travis/.rvm/gems/ruby-2.2.5/gems/dpl-1.8.22/lib/dpl/cli.rb:41:in `fold'
from /home/travis/.rvm/gems/ruby-2.2.5/gems/dpl-1.8.22/lib/dpl/provider.rb:132:in `deploy'
from /home/travis/.rvm/gems/ruby-2.2.5/gems/dpl-1.8.22/lib/dpl/cli.rb:32:in `run'
from /home/travis/.rvm/gems/ruby-2.2.5/gems/dpl-1.8.22/lib/dpl/cli.rb:7:in `run'
from /home/travis/.rvm/gems/ruby-2.2.5/gems/dpl-1.8.22/bin/dpl:5:in `'
from /home/travis/.rvm/gems/ruby-2.2.5/bin/dpl:23:in `load'
from /home/travis/.rvm/gems/ruby-2.2.5/bin/dpl:23:in `'
failed to deploy
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the Travis deployment configuration and the dpl releases provider shown in the trace. Check how GitHub credentials are supplied for GET /user and the binary upload, then rerun the Travis build. Done means the deployment completes without the 401 error and uploads the binary.

Written by the indexing model from the issue text.

Assessment

Tech stack
github, ruby
Domain
ci-cd, release
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.