Your problem is 3.) b.) => you use cross-domain setup and your server requires authorization for OPTIONS /preflight/ request (sent by your browser; not the client itself). This is a bug in your server (or server misconfiguration).
This problem is NOT "fixable" in the client ... read the whole section 3.)
JM
On Oct 10, 2013, at 1:43 AM, Vojtěch Aschenbrenner v@asch.cz wrote:
Thanks for reply, but that didn't help. Now I switched to globalAccountSettings and I see in debugging console errors with authorization:
... [01:38:52.900] "Info: [account: 'http://name@dav.myserver.com/cal.php/principals/'] crossDomain set to: 'true'" [01:38:53.345] OPTIONS http://www.inf-it.com/versioncheck/CalDavZAP/?v=0.9.1.2&_=1381361932621 [HTTP/1.1 200 OK 87ms] [01:38:53.346] OPTIONS http://dav.myserver.com/cal.php/principals/ [HTTP/1.1 401 Unauthorized 20ms] [01:38:53.266] "Error: [netFindResource: 'http://name@dav.myserver.com'] code: '404'" [01:38:53.427] GET http://www.inf-it.com/versioncheck/CalDavZAP/?v=0.9.1.2&_=1381361932621 [HTTP/1.1 200 OK 45ms]
Any idea?
Excerpts from Ján Máté's message of 2013-10-10 01:09:15 +0200:
Hi,
your second URL looks OK (if used in globalNetworkCheckSettings), check http://www.inf-it.com/fixes/readme.txt (from the upcoming release) for detailed instructions and common problems + solutions.
JM
On Oct 10, 2013, at 12:15 AM, Vojtěch Aschenbrenner v@asch.cz wrote:
Hello,
I'm using Baikal as a caldav server successfully with thunderbird/lightning where the calendar address is set to
http://my.server.com/cal.php/calendars/myname/default
My problem is when I want to start using caldavzap. I cannot figure out, how to set values in config.js - when I try to login the login screen appears again. Can somebody point me, how I can debug login access with caldavzap? Maybe some logging in apache?
I already tried http://my.server.com/cal.php/principals/ as a href in config.js with no success.
Thanks in advance