Comments (3)
I'm had the same problem on a Ubuntu 12.04 box (seems fixed in 14.04) and the following blog post had a solution: http://scie.nti.st/2008/3/14/amazon-s3-and-connection-reset-by-peer/
TLDR:
Put the following in /etc/sysctl.conf
:
# Workaround for TCP Window Scaling bugs in other ppl's equipment:
net.ipv4.tcp_wmem = 4096 16384 512000
net.ipv4.tcp_rmem = 4096 87380 512000
and run sudo sysctl -p
.
from deb-s3.
same issue here. The fix of Lenniboy doesn't help
from deb-s3.
I'm experiencing this issue in my Ubuntu 14.04. Tried the above fix but no joy.
Here's my logs:
The file size is 50mb
I'm experiencing 2 kinds of errors:
Connection reset
/usr/lib/ruby/1.9.1/net/protocol.rb:199:in `write': Connection reset by peer (Errno::ECONNRESET)
from /usr/lib/ruby/1.9.1/net/protocol.rb:199:in `write0'
from /usr/lib/ruby/1.9.1/net/protocol.rb:173:in `block in write'
from /usr/lib/ruby/1.9.1/net/protocol.rb:190:in `writing'
from /usr/lib/ruby/1.9.1/net/protocol.rb:172:in `write'
from /var/lib/gems/1.9.1/gems/aws-s3-0.6.3/lib/aws/s3/extensions.rb:330:in `send_request_with_body_stream'
from /usr/lib/ruby/1.9.1/net/http.rb:1922:in `exec'
from /usr/lib/ruby/1.9.1/net/http.rb:1318:in `block in transport_request'
from /usr/lib/ruby/1.9.1/net/http.rb:1317:in `catch'
from /usr/lib/ruby/1.9.1/net/http.rb:1317:in `transport_request'
from /usr/lib/ruby/1.9.1/net/http.rb:1294:in `request'
from /var/lib/gems/1.9.1/gems/aws-s3-0.6.3/lib/aws/s3/connection.rb:45:in `block in request'
from /usr/lib/ruby/1.9.1/net/http.rb:746:in `start'
from /var/lib/gems/1.9.1/gems/aws-s3-0.6.3/lib/aws/s3/connection.rb:52:in `request'
from /var/lib/gems/1.9.1/gems/aws-s3-0.6.3/lib/aws/s3/base.rb:69:in `request'
from /var/lib/gems/1.9.1/gems/aws-s3-0.6.3/lib/aws/s3/base.rb:88:in `put'
from /var/lib/gems/1.9.1/gems/aws-s3-0.6.3/lib/aws/s3/object.rb:241:in `store'
from /usr/local/bin/lb-backup-db:34:in `<main>'
or it would be a Broken pipe
/usr/lib/ruby/1.9.1/net/protocol.rb:199:in `write': Broken pipe (Errno::EPIPE)
from /usr/lib/ruby/1.9.1/net/protocol.rb:199:in `write0'
from /usr/lib/ruby/1.9.1/net/protocol.rb:173:in `block in write'
from /usr/lib/ruby/1.9.1/net/protocol.rb:190:in `writing'
from /usr/lib/ruby/1.9.1/net/protocol.rb:172:in `write'
from /var/lib/gems/1.9.1/gems/aws-s3-0.6.3/lib/aws/s3/extensions.rb:330:in `send_request_with_body_stream'
from /usr/lib/ruby/1.9.1/net/http.rb:1922:in `exec'
from /usr/lib/ruby/1.9.1/net/http.rb:1318:in `block in transport_request'
from /usr/lib/ruby/1.9.1/net/http.rb:1317:in `catch'
from /usr/lib/ruby/1.9.1/net/http.rb:1317:in `transport_request'
from /usr/lib/ruby/1.9.1/net/http.rb:1294:in `request'
from /var/lib/gems/1.9.1/gems/aws-s3-0.6.3/lib/aws/s3/connection.rb:45:in `block in request'
from /usr/lib/ruby/1.9.1/net/http.rb:746:in `start'
from /var/lib/gems/1.9.1/gems/aws-s3-0.6.3/lib/aws/s3/connection.rb:52:in `request'
from /var/lib/gems/1.9.1/gems/aws-s3-0.6.3/lib/aws/s3/base.rb:69:in `request'
from /var/lib/gems/1.9.1/gems/aws-s3-0.6.3/lib/aws/s3/base.rb:88:in `put'
from /var/lib/gems/1.9.1/gems/aws-s3-0.6.3/lib/aws/s3/object.rb:241:in `store'
from /usr/local/bin/lb-backup-db:34:in `<main>'
Anyone got around this?
from deb-s3.
Related Issues (20)
- 0.9.1 removed the --use-ssl flag
- does not match the server certificate
- How to use gpg2? HOT 1
- gpg: cannot open tty `/dev/tty' HOT 1
- Signing package HOT 1
- weak digest algorithm HOT 1
- --fail-if-exists has no effect HOT 5
- InRelease should be generated by default HOT 4
- Prune orphaned packages from s3
- Method missing `public_url` in #<Seahorse::Client::Response> with --fail-if-exists HOT 1
- error in deb-s3 show: wrong number of arguments
- error in deb-s3 verify HOT 2
- S3-backed configuration configuration file?
- Re-genning `deb-s3` binary
- The authorization header is malformed; the Credential is mal-formed; expecting "<YOUR-AKID>/YYYYMMDD/REGION/SERVICE/aws4_request". HOT 2
- Can't upload packages built with Ubuntu Bionic HOT 3
- create signed repo
- Security: deb-s3 incorporates existing release/manifests without verifying signatures HOT 2
- Maintainers: This is not the repo you're looking for! HOT 3
- Add link to the active fork & transfer gem ownership? HOT 1
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 deb-s3.