1 / 7
Jan 7

CalDav funktioniert bei unserem Setup weder mit ios, noch mit Thunderbird. Auch der Zugriff über die Website egroupware/groupdav.php funktioniert nicht.

Folgende Anleitung habe ich befolgt: Webdav Anleitung.

Die Logs geben folgende Infos:

*** 172.20.0.1 2025-01-06T11:02:29+01:00
GET /egroupware//groupdav.php/calendar HTTP/1.1
Connection: Keep-Alive
X-Forwarded-Server: xxx.de
X-Forwarded-Host: xxx.de
X-Forwarded-For: xxx
X-Forwarded-Proto: https
Priority: u=0, i
Sec-Fetch-User: ?1
Sec-Fetch-Site: none
Sec-Fetch-Mode: navigate
Sec-Fetch-Dest: document
Upgrade-Insecure-Requests: 1
Cookie: xxx
Authorization: Basic ***************
Accept-Encoding: gzip, deflate, br, zstd
Accept-Language: en-US,en;q=0.5
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:133.0) Gecko/20100101 Firefox/133.0
Host: 127.0.0.1:8080
Content-Length: 
Content-Type: 

HTTP/1.1 403 Forbidden: no app rights for 'p'
Date: Mon, 06 Jan 2025 10:02:29 GMT
Server: nginx/1.26.2
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate
Pragma: no-cache
X-Dav-Powered-By: EGroupware 23.1.010 CalDAV/CardDAV/GroupDAV server
X-WebDAV-Status: 403 Forbidden: no app rights for 'p'
### GET /calendar --> "403 Forbidden: no app rights for 'p'" took 0.000 s

Was ist ‘p’ (siehe vorletzte Zeile)?
Wie kann ich weiter vorgehen? Die Fehlermeldungen beim Setup mit ios sind ähnlich.
Danke.

  • created

    Jan 6
  • last reply

    Jan 7
  • 6

    replies

  • 140

    views

  • 3

    users

  • 1

    like

  • 3

    links

Ja, der anfragende Nutzer hat die Rechte.
(Der Name des anfragenden Nutzers ist nicht ‘p’)

Darauf habe ich keinen Einfluss.
In Thunderbird erstelle ich den Kalender mit der Location https://domain.de/egroupware/groupdav.php/calendar

Hier sind die entsprechenden Logs wenn ich übers iPhone einen CalDAV Kalender hinzufügen möchte:

*** 172.20.0.1 2025-01-07T08:36:33+01:00
PROPFIND /egroupware//groupdav.php/calendar/ HTTP/1.1
Connection: Keep-Alive
Content-Length: 181
X-Forwarded-Proto: https
X-Forwarded-Server: xxx
X-Forwarded-Host: xxx
X-Forwarded-For: xxx
Prefer: return=minimal
User-Agent: iOS/18.1.1 (22B91) accountsd/1.0
Depth: 0
Content-Type: text/xml
Accept-Encoding: gzip, deflate, br
Accept-Language: de-DE,de;q=0.9
Authorization: Basic ***************
Brief: t
Accept: */*
Host: 127.0.0.1:8080
Content-Length: 181
Content-Type: text/xml

<?xml version="1.0" encoding="UTF-8"?>
<A:propfind xmlns:A="DAV:">
  <A:prop>
    <A:current-user-principal/>
    <A:principal-URL/>
    <A:resourcetype/>
  </A:prop>
</A:propfind>

HTTP/1.1 403 Forbidden: no app rights for 'p'
Date: Tue, 07 Jan 2025 07:36:33 GMT
Server: nginx/1.26.2
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate
Pragma: no-cache
X-Dav-Powered-By: EGroupware 23.1.010 CalDAV/CardDAV/GroupDAV server
X-WebDAV-Status: 403 Forbidden: no app rights for 'p'
Content-type: text/html;charset=utf-8

<html><head><title>Error 403 Forbidden: no app rights for 'p'</title></head>
<body><h1>403 Forbidden: no app rights for 'p'</h1>
The request could not be handled by this server.
(URI /egroupware//groupdav.php/calendar/)<br>
<br>
</body></html>
### PROPFIND /calendar/ --> "403 Forbidden: no app rights for 'p'" took 0.000 s

hier wird auch ein backslash eingefügt: PROPFIND /egroupware//groupdav.php/calendar/ HTTP/1.1