Sample Header Ad - 728x90

Ask Different (Apple)

Q&A for power users of Apple hardware and software

Latest Questions

0 votes
0 answers
107 views
Accessing google calendar from an iphone using caldav
I would like to access to a google calendar via a CalDAV account. I have been doing this successfully for a number of years, but this week it suddenly stopped working. I assumed at first that either (a) somehow my app password expired, or (b) there was some sort of organization policy change prevent...
I would like to access to a google calendar via a CalDAV account. I have been doing this successfully for a number of years, but this week it suddenly stopped working. I assumed at first that either (a) somehow my app password expired, or (b) there was some sort of organization policy change preventing caldav access, but experimenting with curl shows that this works just fine:
curl -X PROPFIND -u "..." \
  https://www.google.com/calendar/dav/me%40example.com/user 
This returns a successful caldav response:
/calendar/dav/me%40example.com/user
  
   HTTP/1.1 200 OK
   
    Lars KS
And running:
curl -X PROPFIND -u "..." -H Depth:1 \
  https://www.google.com/calendar/dav/me%40example.com/events/ 
Seems to successfully access calendar events; it returns over 45000 lines of responses that look like
/calendar/dav/me%40example.com/events/11223344-6819-427c-9ee0-ccd8642b1a96.ics
 
  HTTP/1.1 200 OK
  
   text/calendar; component=vevent
   "63566811207"
Great! But if I go into the accounts settings on my iphone and add a new caldav account, so that it has: | | | |---|---| |Server| www.google.com| |User Name| me@example.com| |Password| secret_app_password | |Advanced Settings -> Port| 443| |Advanced Settings -> Account URL| https://www.google.com/calendar/dav/me@example.com/events/ | Whenever I click "Done", it spins for a bit then reports:
CalDAV account verification failed
What could be failing here? The URL and credentials match what I'm successfully using with curl.
larsks (169 rep)
May 2, 2025, 01:03 AM • Last activity: May 2, 2025, 05:36 AM
0 votes
0 answers
81 views
Past events on iPhone Calendar missing after removing CalDav account
I had my Google calendar account on all my iPhones throughout the years set up with CalDAV. About a week ago, on my iPhone 15 Pro running iOS 18 I started getting the dreaded "Password Incorrect" error message for the account. I removed the account from my phone, and then re-added it using my standa...
I had my Google calendar account on all my iPhones throughout the years set up with CalDAV. About a week ago, on my iPhone 15 Pro running iOS 18 I started getting the dreaded "Password Incorrect" error message for the account. I removed the account from my phone, and then re-added it using my standard @gmail account login rather than the old CalDAV method. Any current events that I add sync just fine between my phone, computer, and the Google Calendars webpage. However, all my calendar events I had from before are completely missing everywhere. I tried desyncing and resyncing the calendar account, and checking the deleted events section on the Google Calendar webpage, but there was nothing there. Is there any way I can get those events back? I don't understand how they could have vanished into thin air.
JuddJones (1 rep)
Oct 1, 2024, 04:43 AM
58 votes
3 answers
53283 views
OS X Calendar - view shared Google calendars
I've been able to add a Google Calendar (CalDAV) account to OS X Calendar (v6, Mountain Lion 10.8.5) without problem, and all my own calendars show up. Is there a way of seeing calendars others have shared with me (these show up under 'Other Calendars' in the Google Calendar website settings)? (Same...
I've been able to add a Google Calendar (CalDAV) account to OS X Calendar (v6, Mountain Lion 10.8.5) without problem, and all my own calendars show up. Is there a way of seeing calendars others have shared with me (these show up under 'Other Calendars' in the Google Calendar website settings)? (Same situation on my iPhone.)
William Turrell (855 rep)
Oct 26, 2013, 11:47 AM • Last activity: Apr 9, 2024, 07:57 PM
2 votes
2 answers
1273 views
Sharing an iCloud calendar to other people causes a redirect loop (CalDav - HTTP 301)
A friend of mine shared an iCloud calendar obtaining a WebDav URL, similar to this one: ``` webcal://p55-caldav.icloud.com/published/2/verylong-token-token-token ``` For a couple of years, since 2020, it worked perfectly. **Problem**: now, this iCloud URL causes an error "**too many redirects**" in...
A friend of mine shared an iCloud calendar obtaining a WebDav URL, similar to this one:
webcal://p55-caldav.icloud.com/published/2/verylong-token-token-token
For a couple of years, since 2020, it worked perfectly. **Problem**: now, this iCloud URL causes an error "**too many redirects**" in whatever calendar app (e.g. nextCloud, WebDav Sync Adapter, Evolution, Thunderbird, etc.). To further understand the situation I tried with cURL (omissis token):
$ curl --verbose --location http://p55-caldav.icloud.com/published/2/verylong-token-token-token 

HTTP/1.1 301 Moved Permanently
Server: AppleHttpServer/57b15408e9be
Date: Wed, 16 Mar 2022 09:23:06 GMT
Location: https://p55-caldav.icloud.com/published/2/verylong-token-token-token 

...

HTTP/1.1 301 Moved Permanently
Server: AppleHttpServer/57b15408e9be
Date: Wed, 16 Mar 2022 09:23:06 GMT
Location: https://p55-caldav.icloud.com/published/2/verylong-token-token-token 

...

HTTP/1.1 301 Moved Permanently
Server: AppleHttpServer/57b15408e9be
Date: Wed, 16 Mar 2022 09:23:06 GMT
Location: https://p55-caldav.icloud.com/published/2/verylong-token-token-token 

...

HTTP/1.1 301 Moved Permanently
Server: AppleHttpServer/57b15408e9be
Date: Wed, 16 Mar 2022 09:23:07 GMT
Location: https://p55-caldav.icloud.com/published/2/verylong-token-token-token 

...
Now we are inside a very long **redirect loop** and then it quits with the related error:
* Maximum (50) redirects followed
curl: (47) Maximum (50) redirects followed
What's the problem? How to fix this? Has this happened to you? If it helps, this calendar is probably gigantic. But if it was giant it should give a timeout or an error 500 or whatever but not a redirect on that same page, causing even more iCloud overload. Is this a bug? Thank you for your ideas! --- Edited from comments: I tried using https instead of http. Nothing better happened.
Valerio Bozz (149 rep)
Mar 16, 2022, 09:31 AM • Last activity: Sep 29, 2022, 10:04 AM
0 votes
1 answers
209 views
Importing DAViCal calendar into macOS Calendar app
I installed DAViCal (v.1.1.4) on my Ubuntu (16.04 LTS) server under a subdirectory mydomain.com/davical/ and want to import it into my Calendar App (v11.0 (2855.1.2)) on my macOS 12.1, but I am failing: The instructions from [Client Config Page](https://davical.org/clients.php) don't work and from [...
I installed DAViCal (v.1.1.4) on my Ubuntu (16.04 LTS) server under a subdirectory mydomain.com/davical/ and want to import it into my Calendar App (v11.0 (2855.1.2)) on my macOS 12.1, but I am failing: The instructions from [Client Config Page](https://davical.org/clients.php) don't work and from [iCal Config Page](https://davical.org/clients.php?client=iCal) is highly outdated... I managed to import the calendar into Thunderbird (Lightning) and even an Android phone (with Calendar Sync), so I confirmed, that the server works. How do I add a caldav account? What are the configs to use?
zs11 (144 rep)
Feb 24, 2022, 05:47 PM • Last activity: Feb 24, 2022, 06:57 PM
9 votes
4 answers
114493 views
iPhone can't verify CalDAV account
I am using Google Calendar and I would like to sync it with my iPhone. Usually, the best way to do this is via setting up a CalDAV account which I've been successfully doing for a while. However, recently, the syncing has ceased to work. So have I subsequently deleted and re-added the account to my...
I am using Google Calendar and I would like to sync it with my iPhone. Usually, the best way to do this is via setting up a CalDAV account which I've been successfully doing for a while. However, recently, the syncing has ceased to work. So have I subsequently deleted and re-added the account to my iPhone, but I keep on getting an error message, that the CalDAV account cannot be verified. Does anybody have any suggestions what I can do about this? I'm absolutely certain the all the data I enter is correct.
Nickpick (191 rep)
Sep 6, 2015, 10:46 PM • Last activity: Dec 27, 2021, 07:53 PM
-1 votes
2 answers
2269 views
Why Travel Time is not available for all calendars?
I have two calendars set on my iPhone : one with CalDAV and another one with Exchange. When I create an appointment in my CalDAV calendar, the « Travel Time » field is available, and I can select an address in the « Location field » : [![Travel time with CalDA...
I have two calendars set on my iPhone : one with CalDAV and another one with Exchange. When I create an appointment in my CalDAV calendar, the « Travel Time » field is available, and I can select an address in the « Location field » : Travel time with CalDAV Location with CalDAV But when I create an appointment in my Exchange calendar, the « Travel Time » field disappeared and I am unable to set a location. Travel Time with Exchange Location with Exchange Any idea of why Travel Time and Location are not available for all types of calendar ? Thanks in advance
Pierre LAGOUTTE (1 rep)
Sep 2, 2020, 11:03 PM • Last activity: May 31, 2021, 02:06 AM
1 votes
0 answers
528 views
macOS and iOS forgets CalDAV password
On my iPhone and Mac I get regularly prompted for the password of a CalDAV account (for my calendars). The password is still valid server side and just entering it again resolves the issue. Until next time.... - I checked the password in the KeyChain - it's correct and the expiry date in the KeyChai...
On my iPhone and Mac I get regularly prompted for the password of a CalDAV account (for my calendars). The password is still valid server side and just entering it again resolves the issue. Until next time.... - I checked the password in the KeyChain - it's correct and the expiry date in the KeyChain app is also **not** set - I deleted the CalDAV account and created it again None of this helped, any other ideas? macOS: BigSur 11.3.1 iOS: 14.4.2
Andi (111 rep)
May 20, 2021, 07:00 PM
1 votes
0 answers
193 views
How to debug MacOS/iOS calendars discovery process
I'm putting together a Caldav server and both iOS 14 and MacOS Catalina seem to be ignoring the XML responses and then both continuing to try different URLs until giving up. I've posted details here: [stack overflow question][1] How can I figure out what is going on? [1]: https://stackoverflow.com/q...
I'm putting together a Caldav server and both iOS 14 and MacOS Catalina seem to be ignoring the XML responses and then both continuing to try different URLs until giving up. I've posted details here: stack overflow question How can I figure out what is going on?
GisMofx (111 rep)
May 18, 2021, 11:42 AM
1 votes
1 answers
1328 views
iCal won't change what calendar events are saved on
My usual issue goes something like this: - Click to add new event, under the default calendar - Add details, etc, and save Later on, when I want to move it to a different calendar, I edit it, and change it to a different one via the drop-down. - Make edit, click done - The event will change to the p...
My usual issue goes something like this: - Click to add new event, under the default calendar - Add details, etc, and save Later on, when I want to move it to a different calendar, I edit it, and change it to a different one via the drop-down. - Make edit, click done - The event will change to the proper calendar - The event disappears - The event reappears under the original (default calendar) All the calendars are on Google Calendars, and synced via CalDAV into iCal as delegates. I've never had an issue up until a few months ago, and now I have to sign into Google each time I want to move an event. Running OSX 10.7.5, iCal 5.0.3 Any suggestions?
ampsan (11 rep)
Mar 30, 2013, 07:08 PM • Last activity: Apr 18, 2018, 09:04 AM
3 votes
1 answers
14412 views
Outlook for Mac CardDAV and CalDAV
I'm looking for sync plugins for current Outlook for Mac to make it talk to CardDAV and CalDAV servers. So far I only found plugins for Windows. Any hints?
I'm looking for sync plugins for current Outlook for Mac to make it talk to CardDAV and CalDAV servers. So far I only found plugins for Windows. Any hints?
bot47 (7882 rep)
Feb 11, 2016, 01:36 PM • Last activity: Mar 2, 2017, 05:18 PM
3 votes
0 answers
70 views
OS X Server no longer externally available for CalDav after Update from 10.6.8 to 10.11.6
Weird issue here, after updating my client's OS X Server from 10.6.8 to 10.11.6, I can no longer reach my calendar server externally. My client's router is port forwarding to my server 8443 and 8008 over TCP/UDP, and I've tested those ports and found them to be open. External DNS is resolving to the...
Weird issue here, after updating my client's OS X Server from 10.6.8 to 10.11.6, I can no longer reach my calendar server externally. My client's router is port forwarding to my server 8443 and 8008 over TCP/UDP, and I've tested those ports and found them to be open. External DNS is resolving to the correct IP, and Port Forwarding is pointing to the server It all works perfectly internally. I've heard it could be an Apache problem, but I'm not sure where to start there. I haven't found anything that pops out to me in the logs, but that doesn't mean there isn't something there. Note: The whole reason for doing this was to make a smoother transition to a newer server that they purchased, but I need to get them up and running first.
hottodd (71 rep)
Aug 18, 2016, 05:47 PM • Last activity: Aug 18, 2016, 06:17 PM
0 votes
1 answers
504 views
caldav stopped syncing - how to fix without losing entries?
My family uses caldav in their iPhones to keep a shared calendar (yahoo) in sync with everyone. One phone, used to add a lot of calendar entries, has stopped syncing. I tried simply reentering the PW to see if that would jump start it, but it is still "stuck". With no diagnostic information availabl...
My family uses caldav in their iPhones to keep a shared calendar (yahoo) in sync with everyone. One phone, used to add a lot of calendar entries, has stopped syncing. I tried simply reentering the PW to see if that would jump start it, but it is still "stuck". With no diagnostic information available, I don't have a clue why. If I "delete" this shared calendar, I will lose calendar entries added to the phone but not yet at the server. Any suggestions? Is there an easy way to select all calendar entries for a calendar and perhaps move them to the "local" calendar, Then I can delete the shared calendar, add it again, then move those new entries back to the shared calendar? I wish there were some way to diagnose and fix this, I just don't think Apple has ever provided any tools for that.
Brian B (101 rep)
Jul 14, 2016, 02:45 PM • Last activity: Jul 15, 2016, 07:30 AM
1 votes
1 answers
209 views
CalDAV only works for first synchronisation, and then stops updateing the calender forever
From the same server I can successfully sync cardDAVs contacts, and IMAPs-mail, so I've ruled out network issues. Furthermore, that same installation also syncs many other users (non-i) -Devices Contacts, Calenders, and Mails, so I've ruled out [SOGOs](https://sogo.nu/) CalDAV implementation. This P...
From the same server I can successfully sync cardDAVs contacts, and IMAPs-mail, so I've ruled out network issues. Furthermore, that same installation also syncs many other users (non-i) -Devices Contacts, Calenders, and Mails, so I've ruled out [SOGOs](https://sogo.nu/) CalDAV implementation. This Problem is not present on the WinPhones, [Androids(with DavDroid)](https://f-droid.org/repository/browse/?fdid=at.bitfire.davdroid) , [Thunderbird/Lightning](http://sabre.io/dav/clients/thunderbird/) , and even [Outlook 2010](https://sourceforge.net/projects/outlookcaldavsynchronizer/) . I kind-of feel stupid now having recommended iDevices in the past. I tried: * Rebooting normally * Signing out of iCloud, then rebooting * Factory-reset, then configuring the CalDAV first, then the rest. * Opened the non-SSL Port (shudder) to the outside world for testing. * Creating the Calender "twice", Once as Calender, and once as Contactlist None of those worked, and the last one was impossible through the settings dialog I'm not quite sure, how to proceed. In the meantime, I bought some cheap androids, so that my users at least have their calendar on the road with them.
Alex Stragies (111 rep)
Jul 4, 2016, 02:09 PM • Last activity: Jul 4, 2016, 02:20 PM
0 votes
2 answers
3260 views
Thunderbird needs to login google every time (CalDAV)
Befor: I use Thunderbird/Lightning for my mails and for my calendar. This issue is about the calendar. I'm a google-user. A short while ago I started to change from "Provider for Google's calendar" to the CalDAV way because I couldn't import invitations to my calendar. So far so good. But now, every...
Befor: I use Thunderbird/Lightning for my mails and for my calendar. This issue is about the calendar. I'm a google-user. A short while ago I started to change from "Provider for Google's calendar" to the CalDAV way because I couldn't import invitations to my calendar. So far so good. But now, every time I start Thunderbird or the calendar would like to synchronize it pops up the following window (for every calendar. I have 5!): In english: This app would like to use G calendar. Do you confirm that? I could not find any preferences where I can say that Lightning can use it every time. So, am I blind or how can I fix this?
elzaphod (5849 rep)
Apr 27, 2014, 09:25 AM • Last activity: Dec 9, 2015, 04:46 PM
9 votes
3 answers
7869 views
Google Calendar sync not working in Mountain Lion
Last week my OS X Calendar stopped syncing to Google Calendar. Past events are still there, but new events aren't pushed to Google anymore. I already tried deleting Calendar's/iCals Cache and Settings, removing the Google Calendar entirely and adding it back again. No success so far. Does anybody kn...
Last week my OS X Calendar stopped syncing to Google Calendar. Past events are still there, but new events aren't pushed to Google anymore. I already tried deleting Calendar's/iCals Cache and Settings, removing the Google Calendar entirely and adding it back again. No success so far. Does anybody know about a way to debug CalDAV syncing on OS X? Is there a issue with Google's servers? Any help is appreciated.
Jelko (101 rep)
Nov 19, 2012, 11:20 PM • Last activity: May 17, 2015, 07:37 PM
0 votes
3 answers
404 views
Copying Subscribed Calendar from iPhone to Mac
I have a subscribed calendar on my iPhone. If I look in the _Settings_ under _Mail, Contacts, Calendars_, under _Subscribed Calendars_, I see the subscribed calendar. If I go into the subscribed calendar on my iPhone I see: Account (On) Server: mobile.server.com/ical.php?uniq_uuid User Name: Passwor...
I have a subscribed calendar on my iPhone. If I look in the _Settings_ under _Mail, Contacts, Calendars_, under _Subscribed Calendars_, I see the subscribed calendar. If I go into the subscribed calendar on my iPhone I see: Account (On) Server: mobile.server.com/ical.php?uniq_uuid User Name: Password: Use SSL (On) Remove Alarms (Off) On my Mac, I go to the Calendar application, and select _Calendar->Add Account_, and then select "Add CalDAV Account...". There are three modes, _Automatic_, _Manual_, and _Advanced_. In the _Manual_ mode, I see: Account Type: Manual User Name: Password: Server: If I go into "Advanced", I see: Account Type: Advanced User Name: Password: Server Address: Server Path: Port: Use SSL (checkbox) Use Kerberos v5 for authentication (checkbox) I have the information I need to enter from my iPhone, but I can't save it on my Mac unless there's a _User Name_, but there isn't one in the iPhone account information. How can I enter this information from my iPhone to my Mac? My Mac is running Mavericks and the iPhone is running iOS 7.0.
David W. (703 rep)
Dec 3, 2013, 05:11 PM • Last activity: Jan 25, 2014, 07:12 PM
6 votes
2 answers
1635 views
Transfer reminders from iCal to Google Calendar
I switched from iCloud to Google calendar. I already transferred all my calendars via export/import to Google Calendar. Now I'd like to transfer my reminders from iCal/iCloud to Google Calendar. How can I do this?
I switched from iCloud to Google calendar. I already transferred all my calendars via export/import to Google Calendar. Now I'd like to transfer my reminders from iCal/iCloud to Google Calendar. How can I do this?
wowpatrick (253 rep)
Jan 11, 2012, 03:32 PM • Last activity: Sep 18, 2013, 12:51 PM
1 votes
1 answers
769 views
Is there a way to sync Google Calendar with iCal without CalDAV or EAS?
As part of the [spring cleaning announcement][1] in which Google announced that they would be killing off Google Reader, they also mentioned [winding down][2] the CalDAV API. Given that Google's Microsoft Exchange ActiveSync support was [killed off][3] in January, will there be any way to sync Googl...
As part of the spring cleaning announcement in which Google announced that they would be killing off Google Reader, they also mentioned winding down the CalDAV API. Given that Google's Microsoft Exchange ActiveSync support was killed off in January, will there be any way to sync Google Calendar with iCal (on iOS) after CalDAV is shut down (September 16, 2013)?
Kevin L. (131 rep)
Mar 15, 2013, 06:52 PM • Last activity: Aug 19, 2013, 02:50 PM
5 votes
1 answers
1590 views
iCal DAV The Server Responded with an Error (HTTP 302) after sleeping
Often when my Macbook Pro Retina has been asleep, I get the following upon waking up: ![enter image description here][1] It is irritating because I get the bouncy iCal icon in my doc and have to dismiss the error message every time. Anyone know how to prevent this? [1]: https://i.sstatic.net/OGro5.j...
Often when my Macbook Pro Retina has been asleep, I get the following upon waking up: enter image description here It is irritating because I get the bouncy iCal icon in my doc and have to dismiss the error message every time. Anyone know how to prevent this?
Kyle Brandt (1017 rep)
Aug 28, 2012, 12:36 PM • Last activity: May 31, 2013, 01:14 AM
Showing page 1 of 20 total questions