[kronolith] Adding CalDAV calendar failed
Robert Markula
robert at markula.org
Fri May 13 16:17:28 UTC 2011
Am 12.05.2011 19:48, schrieb Robert Markula:
> When I try to add an "external calendar", I enter as Homepage:
>
> https://caldav.example.com/caldav.php/robert%40example.com/home
>
> which results in an error message:
This is the relevant error message that I could extract from the Horde logs:
<snip>
May 13 18:06:38 vm-srv HORDE: HORDE [kronolith] Failed to retrieve
remote calendar: url =
"https://caldav.example.com/caldav.php/robert@example.com/home", status
= 401 [pid 1415 on line 541 of
"/srv/www/horde/kronolith/lib/Driver/Ical.php"]
May 13 18:06:38 vm-srv HORDE: HORDE [kronolith] Problem reading data
from https://caldav.example.com/caldav.php/robert@example.com/home:
stream_get_contents() expects parameter 1 to be resource, null given
[pid 1415 on line 27 of
"/usr/share/php/Horde/Core/Notification/Handler/Decorator/Hordelog.php"]
</snip>
And the corresponding apache access.log:
<snip>
caldav.example.com:443 192.168.0.42 - - [13/May/2011:18:06:38 +0200]
"GET /caldav.php/robert at example.com/home HTTP/1.0" 401 2110 "-" "-"
</snip>
"401" indicates a permission problem.
But let's move on for now... finally the apache/davical error log in
verbose mode:
<snip>
[Fri May 13 18:12:31 2011] [error] [client 192.168.0.42] DAViCal: ALL:
I18N:Unsupported locale: : >>0<< = >>en<<
[Fri May 13 18:12:31 2011] [error] [client 192.168.0.42] DAViCal: ALL:
I18N:Unsupported locale: : >>1<< = >>en.UTF-8<<
[Fri May 13 18:12:31 2011] [error] [client 192.168.0.42] DAViCal: ALL:
I18N:Bound domain =davical= to location =../locale= using character set
=UTF-8=
[Fri May 13 18:12:31 2011] [error] [client 192.168.0.42] DAViCal: ALL:
caldav:Version (0.9.9) == 9.9
[Fri May 13 18:12:31 2011] [error] [client 192.168.0.42] DAViCal: LOG:
always: Query: DBGQ: SELECT schema_major, schema_minor, schema_patch
FROM awl_db_revision ORDER BY schema_id DESC LIMIT 1;
[Fri May 13 18:12:31 2011] [error] [client 192.168.0.42] DAViCal: LOG:
always: Query: DBGQ: Took: 0.001894 to find 1 rows.
[Fri May 13 18:12:31 2011] [error] [client 192.168.0.42] DAViCal: ALL:
HTTPAuth::Session: User is not authorised
</snip>
Note the last line "User is not authorised".
Horde didn't ask for my username or password. Is there something special
to be aware of?
Cheers,
Robert
More information about the kronolith
mailing list