Comments (5)
I believe that you get a sane error message for invalid auth, uploading a file that already exists, and trying to upload a when you're not on a tag. I'll take a look at checking oauth scopes before uploading.
from dpl.
Hmm, I retried it a few minutes ago. I got a sane error message as @Joshua-Anderson say.
But, as I reported on #125, I couldn't get a sane error message on some cases.
I believe it isn't caused by network issues because my other network services are healthy.
Depends on upload file size?
from dpl.
I checked master branch.
It becomes to detect badcredentials.
/Users/monaka/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/octokit-3.1.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 /Users/monaka/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/faraday-0.9.0/lib/faraday/response.rb:9:in `block in call'
from /Users/monaka/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/faraday-0.9.0/lib/faraday/response.rb:57:in `on_complete'
But there was no detailed messages on duplicated uploads.
Deploying application
/Users/monaka/.rbenv/versions/1.9.3-p392/lib/ruby/1.9.1/openssl/buffering.rb:318:in `syswrite': Broken pipe (Errno::EPIPE)
from /Users/monaka/.rbenv/versions/1.9.3-p392/lib/ruby/1.9.1/openssl/buffering.rb:318:in `do_write'
from /Users/monaka/.rbenv/versions/1.9.3-p392/lib/ruby/1.9.1/openssl/buffering.rb:336:in `write'
I guess duplicated updates can be detected by calling HTTP HEAD method.
But it is caused by Faraday or something and/or OS dependent, I close this for now.
This issue is not critical to me.
from dpl.
I opened a PR #126 which should give a more logical warning when you don't have the proper scopes or try to overwrite a uploaded file.
from dpl.
@Joshua-Anderson , thanks for your improvements.
I'll try to execute dpl on Linux (instead of OSX) later. I want to tell you more information.
from dpl.
Related Issues (20)
- Invalid option "app" HOT 1
- failed to deploy to github pages HOT 1
- pypi deploy failing for python 2 with "SyntaxError: invalid syntax" HOT 2
- ArgumentError when deploying using Heroku API HOT 6
- Failed to install dpl dependencies: get-pip.py failed HOT 3
- Unable to override `url` parameter in the `pages` provider when using `deploy_key`. HOT 1
- AWS Lambda Runtime outdated HOT 2
- AWS Lambda Deployment gives "An update is in progress for resource" error HOT 4
- RuntimeError: An attempt to run a request with a Faraday::Connection without adapter has been made HOT 5
- error installing dpl HOT 4
- Not able to upload multiple files on Elastic beanstalk using Travis CI
- dpl reports deploy failure, Heroku says everything is fine HOT 2
- Error installing dpl-pages HOT 2
- deploy to github pages report no deploy_key
- uninitialized constant Rendezvous::StringIO HOT 2
- DPL seems not compatible with ruby 3.2.0 HOT 2
- info cf spaces No org targeted, use 'cf target -o ORG' to target an org.
- CI to scalingo always pass even when build actually failed
- Error installing dpl HOT 1
- uninitialized constant Dpl::Providers::Heroku::JSON (NameError) HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dpl.