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

Seeing tons of Timeout Errors when uploading #43

Open
benhutton opened this issue Aug 22, 2012 · 5 comments
Open

Seeing tons of Timeout Errors when uploading #43

benhutton opened this issue Aug 22, 2012 · 5 comments

Comments

@benhutton
Copy link

Hi,
I'm in the middle of a project using this gem to upload about a terabyte of video to Vimeo. We've been seeing a lot of timeout errors, which often result in the upload finishing, but we can't get the result object so we can't attach any metadata. Occasionally, the video upload cuts short and the video is hung processing on vimeo.

Anyways, I can't tell if its a problem on vimeo's end, a problem with our connection, or something that can be tweaked on the ruby side of things. We've also seen errors uploading to vimeo using their website.

Long videos (30-90 minutes) tend to error out most of the time. Short videos (2-15 minutes) tend to error out only a third of the time.

Here is a backtrace: https://gist.github.com/e7cc6092c49615f9bfcf

Any help or guidance would be greatly appreciated!

@benhutton
Copy link
Author

any ideas?

@nicolasblanco
Copy link
Contributor

Having Timeout errors too when uploading videos that are > 100mb :(

@pkhrulev
Copy link

pkhrulev commented Jun 5, 2013

I have the same problem. There's no solution?

@mtmcfarl
Copy link

mtmcfarl commented Aug 9, 2014

I just tried uploading a 13MB video and saw a broken pipe error.

/Users/mmcfarling/.rvm/rubies/ruby-head/lib/ruby/2.2.0/net/http/generic_request.rb:202:in `write': Broken pipe (Errno::EPIPE)
from /Users/mmcfarling/.rvm/rubies/ruby-head/lib/ruby/2.2.0/net/http/generic_request.rb:202:in `copy_stream'
from /Users/mmcfarling/.rvm/rubies/ruby-head/lib/ruby/2.2.0/net/http/generic_request.rb:202:in `send_request_with_body_stream'
from /Users/mmcfarling/.rvm/rubies/ruby-head/lib/ruby/2.2.0/net/http/generic_request.rb:132:in `exec'
from /Users/mmcfarling/.rvm/rubies/ruby-head/lib/ruby/2.2.0/net/http.rb:1406:in `block in transport_request'
from /Users/mmcfarling/.rvm/rubies/ruby-head/lib/ruby/2.2.0/net/http.rb:1405:in `catch'
from /Users/mmcfarling/.rvm/rubies/ruby-head/lib/ruby/2.2.0/net/http.rb:1405:in `transport_request'
from /Users/mmcfarling/.rvm/rubies/ruby-head/lib/ruby/2.2.0/net/http.rb:1378:in `request'
from /Users/mmcfarling/.rvm/rubies/ruby-head/lib/ruby/2.2.0/net/http.rb:1371:in `block in request'
from /Users/mmcfarling/.rvm/rubies/ruby-head/lib/ruby/2.2.0/net/http.rb:853:in `start'
from /Users/mmcfarling/.rvm/rubies/ruby-head/lib/ruby/2.2.0/net/http.rb:1369:in `request'
from /Users/mmcfarling/.rvm/gems/ruby-head/gems/oauth-0.4.7/lib/oauth/consumer.rb:161:in `request'
from /Users/mmcfarling/.rvm/gems/ruby-head/gems/vimeo-1.5.4/lib/vimeo/advanced/simple_upload/chunk.rb:23:in `upload'
from /Users/mmcfarling/.rvm/gems/ruby-head/gems/vimeo-1.5.4/lib/vimeo/advanced/simple_upload/task.rb:73:in `upload'
from /Users/mmcfarling/.rvm/gems/ruby-head/gems/vimeo-1.5.4/lib/vimeo/advanced/simple_upload/task.rb:22:in `execute'
from /Users/mmcfarling/.rvm/gems/ruby-head/gems/vimeo-1.5.4/lib/vimeo/advanced/simple_upload.rb:32:in `upload_io'
from /Users/mmcfarling/.rvm/gems/ruby-head/gems/vimeo-1.5.4/lib/vimeo/advanced/simple_upload.rb:45:in `upload_file'
from /Users/mmcfarling/.rvm/gems/ruby-head/gems/vimeo-1.5.4/lib/vimeo/advanced/simple_upload.rb:18:in `upload'
from vimeo.rb:12:in `<main>'

@Definence
Copy link

the same issue

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

5 participants