[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

aws::s3 intermittent failure with -> SSL_write:: bad write retry

kristopher.rasmussen

7/7/2007 3:11:00 AM

I am using aws::s3 to put files to amazon via ssl. On our production
server we are getting an error after uploading a number of files.
After the error occurs all subsequent requests to s3 fail with the
same error until the mongrel processes are restarted.

We recently had an issue with our server clock not being updated for
the new DST, not sure if that is related.

Has anyone seen this before?

Here is most of the stack trace:

OpenSSL::SSL::SSLError (SSL_write:: bad write retry):
/usr/local/lib/ruby/1.8/openssl/buffering.rb:178:in `syswrite'
/usr/local/lib/ruby/1.8/openssl/buffering.rb:178:in `do_write'
/usr/local/lib/ruby/1.8/openssl/buffering.rb:192:in `write'
/usr/local/lib/ruby/1.8/net/protocol.rb:175:in `write0'
/usr/local/lib/ruby/1.8/net/protocol.rb:151:in `write'
/usr/local/lib/ruby/1.8/net/protocol.rb:166:in `writing'
/usr/local/lib/ruby/1.8/net/protocol.rb:150:in `write'
/usr/local/lib/ruby/1.8/net/http.rb:1571:in `write_header'
/usr/local/lib/ruby/1.8/net/http.rb:1536:in
`send_request_with_body'
/usr/local/lib/ruby/1.8/net/http.rb:1522:in `exec'
/usr/local/lib/ruby/1.8/net/http.rb:1045:in `request'
/usr/local/lib/ruby/gems/1.8/gems/aws-s3-0.3.0/lib/aws/s3/
connection.rb:41:in `request'
/usr/local/lib/ruby/gems/1.8/gems/aws-s3-0.3.0/lib/aws/s3/
connection.rb:46:in `call'
/usr/local/lib/ruby/gems/1.8/gems/aws-s3-0.3.0/lib/aws/s3/
connection.rb:46:in `request'
/usr/local/lib/ruby/gems/1.8/gems/aws-s3-0.3.0/lib/aws/s3/base.rb:
69:in `request'
/usr/local/lib/ruby/gems/1.8/gems/aws-s3-0.3.0/lib/aws/s3/base.rb:
84:in `put'
/usr/local/lib/ruby/gems/1.8/gems/aws-s3-0.3.0/lib/aws/s3/
object.rb:239:in `store'
/vendor/plugins/attachment_fu/lib/technoweenie/attachment_fu/
backends/s3_backend.rb:294:in `save_to_storage'
/vendor/plugins/attachment_fu/lib/technoweenie/attachment_fu.rb:
389:in `after_process_attachment'
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/
active_record/callbacks.rb:333:in `send'
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/
active_record/callbacks.rb:333:in `callback'
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/
active_record/callbacks.rb:330:in `each'
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/
active_record/callbacks.rb:330:in `callback'
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/
active_record/callbacks.rb:243:in `create_or_update'
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/
active_record/base.rb:1545:in `save_without_validation'
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/
active_record/validations.rb:752:in `save_without_transactions'
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/
active_record/transactions.rb:129:in `save'
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/
active_record/connection_adapters/abstract/database_statements.rb:
59:in `transaction'
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/
active_record/transactions.rb:95:in `transaction'
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/
active_record/transactions.rb:121:in `transaction'
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/
active_record/transactions.rb:129:in `save'

1 Answer

David Hartung

12/7/2010 10:13:00 PM

0

On 12/07/2010 03:23 PM, Walter Harding wrote:
> On Dec 7, 12:54 pm, David Hartung<david@hotmai*l.com> wrote:
>> On 12/07/2010 11:48 AM, 5847 Dead, 990 since 1/20/09 wrote:
>>
>>> Mirror List
>>> Wikileaks is currently mirrored on 748 sites (updated 2010-12-07 08:33
>>> GMT)
>>
>>> http://wikileaks.eu.org/mi...
>>
>>> As some journalist wrote earlier ---
>>
>>> 'Trying to stop Wikileaks is like trying to stop Rock-n-Roll.'
>>
>> Very true, but once we find the traitor who gave Wikileaks the
>> information, we can out him away.
>
> My guess is that Private First Class Mannless is going to rot in
> prison until President Palin is sworn into office in 2013, then about
> thirty seconds later he's going to meet an entirely different sort of
> Stonewall - the one they slap him up against the wall before being
> shot.

The last time I checked, Pvt. Manning has not been convicted. Also, I
have a very hard time believing that a lowly private would have access
to the breadth of information which has been released.