logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Apache https connections dies
Author
Qmpeltaty



Joined: 06 Feb 2008
Posts: 182
Location: Poland

PostPosted: Wed 10 Sep '08 10:16    Post subject: Apache https connections dies Reply with quote

Hi
I have a problem with Apache 2.2.9 with OpenSSL 0.9.8h - sometimes without any reason https connections to 443 TCP port are being rejected till apache restart. What can couse this problem ? There is no visable reasons in apache's log ... I'm 100% this is no firewall, network etc. problems - for sure apache problem. Any ideas ?


Last edited by Qmpeltaty on Wed 10 Sep '08 11:28; edited 2 times in total
Back to top
glsmith
Moderator


Joined: 16 Oct 2007
Posts: 2268
Location: Sun Diego, USA

PostPosted: Wed 10 Sep '08 10:50    Post subject: Reply with quote

You mean 0.9.7m? 0.9.8 only goes to "h".

I find this an odd combo as well, how did you go about putting Apache 2.2.8 together with OpenSSL 0.9.7m? Downloading Apache 2.2.8 from apache.org you would have OpenSSL 0.9.8g ... same if you got it from here I think ... this is why I'm stumped by the "m"

If you are indeed using 2.2.8 with 0.9.7m this may be the cause ... I've never tried that combo.

Furthermore, anything in Windows Event Viewer?
Back to top
Qmpeltaty



Joined: 06 Feb 2008
Posts: 182
Location: Poland

PostPosted: Wed 10 Sep '08 11:27    Post subject: Reply with quote

Yes my mistake ... i have installed Apache 2.2.9(Win32) with mod_jk-1.2.25 mod_ssl/2.2.9 OpenSSL/0.9.8.h and PHP/5.26 - php is currently disabled.
I can't see anything related with apache on Event Viewer.
Back to top
Qmpeltaty



Joined: 06 Feb 2008
Posts: 182
Location: Poland

PostPosted: Wed 10 Sep '08 13:28    Post subject: Reply with quote

I had this virtual host in ssl.conf for https connections :

<VirtualHost 192.168.1.30:443>

<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{REQUEST_METHOD} ^TRACE
RewriteRule .* - [F]

DocumentRoot "C:/Program Files (x86)/Apache Software Foundation/Apache2.2/htdocs/ssl"
ServerName mydomain.com:443
ServerAdmin admin@mydomain.com
ErrorLog d:/apache_log/ssl_log/ssl-error.log
TransferLog d:/apache_log/ssl_log/ssl-access.log

and more ....
</VirtualHost>

I've made some changes :

<VirtualHost 192.168.1.30:443> --> <VirtualHost _default_:443>
ServerName mydomain.com:443 --> ServerName mydomain.com

Is it good ?
Back to top
lwg



Joined: 21 Apr 2009
Posts: 1
Location: Stroud, UK

PostPosted: Tue 21 Apr '09 9:30    Post subject: Reply with quote

Did you ever get this solved?

Your config looks fine and I suspect is because, like me, when it works it works!

I have the same problem. I'm experiencing this on several windows servers with a variety of apache versions (I think all have 0.98h ssl though)

Occasionally SSL will just stop responding. Non-ssl is all ok and when I do a restart of http it all comes back.

I haven't found a way to trigger it yet. It doesn't seem load related as it often happens as quiet hours of the morning and there doesn't seem to be any correlation with traffic at other times. In any case, for some of the sites that these servers run, every page is SSL secured. Some have big traffic with no SSL failure for weeks on end.

I've recently setup a box with the latest binaries from here and am hoping that it's just a 0.98h problem that will go away now! Unfortunately, it seems so random I can't be sure that if it works for a week it is solved.

As in your case there is no error anywhere on the system when ssl stops.
Back to top


Reply to topic   Topic: Apache https connections dies View previous topic :: View next topic
Post new topic   Forum Index -> Apache