As part of our application monitoring, we have scheduled jobs that run WWW::Mechanize scripts to check our web apps. They run fairly frequently, some every 10 minutes.

This past Sunday, one of our monitoring scripts sent email with a "500 SSL read timeout" error twice, a few hours apart. I tracked it down in the code and it appears WWW::Mechanize uses LWP which uses Crypt::SSLeay for https. Crypt::SSLeay has a module called Net::SSL and this is where the error came from. It appears to be a timeout on the read, and the node 500 SSL read timeout supports that.

Question: Can anyone speculate on what might cause this error? I just want to have an idea where to look if it crops up again. It has happened so infrequently (this is the first time I've seen it in several years), I'm hesitant to chalk it up as general internet slowness.

Some thoughts I had:

We have a typical Apache/mod_perl configuration with a front proxy server and a back app server. SSL takes place on the front. We have Sun boxes with dedicated crypto-cards, if that makes a difference.

Thanks.


In reply to Net::SSL SSL read timeout by cbrandtbuffalo

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.