Authentication Problems
-
this is a short Note to those who encounter Problems with wp-caldav2ics not beeing able to login into their Caldav Server, see the currently 2 open Tickets here in the Support Forum.
so, if you run into this issue, first make sure that:
– the URL is correct, and points to your Calendar
– Username + Password are correct
if all is correct, and you still get messages like ‘Unauthorized’ in your Logfile,
it might be a Problem with the Authentication Method your Server uses.
Currently, wp-caldav2ics uses Basic Authorization, which works fine in most cases, but not all.
To narrow down what might be the real cause, I recommend using curl as Test Tool, which is extremely versatile, see the Manual Page.
And yes, curl is available for all relevant OSes, even for Windows ?? .
Once installed, you can fiddle around with your Setup by e.g. using this command:
curl -S --negotiate https://webmail.all-inkl.com/calendars/mycalendar -u testuser
which means you are trying to access your Calendar with Username ‘testuser’ and Auth Method ‘negotiate’.
You should then be prompted for a Password, and if all is ok, there will be an appropriate Response.
if not, something was wrong: URL, Username, Password or Auth Method …
Then, just try other Combinations.
Once you find a working Parameter set, which indicates the Auth Method ‘Basic’ as the culprit, just open a new Ticket here and post your Findings.
- The topic ‘Authentication Problems’ is closed to new replies.