[kronolith] Adding CalDAV calendar failed

Jan Schneider jan at horde.org
Sun May 15 10:41:14 UTC 2011


Zitat von Robert Markula <robert at markula.org>:

> Am 13.05.2011 18:17, schrieb Robert Markula:
>> 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.
>
> Okay, this seems to be a problem with the AJAX-based interface. When
> using the traditional interface, I can enter the homepage, username and
> password of the CalDAV resource and everything works as expected.
>
> However, when using the AJAX interface, I get asked for the URL of the
> homepage and the desired calendar color, but when clicking on "next",
> the connection fails with the above error messages. I don't even get a
> chance to enter the username and password.

Can you use Firebug or similar to trace the Ajax traffic between the  
interface and the Horde server?

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/



More information about the kronolith mailing list