From: GOTOU Yuuzou Date: 2003-09-23T22:40:52+09:00 Subject: Re: ssl bad write retry In message <3F6F53AE.8090109@clabs.org>, `Chris Morris ' wrote: > I've got a Ruby script that uploads a file to another Ruby cgi script. > It works fine on a non-ssl site, but when I use the SSL site with > net/https, I get the following error: > > c:/ruby/lib/ruby/1.8/openssl/buffering.rb:139:in `syswrite': SSL_write:: > bad wri > te retry (OpenSSL::SSL::SSLError) > from c:/ruby/lib/ruby/1.8/openssl/buffering.rb:139:in `do_write' > from c:/ruby/lib/ruby/1.8/openssl/buffering.rb:181:in `flush' > from c:/ruby/lib/ruby/1.8/openssl/buffering.rb:186:in `close' > from c:/ruby/lib/ruby/1.8/net/protocol.rb:92:in `close' > from c:/ruby/lib/ruby/1.8/net/protocols.rb:49:in `close' > from c:/ruby/lib/ruby/1.8/net/http.rb:436:in `finish' > from c:/ruby/lib/ruby/1.8/net/http.rb:412:in `start' > from c:/ruby/lib/ruby/1.8/net/http.rb:810:in `request' > > Any clues on where I should look next? I couldn't reproduce this error by my short script. Can I have the script which makes same error on your environment? And please send me a message with OpenSSL::debug=true. -- gotoyuzo