geemus/fog — Issue #562: Broken Pipe when uploading to S3
Author: billywatson
Created: 2011-10-14 14:15:08+00:00
State: open

Excon::Errors::SocketError - Broken pipe

Using fog 1.0.0, backup 3.0.18, ruby 1.9.2p290, I get the following error:

```ruby
Excon::Errors::SocketError - Broken pipe
===========================================================================
/usr/local/rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/openssl/buffering.rb:292:in `syswrite_nonblock'
/usr/local/rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/openssl/buffering.rb:292:in `write_nonblock'
/usr/local/rvm/gems/ruby-1.9.2-p290@backup_util/gems/excon-0.7.6/lib/excon/socket.rb:81:in `write'
/usr/local/rvm/gems/ruby-1.9.2-p290@backup_util/gems/excon-0.7.6/lib/excon/connection.rb:172:in `request'
/usr/local/rvm/gems/ruby-1.9.2-p290@backup_util/gems/fog-1.0.0/lib/fog/core/connection.rb:20:in `request'
/usr/local/rvm/gems/ruby-1.9.2-p290@backup_util/gems/fog-1.0.0/lib/fog/aws/storage.rb:366:in `request'
/usr/local/rvm/gems/ruby-1.9.2-p290@backup_util/gems/fog-1.0.0/lib/fog/aws/requests/storage/put_object.rb:43:in `put_object'
/usr/local/rvm/gems/ruby-1.9.2-p290@backup_util/gems/backup-3.0.18/lib/backup/storage/s3.rb:82:in `transfer!'
/usr/local/rvm/gems/ruby-1.9.2-p290@backup_util/gems/backup-3.0.18/lib/backup/storage/s3.rb:55:in `perform!'
/usr/local/rvm/gems/ruby-1.9.2-p290@backup_util/gems/backup-3.0.18/lib/backup/model.rb:222:in `block in perform!'
/usr/local/rvm/gems/ruby-1.9.2-p290@backup_util/gems/backup-3.0.18/lib/backup/model.rb:222:in `each'
/usr/local/rvm/gems/ruby-1.9.2-p290@backup_util/gems/backup-3.0.18/lib/backup/model.rb:222:in `perform!'
/usr/local/rvm/gems/ruby-1.9.2-p290@backup_util/gems/backup-3.0.18/bin/backup:130:in `block in perform'
/usr/local/rvm/gems/ruby-1.9.2-p290@backup_util/gems/backup-3.0.18/bin/backup:109:in `each'
/usr/local/rvm/gems/ruby-1.9.2-p290@backup_util/gems/backup-3.0.18/bin/backup:109:in `perform'
/usr/local/rvm/gems/ruby-1.9.2-p290@backup_util/gems/thor-0.14.6/lib/thor/task.rb:22:in `run'
/usr/local/rvm/gems/ruby-1.9.2-p290@backup_util/gems/thor-0.14.6/lib/thor/invocation.rb:118:in `invoke_task'
/usr/local/rvm/gems/ruby-1.9.2-p290@backup_util/gems/thor-0.14.6/lib/thor.rb:263:in `dispatch'
/usr/local/rvm/gems/ruby-1.9.2-p290@backup_util/gems/thor-0.14.6/lib/thor/base.rb:389:in `start'
/usr/local/rvm/gems/ruby-1.9.2-p290@backup_util/gems/backup-3.0.18/bin/backup:288:in `'
```

See related post https://github.com/meskyanichi/backup/issues/192

@meskyanichi the main developer for Backup was wondering if this was a fog issue and not a backup issue...