Apple Support Communities > Servers and Enterprise Software > Mac OS X Server v10.6 Snow Leopard > Discussions
74197 Views 151 Replies Latest reply: Nov 8, 2013 7:17 AM by StephenM
Currently Being ModeratedOct 13, 2010 1:22 PM (in response to e.f.)I should add that I just tried completely erasing and restoring factory OS to the iPhone 3G (3.1.3) and setting up everything fresh, and after first CalDAV account setup I get an "unable to verify certificate" error, but if I dismiss using Accept button, it still verifies account successfully and sync works. This might be because I only have a self-signed SSL certificate, but thought I'd mention it.Mac Mini 2Ghz Intel Core 2 Duo, 4GB RAM, Mac OS X (10.5.7)
Currently Being ModeratedOct 13, 2010 1:42 PM (in response to e.f.)Also, I have noticed in the iCal server log that when a login error happens on a phone, the username does not show up in the log. For example, 2 of the usernames (used on the same phone) are "tina" and "jane". The password is entered correctly for both. An error is returned only for "jane". In the log, after IP there is a dash "-" and then username and then in brackets the timestamp, "- tina" shows up correctly but another dash is displayed where username jane should be "- -". So perhaps the username is sometimes not being transmitted correctly by the iPhone?
220.127.116.11 - tina [13/Oct/2010:16:27:27 -0400] "PROPFIND /calendars/_uids_/8DD801B2-E109-4CC6-82F1-4D95645FCE50/ HTTP/1.1" 207 19507 "-" "DAVKit/5.0 (765); iCalendar/5.0 (79); iPhone/4.1 8B117" i=8444 t=286.7 or=1
18.104.22.168 - - [13/Oct/2010:16:27:30 -0400] "PROPFIND /calendars/_uids_/267D7B76-AD0D-49C5-96C3-7370EBA415AA/ HTTP/1.1" 401 141 "-" "DAVKit/5.0 (765); iCalendar/5.0 (79); iPhone/4.1 8B117" i=8444 t=9.0 or=1
And one last detail from the error logs - I'm getting this error every 30 seconds or so:
2010-10-13 16:37:10-0400 [-] [mailgateway] 2010-10-13 16:37:10-0400 [Uninitialized] [twistedcaldav.mail.IMAP4DownloadFactory#error] IMAP factory connection failed
What is that about? (Maybe I should start a separate thread for that, but I thought it could be related to this issue.)Mac Mini 2Ghz Intel Core 2 Duo, 4GB RAM, Mac OS X (10.5.7)
Currently Being ModeratedOct 13, 2010 1:49 PM (in response to e.f.)This is embarrassing how much I am replying to my own thread! Just wanted to add I turned off Email Invitations and the mailgateway error went away (I thought that could work without server running Mail but I'll figure that out another time). So forget that for now.Mac Mini 2Ghz Intel Core 2 Duo, 4GB RAM, Mac OS X (10.5.7)
Currently Being ModeratedOct 14, 2010 4:20 PM (in response to e.f.)I too am getting these pop-ups, to the point where on-the-fence iPhone users are beginning to regret their use of either the phone or our server. Our issue is identical to e.f.'s.
I've called apple three times, and they haven't had any idea what is happening, and there isn't any seemingly pertinent info in the iCal logs or the OD logs. This is also the first I've been able to find anyone else with the same issue. Any ideas would be greatly helpful.
In our situation, we have 2 original iPhones, 4 3GSs, and 3 iPhone 4s, all with various iOSs. All phones are experiencing the pop-ups. We all share a common calendar, set up as a dummy user, then we have individual calendars, and a couple of wiki calendars that are shared between some users. In other words, our deployment is nearly identical to the OP's.iphone, Mac OS X (10.6.4)
Currently Being ModeratedOct 16, 2010 1:56 PM (in response to e.f.)that mail gateway entry is not related to your problem. Apart from that I cannot offer any advice apart from saying loosing passwords seems to be a common iphone issue.Mainly xserve's and mac mini's, Mac OS X (10.4.11)
Currently Being ModeratedOct 16, 2010 2:23 PM (in response to Tim Harris)thanks for reply. i'm glad i'm not the only one. i would love to hear what Apple Server support says about this. i can't call them without an expensive service plan. if anyone has any other experiences or solutions, i'd love to hear about it.Mac Mini 2Ghz Intel Core 2 Duo, 4GB RAM, Mac OS X (10.5.7)
Currently Being ModeratedOct 16, 2010 4:11 PM (in response to e.f.)Exactly the same issues!
I'm looking for a solution, my users don't want to use their calendar on my server because of that f* password problem!
I thought it was because I have an unsigned certificate, any idea?
Currently Being ModeratedOct 16, 2010 4:28 PM (in response to Xalio)what's the best way to get a signed certificate to test?Mac Mini 2Ghz Intel Core 2 Duo, 4GB RAM, Mac OS X (10.5.7)
Currently Being ModeratedOct 16, 2010 4:32 PM (in response to e.f.)Verisign, i think it's free for 15 or 30 days trial...
Currently Being ModeratedOct 16, 2010 4:48 PM (in response to Tim Harris)Tim Harris- the iPhone forgetting passwords must be different. The message will pop up seemingly when the phone is first starting to connect to the CalDAV calendar. There are two options: enter your password and hit ok or just hit cancel. They both produce the same result of your iPhone connecting with the CalDAV service. It is like it hits a snag when first trying to connect, often when the phone wakes from sleep, but occasionally when in the middle of use. By the way, this seems to happen under all connectivity profiles, 3G or wifi.
e.f.- Our server had a valid signed certificate and we have connected via SSL and non SSL. I don't believe that the phone has Kerberos capabilities so I believe it connects only via digest. Although I don't yet fully understand Kerberos, so I might be way off.Mac OS X (10.6.4)
Currently Being ModeratedOct 16, 2010 9:49 PM (in response to apullen)That's interesting that caldav login still works if you hit Cancel instead of re-entering password. Can you see in verbose log exactly what happens?
Also I'm curious, can someone explain the "- -" to me in logs? I'm not that familiar with log/unix syntax.Mac Mini 2Ghz Intel Core 2 Duo, 4GB RAM, Mac OS X (10.5.7)
Currently Being ModeratedOct 17, 2010 12:17 AM (in response to e.f.)I'm not sure this is a 'server' issue or 'iphone' issue. The fact that the problem goes away when you down grade, sort of suggests iphone related.
i assume you are in a fixed IP address and your ISP is hosting the DNS records for you?Mainly xserve's and mac mini's, Mac OS X (10.4.11)
Currently Being ModeratedOct 17, 2010 5:08 PM (in response to e.f.)Same issues. I don't use the SSL. From time to time the phone will work great, syncs to Snow Leopard server through the iCAL with CALDEV. My desktops sync nicely, both the Macbook and my Windows Desktop using thunderbird.
It seems when I notice my iphone 4 stops syncing calendar will be preceded by a request for a CALdav password to my Mac Mini Server sitting at home. I can cancel, all seems fine. But I believe that is where the breakdown occurs and the phone simply stops syncing and fetching.
I find that a phone restart gets things going again for me.
I'll have to play with this some more as I haven't realized it was a problem until I just started looking around and found this thread. I'll keep my eyes on this here to see if anybody gets anywhere with it.Macbook, Mac MINI Server, iOS 4
Currently Being ModeratedOct 17, 2010 5:27 PM (in response to deeky1981)How many of you find that syncing works again after the login error, and how many find that phone needs to be restarted (or some other intervention)?Mac Mini 2Ghz Intel Core 2 Duo, 4GB RAM, Mac OS X (10.5.7)