Ask a Question related to Ruby, Design and Development.
-
Chris Morris #1
ssl bad write retry
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
[url]http://clabs.org/blogki[/url]
Chris Morris Guest
-
PDF request service (second retry)
greetings and salutations, o smarter than i. i've been working on a solution to secure the delivery of pdfs to client browsers. we're introducing... -
PDF request service (retry post)
??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????... -
CFMX7 PROBLEM!!! Auto retry upon request timeout
Just upgraded to CFMX7 from CF5. Basically everything is running smoothly expect one serious problem. We have a process which takes more than 3... -
A code snippet: Controlled retry
I sometimes find myself retrying operations when in a networked situation (e.g., maybe server isn't up, just try again). I just wrote this little... -
retry does not work
matz: you rejected my rcr on garden saying that retry already does it. but it does not. maybe there's a trick to it? but i could not read your... -
GOTOU Yuuzou #2
Re: ssl bad write retry
In message <3F6F53AE.8090109@clabs.org>,
`Chris Morris <chrismo@clabs.org>' wrote:I couldn't reproduce this error by my short script. Can I> 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?
have the script which makes same error on your environment?
And please send me a message with OpenSSL::debug=true.
--
gotoyuzo
GOTOU Yuuzou Guest
-
Chris Morris #3
Re: ssl bad write retry
GOTOU Yuuzou wrote:
I may be able to get you something in a day or two, but I'm swamped with>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.
>
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
[url]http://clabs.org/blogki[/url]
Chris Morris Guest
-
GOTOU Yuuzou #4
Re: ssl bad write retry
In message <3F704FE3.9010209@clabs.org>,
`Chris Morris <chrismo@clabs.org>' wrote:I have never used it on Windows..> GOTOU Yuuzou wrote:> I may be able to get you something in a day or two, but I'm swamped with> >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.
> >
> other tasks unfortunately.
>
> I'm running on Windows with precompiled ssl....dlls I got from
> somewhere. Could this be the problem, a bad .dll?
At first, I intend to make environment to test it.
--
gotoyuzo
GOTOU Yuuzou Guest
-
Chris Morris #5
Re: ssl bad write retry
>
I finally got back to looking at this and the problem had nothing to do>
>In message <3F704FE3.9010209@clabs.org>,
> `Chris Morris <chrismo@clabs.org>' wrote:>>> GOTOU Yuuzou wrote:>> I may be able to get you something in a day or two, but I'm swamped with>> >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.
>> >
>> other tasks unfortunately.
>>
>> I'm running on Windows with precompiled ssl....dlls I got from
>> somewhere. Could this be the problem, a bad .dll?
>I have never used it on Windows..
>At first, I intend to make environment to test it.
>
>--
>gotoyuzo
>
with ssl at all. Stupid web site setup error on my part. Sorry for the
noise.
--
Chris
[url]http://clabs.org/blogki[/url]
Chris Morris Guest



Reply With Quote

