Hi,
I’m trying to connect the current “davdroid” client from F-Droid (among other clients) with the caldav ressources of my OX setup. As of now, no client found any ressources.
Apaches access.log of one attempt looks like this:
/var/log/apache2/access.log:91.96.26.49 - - [25/May/2020:17:48:37 +0200] "PROPFIND / HTTP/1.1" 302 4398 "-" "DAVx5/3.0-ose2 (2020/05/02; dav4jvm; okhttp/4.5.0) Android/7.1.1"
/var/log/apache2/access.log:91.96.26.49 - - [25/May/2020:17:48:37 +0200] "PROPFIND /appsuite/ HTTP/1.1" 405 638 "-" "DAVx5/3.0-ose2 (2020/05/02; dav4jvm; okhttp/4.5.0) Android/7.1.1"
/var/log/apache2/access.log:91.96.26.49 - - [25/May/2020:17:48:37 +0200] "PROPFIND /.well-known/carddav HTTP/1.1" 405 609 "-" "DAVx5/3.0-ose2 (2020/05/02; dav4jvm; okhttp/4.5.0) Android/7.1.1"
/var/log/apache2/access.log:91.96.26.49 - - [25/May/2020:17:48:37 +0200] "PROPFIND /.well-known/carddav HTTP/1.1" 405 609 "-" "DAVx5/3.0-ose2 (2020/05/02; dav4jvm; okhttp/4.5.0) Android/7.1.1"
/var/log/apache2/access.log:91.96.26.49 - - [25/May/2020:17:48:37 +0200] "PROPFIND / HTTP/1.1" 302 593 "-" "DAVx5/3.0-ose2 (2020/05/02; dav4jvm; okhttp/4.5.0) Android/7.1.1"
/var/log/apache2/access.log:91.96.26.49 - - [25/May/2020:17:48:37 +0200] "PROPFIND /appsuite/ HTTP/1.1" 405 638 "-" "DAVx5/3.0-ose2 (2020/05/02; dav4jvm; okhttp/4.5.0) Android/7.1.1"
/var/log/apache2/access.log:91.96.26.49 - - [25/May/2020:17:48:38 +0200] "PROPFIND / HTTP/1.1" 302 593 "-" "DAVx5/3.0-ose2 (2020/05/02; dav4jvm; okhttp/4.5.0) Android/7.1.1"
/var/log/apache2/access.log:91.96.26.49 - - [25/May/2020:17:48:38 +0200] "PROPFIND /appsuite/ HTTP/1.1" 405 638 "-" "DAVx5/3.0-ose2 (2020/05/02; dav4jvm; okhttp/4.5.0) Android/7.1.1"
/var/log/apache2/access.log:91.96.26.49 - - [25/May/2020:17:48:38 +0200] "PROPFIND /.well-known/caldav HTTP/1.1" 405 609 "-" "DAVx5/3.0-ose2 (2020/05/02; dav4jvm; okhttp/4.5.0) Android/7.1.1"
/var/log/apache2/access.log:91.96.26.49 - - [25/May/2020:17:48:38 +0200] "PROPFIND /.well-known/caldav HTTP/1.1" 405 609 "-" "DAVx5/3.0-ose2 (2020/05/02; dav4jvm; okhttp/4.5.0) Android/7.1.1"
/var/log/apache2/access.log:91.96.26.49 - - [25/May/2020:17:48:38 +0200] "PROPFIND / HTTP/1.1" 302 593 "-" "DAVx5/3.0-ose2 (2020/05/02; dav4jvm; okhttp/4.5.0) Android/7.1.1"
/var/log/apache2/access.log:91.96.26.49 - - [25/May/2020:17:48:38 +0200] "PROPFIND /appsuite/ HTTP/1.1" 405 638 "-" "DAVx5/3.0-ose2 (2020/05/02; dav4jvm; okhttp/4.5.0) Android/7.1.1"
I then added DAVx5
to the UCR variable ox/caldav/useragent/whitelist
and reloaded apache2, access.log then changes from Error Code 405 to 401:
/var/log/apache2/access.log:91.96.26.49 - - [25/May/2020:17:51:15 +0200] "PROPFIND / HTTP/1.1" 401 4341 "-" "DAVx5/3.0-ose2 (2020/05/02; dav4jvm; okhttp/4.5.0) Android/7.1.1"
/var/log/apache2/access.log:91.96.26.49 - - [25/May/2020:17:51:15 +0200] "PROPFIND /.well-known/carddav HTTP/1.1" 401 536 "-" "DAVx5/3.0-ose2 (2020/05/02; dav4jvm; okhttp/4.5.0) Android/7.1.1"
/var/log/apache2/access.log:91.96.26.49 - - [25/May/2020:17:51:16 +0200] "PROPFIND /.well-known/carddav HTTP/1.1" 401 536 "-" "DAVx5/3.0-ose2 (2020/05/02; dav4jvm; okhttp/4.5.0) Android/7.1.1"
/var/log/apache2/access.log:91.96.26.49 - - [25/May/2020:17:51:16 +0200] "PROPFIND / HTTP/1.1" 401 536 "-" "DAVx5/3.0-ose2 (2020/05/02; dav4jvm; okhttp/4.5.0) Android/7.1.1"
/var/log/apache2/access.log:91.96.26.49 - - [25/May/2020:17:51:16 +0200] "PROPFIND / HTTP/1.1" 401 536 "-" "DAVx5/3.0-ose2 (2020/05/02; dav4jvm; okhttp/4.5.0) Android/7.1.1"
/var/log/apache2/access.log:91.96.26.49 - - [25/May/2020:17:51:17 +0200] "PROPFIND /.well-known/caldav HTTP/1.1" 401 536 "-" "DAVx5/3.0-ose2 (2020/05/02; dav4jvm; okhttp/4.5.0) Android/7.1.1"
/var/log/apache2/access.log:91.96.26.49 - - [25/May/2020:17:51:17 +0200] "PROPFIND /.well-known/caldav HTTP/1.1" 401 536 "-" "DAVx5/3.0-ose2 (2020/05/02; dav4jvm; okhttp/4.5.0) Android/7.1.1"
/var/log/apache2/access.log:91.96.26.49 - - [25/May/2020:17:51:17 +0200] "PROPFIND / HTTP/1.1" 401 536 "-" "DAVx5/3.0-ose2 (2020/05/02; dav4jvm; okhttp/4.5.0) Android/7.1.1"
Any hints how to debug this?
Regards
Tani