New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Apache + WebDAV & SSL = Timeout!?
NekoShiinachan
Member
So I've setup a Debian Wheezy server with Apache 2 and enabled WebDav. I've configured the vHosts properly and WebDav without HTTPS works well (browser and client).
I made a self signed certificate and configured a SSL vHost for WebDav with SSL. It works only over the browser. WebDav clients fail to connect due to Timeouts over SSL.
Access log only leaves a single line saying:
***.***.***.*** - - [18/Jun/2014:11:07:09 +0200] "-" 408 1108 "-" "-"
(Error 408 = Timeout)
My WebDav client (CarotDav) reports:
Rei.Fs.SimpleWebException: Die zugrunde liegende Verbindung wurde geschlossen: Unerwarteter Fehler beim Senden.. ---> System.IO.IOException: Unerwartetes Dateiende oder 0 Bytes vom Transportstream erhalten. bei System.Net.TlsStream.EndWrite(IAsyncResult asyncResult) bei System.Net.PooledStream.EndWrite(IAsyncResult asyncResult) bei System.Net.ConnectStream.WriteHeadersCallback(IAsyncResult ar) --- Ende der internen Ausnahmestapelüberwachung --- bei Rei.Fs.Webdav.WebdavFs.GetResponse(HttpWebRequest request, Boolean notreqstream)
Got a idea where to start looking? Access and error log tell me nothing to be honest.
This discussion has been closed.
Comments
Anyone? First time I am setting up WebDav w/ SSL.
Check to see if you have the port 433 in the configuration for ssl.conf twice (try commenting it out to test) because sometimes it causes a re-direct which will make it look like it's timing out because Apache won't re-start probably.
cat /etc/apache2/ports.conf
(" are for <>)
Strange enough Apache does not complain but it did complain when I accidently added Listen 443 below Listen 80.
But it works over the browser but not with the client. So this should be right?
EDIT:
So I modified it to be like:
Still the same issue with CarotDav and Windows WebDav.
Stupid little mistakes.
I forgot to add " ServerName mydomainusedinsslcert" to the vHost and the Apache instance that handled the connection got a Sigterm signal and killed itself so the client got a timeout back.