Author |
|
Qmpeltaty
Joined: 06 Feb 2008 Posts: 182 Location: Poland
|
Posted: Wed 10 Sep '08 10:16 Post subject: Apache https connections dies |
|
|
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
|
Posted: Wed 10 Sep '08 10:50 Post subject: |
|
|
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
|
Posted: Wed 10 Sep '08 11:27 Post subject: |
|
|
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
|
Posted: Wed 10 Sep '08 13:28 Post subject: |
|
|
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
|
Posted: Tue 21 Apr '09 9:30 Post subject: |
|
|
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 |
|