Hi Hans,
Hi Ralf,
Thanks for listening in.
I changed my apache config settings in such a way that all settings
are now the same as in your repo file, except that my install is in
/var/www/html/egroupware.
I still get the error (after setting debug=3 in
./phpgwapi/inc/class.groupdav.inc.php) in my apache error.log :
[Fri May 13 22:11:46.892571 2016] [:error] [pid 16929] [client
92.69.208.67:27398] groupdav: $_SERVER=Array([HTTPS] =>
on[SSL_TLS_SNI] => www.hanslammerts.nl[CONTENT_LENGTH] => 0[HTTP_HOST]
=> www.hanslammerts.nl[HTTP_CONNECTION] => Keep-Alive[HTTP_USER_AGENT]
=> CalDAV-Sync/0.4.27 (samsung; kltexx; Android 6.0.1; nl_NL;
org.dmfs.caldav.lib/732; like iOS/5.0.1 (9A405) dataaccessd/1.0)[PATH]
=>
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin[SERVER_SIGNATURE]
=> Apache/2.4.10 (Debian) Server at www.hanslammerts.nl Port
443[SERVER_SOFTWARE] => Apache/2.4.10 (Debian)[SERVER_NAME]
=> www.hanslammerts.nl[SERVER_ADDR] => 192.168.0.30[SERVER_PORT] =>
443[REMOTE_ADDR] => 92.69.208.67[DOCUMENT_ROOT] =>
/var/www/html[REQUEST_SCHEME] => https[CONTEXT_PREFIX] =>
[CONTEXT_DOCUMENT_ROOT] => /var/www/html[SERVER_ADMIN] =>
webmaster@localhost[SCRIPT_FILENAME] =>
/var/www/html/egroupware/groupdav.php[REMOTE_PORT] =>
27398[GATEWAY_INTERFACE] => CGI/1.1[SERVER_PROTOCOL] =>
HTTP/1.1[REQUEST_METHOD] => OPTIONS[QUERY_STRING] => [REQUEST_URI] =>
/egroupware/groupdav.php/hans/calendar/[SCRIPT_NAME] =>
/egroupware/groupdav.php[PATH_INFO] =>
/hans/calendar/[PATH_TRANSLATED] =>
/var/www/html/hans/calendar/[PHP_SELF] =>
/egroupware/groupdav.php/hans/calendar/[PHP_AUTH_USER] =>
hans[PHP_AUTH_PW] => ********[REQUEST_TIME_FLOAT] =>
1463170306.79[REQUEST_TIME] => 1463170306)
[Fri May 13 22:11:46.893981 2016] [:error] [pid 16929] [client
92.69.208.67:27398] groupdav::__construct()
HTTP_USER_AGENT=‘CalDAV-Sync/0.4.27 (samsung; kltexx; Android 6.0.1;
nl_NL; org.dmfs.caldav.lib/732; like iOS/5.0.1 (9A405)
dataaccessd/1.0)’ --> ‘dataaccess’ --> client_requires_href_as_url=,
crrnd(client refuses redundand namespace declarations)=
This is some diagnostic message you enabled, it is NOT an error.
On a quick glance, everything here looks ok.
To really diagnose CalDAV/CardDAV problems you need to enable logging in
your user preferences: CalDAV/CardDAV Server >> Logging and debugging >>
Enable logging: Requests and full responses to files directory
Then try connecting with our phone.
Saying all the above, dmfs with Apache on Debian 8 is fully supported by
EGroupware.
How do you installed EGroupware? In our default way via apt(itude) from
our package repostitory?
Ralf
I know the text client_requires_href_as_url=, crrnd(client refuses
redundand namespace declarations)= comes from the egw sources, but can
you tell me if this problem I’m having is related to :
- egw ?
- Caldav-Sync ?
- Samsung S5 with Android 6.0.1 ?
- PHP version (5.6.20-0+deb8u1) ?
- Apache version (Apache/2.4.10 (Debian)) ?
- Anything else ?
I’m not entirely sure that the above error reflects the real problem.
Can you give me a hint on how to debug this problem further, please ?
Kind regards,
Hans
Hi Hans,
Hi Wolfgang,
Thank you for your answer.
There is one thing you can do to help me.
If you are using Apache, can you send me the relevant section of your
config, please ?
Apache config is in our repo and therefore in every install:
https://github.com/EGroupware/egroupware/blob/master/doc/rpm-build/apache.conf
Nginx config is a bit different:
+server {
- listen 80;
- #listen 443 ssl spdy;
-
cert.pem contains in that order: private key, certificate, optional CA
- #ssl_certificate cert.pem;
- #ssl_certificate_key cert.pem;
- server_name localhost;
- root /var/www/html;
-
- index index.php index.html index.htm;
-
- location ^~ /egroupware {
-
alias /usr/share/egroupware/;
-
try_files $uri $uri/ =404;
-
location ~ ^/egroupware(/(?U).+\.php) {
-
alias /usr/share/egroupware;
-
fastcgi_pass 127.0.0.1:9000;
-
include fastcgi_params;
-
fastcgi_param SCRIPT_FILENAME /usr/share/egroupware$1;
-
fastcgi_param DOCUMENT_ROOT /var/www/html;
-
}
-
location ~ (?i)\.(ico|jpe?g|gif|png|svg|xet|xml|js|css|html|map|swf)$ {
-
access_log off;
-
expires 10d;
-
add_header Pragma public;
-
add_header Cache-Control "public";
-
location ~ ^/egroupware(/.*)$ {
-
alias /usr/share/egroupware/;
-
try_files $1 =404;
-
}
-
}
- }
-
php in docroot
- location ~ .php {
-
fastcgi_pass 127.0.0.1:9000;
-
include fastcgi_params;
- }
-
ActiveSync, CalDAV & CardDAV
- location /Microsoft-Server-ActiveSync {
-
fastcgi_pass 127.0.0.1:9000;
-
include fastcgi_params;
-
fastcgi_param SCRIPT_FILENAME /usr/share/egroupware/activesync/index.php;
- }
- location ~ ^/.well-known/(caldav|carddav)$ {
-
return 301 $scheme://$host/egroupware/groupdav.php/;
- }
- location ~ ^(/principals/users/.*)$ {
-
return 301 $scheme://$host/egroupware/groupdav.php$1;
- }
-
Nginx does NOT use index for OPTIONS requests breakng WebDAV for Windows,
-
which sends OPTIONS / and stalls on Nginx 405 response!
-
This also redirects all requests to root to EGroupware.
- location = / {
-
return 301 $scheme://$host/egroupware/index.php;
- }
+}
Ralf
And if you’re using nginx, please send me the section for egroupware
(sync). I think I will
be able to compare what I have with what you have. I’m hoping the
problem is in the webserver configuration.
Regards,
Hans
From: realwuffi [wolfgang@pausch.org ]
To: egroupware-users@lists.sourceforge.net Date: Thu, 12 May 2016
00:36:06 -0700 (MST)
Hi,
I’m on the latest version of EGroupware and Caldav-Sync and don’t experience
any problems at the moment.
(eGroupware-14.3.20160428 and CalDav Sync 0.4.27)
Sorry I could not help you any more.
Wolfgang
–
Ralf Becker
Director Software Development
Stylite AG
Isaac-Fulda-Allee 9 | Tel. +49 6131 32702-0
D-55124 Mainz | Fax. +49 6131 32702-70
Email: rb@stylite.de
www.stylite.de | www.egroupware.org
Managing Directors: Andre Keller | Ralf Becker | Gudrun Mueller
Chairman of the supervisory board: Prof. Dr. Birger Leon Kropshofer
VAT DE214280951 | Registered HRB 46224 Mainz Germany