[lnkForumImage]
TotalShareware - Download Free Software

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


 

Forums >

comp.lang.ruby

ssl bad write retry

Chris Morris

9/22/2003 7:56:00 PM

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?

--

Chris
http://clabs....



3 Answers

GOTOU Yuuzou

9/23/2003 1:41:00 PM

0

Chris Morris

9/23/2003 1:52:00 PM

0

GOTOU Yuuzou wrote:

>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.
>
I may be able to get you something in a day or two, but I''m swamped with
other tasks unfortunately.

I''m running on Windows with precompiled ssl....dlls I got from
somewhere. Could this be the problem, a bad .dll?

--

Chris
http://clabs....



GOTOU Yuuzou

9/23/2003 2:49:00 PM

0