On 2016-11-11 15:28, Alexandre Besnard wrote:

I use HAProxy as a reverse proxy to terminate SSL connections towards
all my VMs. So far so good except with Owncloud and CalDav.

When Owncloud is hidden behind HAProxy, I am not able to configure my
CalDav account under the Calendar app in Mac OS X (it works fine on
iOS or Android). If I bypass HAProxy and terminate the connection
directly on Apache server on my Owncloud VM, I am able to add the
account in the OS X Calendar, hence why I suspect HAProxy being the
problem.

When HAProxy is in front of my Owncloud VM, I can see the following
happening in the Apache access logs:

10.10.10.118 - - [11/Nov/2016:14:12:54 +0000] "PROPFIND
/.well-known/caldav HTTP/1.1" 301 577 "-" "Mac+OS+X/10.11.6 (15G1108)
accountsd/113"
10.10.10.118 - - [11/Nov/2016:14:12:54 +0000] "PROPFIND / HTTP/1.1"
405 996 "-" "Mac+OS+X/10.11.6 (15G1108) accountsd/113"
10.10.10.118 - - [11/Nov/2016:14:12:55 +0000] "PROPFIND /caldav/v2
HTTP/1.1" 405 1002 "-" "Mac+OS+X/10.11.6 (15G1108) accountsd/113"
10.10.10.118 - - [11/Nov/2016:14:12:55 +0000] "PROPFIND
/principals/users/wikus/ HTTP/1.1" 405 1006 "-" "Mac+OS+X/10.11.6
(15G1108) accountsd/113"
10.10.10.118 - - [11/Nov/2016:14:12:55 +0000] "PROPFIND /principals/
HTTP/1.1" 405 1002 "-" "Mac+OS+X/10.11.6 (15G1108) accountsd/113"
10.10.10.118 - - [11/Nov/2016:14:12:55 +0000] "PROPFIND
/dav/principals/ HTTP/1.1" 405 1000 "-" "Mac+OS+X/10.11.6 (15G1108)
accountsd/113

and I am unable to explain it…. Do we need to have a specific conf for
CalDav ? (by the way Cardav has the same issue).

Not the most helpful answer, but I have haproxy running with no special config at all in front of owncloud. I have been using Caldav without problems on osx 10.7-10.12

Can you share your config without any sensitive information? And, what version of haproxy are you using?

Greets,

Sander

Reply via email to