hesco has asked for the wisdom of the Perl Monks concerning the following question:

When my application does resolve, the output on the affected panes reads:

500 SSL negotiation failed:
That's coming from the web server, I'd guess. But I'm not sure what to do about them. These are being thrown by a script which uses CGI::TabPane and loads static pages into tabs from urls fed to a function. Feeding those url's directly into a browser, they load fine. Running them through the script (which worked fine on the development server and has even worked fine, intermittently on this deployment server) are now throwing these errors into my /var/log/apache/error.log, which says:

[error] [client 127.0.1.1] Invalid method in request \x80d\x01\x03\x01 [error] [client 127.0.1.1] Invalid method in request \x16\x03 [error] [client 127.0.1.1] Invalid method in request \x80d\x01\x03\x01 [error] [client 127.0.1.1] Invalid method in request \x16\x03 [error] [client 127.0.1.1] Invalid method in request \x80d\x01\x03\x01 [error] [client 127.0.1.1] Invalid method in request \x16\x03 [error] [client 127.0.1.1] Invalid method in request \x80d\x01\x03\x01 [error] [client 127.0.1.1] Invalid method in request \x16\x03 [warn] [client 76.17.99.50] Timeout waiting for output from CGI script + . . . [error] [client 76.17.99.50] Premature end of script headers:
My $pane object is built with lines like this:

my($pane_1_tab_0_7) = $self->_render_url('links_docs','user_guide') +;
and ->_render_url() reads:

sub _render_url { my $self = shift; my $stanza = shift; my $arg = shift; my $url = $self->{'cfg'}->{'_DATA'}->{$stanza}->{$arg}[0]; print STDERR "Now rendering page at: $url.\n"; $self->{'agent'}->get($url); my $html = $self->{'agent'}->content(); return $html; }
Any ideas what this might be about? How they might be resolved? And can anyone tell me more about this IP from my logs: 127.0.1.1? Is that related to using an encrypted front end on the web server? Could that be the one page I load from a non-encrypted source? Any and all ideas are appreciated.


This was still in preview when I discovered that the url it is hitting was mauled by the template on the one form it gets from an unauthenticated source, which incidentally offers neither an encrypted server, nor any content at the requested path.

The wisdom of this post I suppose is that when you work the steps outlined in asking intelligent questions, often times those questions resolve themselves.

-- Hugh

if( $lal && $lol ) { $life++; }

Replies are listed 'Best First'.
Re: What's with: 500 SSL negotiation failed?
by Anonymous Monk on Oct 09, 2008 at 06:19 UTC