Unable to use iCal on Mac OS 10.14.3 (18D42)
Brought to you by:
mguessan
Dears,
I try to connect the iCal on MacOs an it won't work. I receive the following logs:
2019-06-03 14:48:54,404 DEBUG [main] davmail.DavGateway - Headless mode, do not create GUI
2019-06-03 14:48:54,406 DEBUG [main] davmail.DavGateway - Start DavMail in server mode
2019-06-03 14:48:54,637 INFO [main] davmail - DavMail Gateway 5.2.0-2961 listening on SMTP port 1025 POP port 1110 IMAP port 1143 CALDAV port 1080 LDAP port 1389
2019-06-03 14:49:01,751 DEBUG [davmail.caldav.CaldavServer] davmail - Connection from /0:0:0:0:0:0:0:1 on port 1080
2019-06-03 14:49:01,766 INFO [davmail.caldav.CaldavServer] davmail.connection - CONNECT - 0:0:0:0:0:0:0:1:52653
2019-06-03 14:49:01,771 DEBUG [CaldavConnection-52653] davmail - < PROPFIND /%20 HTTP/1.1
2019-06-03 14:49:01,772 DEBUG [CaldavConnection-52653] davmail - < Host: localhost:1080
2019-06-03 14:49:01,772 DEBUG [CaldavConnection-52653] davmail - < Content-Type: text/xml
2019-06-03 14:49:01,772 DEBUG [CaldavConnection-52653] davmail - < Depth: 0
2019-06-03 14:49:01,773 DEBUG [CaldavConnection-52653] davmail - < Brief: t
2019-06-03 14:49:01,773 DEBUG [CaldavConnection-52653] davmail - < Accept: */*
2019-06-03 14:49:01,773 DEBUG [CaldavConnection-52653] davmail - < Connection: keep-alive
2019-06-03 14:49:01,773 DEBUG [CaldavConnection-52653] davmail - < Prefer: return=minimal
2019-06-03 14:49:01,774 DEBUG [CaldavConnection-52653] davmail - < User-Agent: Mac+OS+X/10.14.3 (18D42) CalendarAgent/416
2019-06-03 14:49:01,775 DEBUG [CaldavConnection-52653] davmail - < Content-Length: 127
2019-06-03 14:49:01,775 DEBUG [CaldavConnection-52653] davmail - < Accept-Language: en-us
2019-06-03 14:49:01,775 DEBUG [CaldavConnection-52653] davmail - < Accept-Encoding: gzip, deflate
2019-06-03 14:49:01,784 DEBUG [CaldavConnection-52653] davmail.caldav.CaldavConnection - < <?xml version="1.0" encoding="UTF-8"?>
<A:propfind xmlns:A="DAV:">
<A:prop>
<A:principal-URL/>
</A:prop>
</A:propfind>
2019-06-03 14:49:01,786 DEBUG [CaldavConnection-52653] davmail - > HTTP/1.1 401 Unauthorized
2019-06-03 14:49:01,787 DEBUG [CaldavConnection-52653] davmail - > WWW-Authenticate: Basic realm="DavMail Gateway"
2019-06-03 14:49:01,787 DEBUG [CaldavConnection-52653] davmail - > Connection: keep-alive
2019-06-03 14:49:01,787 DEBUG [CaldavConnection-52653] davmail - > Content-Length: 0
2019-06-03 14:49:01,787 DEBUG [CaldavConnection-52653] davmail - >
Attached is the mac os configuration dialog. I'm using mac os 10.14.3 (18D42).
Any suggestions on what I'm doing wrong? Username and password should be correct, as it works perfectly with E-Mail!
Thanks!
M
Looks like you have a trailing space in your settings:
PROPFIND /%20 HTTP/1.1
Make sure you remove it
Unfortunately this doesn't change anything :(
Well, after the initial request your client is supposed to provide credentials...
Hi!
The first description shows the Screenshot of the calendar application, which I'm using. The username and password fields are filled. Maybe I should have said something in the text.
So I'm using the standard Mac Os Calendar and the settings from the documentation, as shown in the screenshot. Username and password are filled.
Maybe you can give me an additional pointer?
I wouln't be surprised that iCal blocks basis authentication on cleartext HTTP.
=> we should probably try to enable SSL in DavMail settings
You may also want to try with Thunderbird to confirm your settings and/or try to access calendar in a simple browser.
Hi!
Thanks! I tried it and it now works fine. Should have realised it sooner - thanks for the solution!
For anyone having the same experience, I did the following:
1) Executed "hostname" in the terminal and noted down the hostname returned
2) http://davmail.sourceforge.net/sslsetup.html chapter "Server keystore (Client to DavMail)" and replaced cn=davmailhostname.company.com with my hostname.
3) Updated the settings of davmail and started it
4) Accessed https://localhost:1080 with Safari (!) and forced it to visit the page. Which in turn will trust the self signed certificate on your system.
5) Finally connected with Calendar
Hope this helps someone else having the problem!
Thanks again!
Thanks for your feedback.