OX: Card- / Cal-DAV test

Hi@all,

I have installed the current OX version on a UCS 5.0.3 and set it up functionally. Everything works so far. The test to connect Android via ActiveSync also worked.

I would like to test the CARD/CAL-DAV interface. As a program I would like to use Thunderbird. I can determine the CALDav URL in the OX-WebUI → Calendar → right click → Properties.

For CardDAV I change in the WebUI to the addresses and take from the browser URL the part “…contacts&folder=con://0/32&id=con://0/32.148” and make from it the URL:

https://gw.domain.club/appsuite/carddav/32/

at least that’s how I found it on the web. Now I try to connect from Thunderbird I get the error message: “Connection not possible”.

How can I check on the server if Cal-/Card-DAV is running/working correctly?

with best
sven

From Thunderbird / AddOn Provider for CardDAV & CalDAV I have configured the values:

grafik

As error I get:

URL:
https://gw.domain.club/caldav/Y2FsOi8vMC8zMQ (PROPFIND)

Request:
<d:propfind xmlns:d="DAV:"><d:prop><d:current-user-principal /></d:prop></d:propfind>

Response:
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html>
<head>
<title>405 Method Not Allowed</title>
</head>
<body>
<h1>Method Not Allowed</h1>
<p>The requested method PROPFIND is not allowed for this URL.</p>
<hr>
<address>Apache/2.4.38 (Univention) Server at gw.domain.club Port 443</address>
</body>
</html>

and:

URL:
https://gw.domain.club/carddav/32/ (PROPFIND)

Request:
<d:propfind xmlns:d="DAV:"><d:prop><d:current-user-principal /></d:prop></d:propfind>

Response:
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html>
<head>
<title>405 Method Not Allowed</title>
</head>
<body>
<h1>Method Not Allowed</h1>
<p>The requested method PROPFIND is not allowed for this URL.</p>
<hr>
<address>Apache/2.4.38 (Univention) Server at gw.domain.club Port 443</address>
</body>
</html>

I found the information on the web that the error: “The requested method PROPFIND is not allowed for this URL” means that it tries to list the directory content. So the URL would not be correct. Yesterday I installed the two packages which were not installed:

  • open-xchange-caldav
  • open-xchange-carddav

Now I have some questions:

  • Which packages does OX need for CardDAV/CalDAV?
  • Do configurations have to be adapted?
  • What is the correct URL?
  • How can I test CarDAV/CalDAV without an additional program, e.g. in the browser?

The problem was that the corresponding agent was not whitelisted.

Now it works

Mastodon