| OSx mountain lion Calendar console log error | Nuno Bettencourt | 21/03/13 09:07 | Hi, does anyone know why I get repetitive messages like this on my console log? I'm talking about 50+ messages everytime ical syncs... CalendarAgent[80930]: AOSKit ERROR: (-) RAF: Invalid url -- https://<username>%40gmail.com@calendar.google.com/calendar/dav/<id>%40group.calendar.google.com/ Best regards, Nuno Bettencourt |
| Re: OSx mountain lion Calendar console log error | Vache S | 21/03/13 11:43 | +1. Same issue here. |
| Re: OSx mountain lion Calendar console log error | Scot Vrolyk | 21/03/13 14:55 | Same here |
| Re: OSx mountain lion Calendar console log error | Nuno Bettencourt | 22/03/13 03:12 | Hi, Just solved the problem entirely. If you use System Preferences > Mail, Contacts & Calendars to add your gmail account, and enable Mail, Calendar & Reminders, Messages and Notes, your caldav account for calendar will be set up with a username like <your username>@gmail.com, originating a caldav url like: This is an invalid url, as google is expecting only your username and not username and domain. If you delete your GMAIL account from Mail, Contacts & Calendar and go to Calendars > preferences > accounts and choose add an account, choosing account type caldav, and entering only your user name (without domain), password and your caldav url in the following format https://www.google.com/calendar/dav/<your username>@gmail.com/user your account is setup correctly and no errors will appear on console log. Furthermore, if you wish to re-enable mail, Messages and Notes, just head up to System Preferences > Mail, Contacts & Calendars, choose your recently created gmail account and enable those checkboxes. This solved my 4000+ error messages per day on console log for CalendarAgent. If you have multiple calendars on the same account, go to https://www.google.com/calendar/syncselect and select those that you want to show on calendar. p.s. this must be an osx implementation error that forces your username to be suffixed with @gmail.com when you register a gmail account through System Preferences > Mail, Contacts & Calendars. If you use calendar to add the same account, the suffix is not appended to your username and all is solved. Hope this help the rest of us, even those that have not yet detected this issue.
|
| Re: OSx mountain lion Calendar console log error | KatherineG | 25/03/13 15:54 | Hi Nuno - thanks for your detailed response and steps for resolution. Others, please let us know if this helps! |
| (inconnu) | 26/03/13 04:01 | <Ce message a été supprimé.> | |
| Re: OSx mountain lion Calendar console log error | Robin Kluth | 29/03/13 17:59 | Yep, that helped :) This should be fixed at Apple's side. Thanks a lot for the steps. But why is it working in spite of the invalid url? |
| Re: OSx mountain lion Calendar console log error | Carlo Hazenberg | 30/03/13 04:06 | Thanks for your detailed response. Your steps fixed my calendar issue! |
| Re: OSx mountain lion Calendar console log error | happycrappy | 31/03/13 08:30 | Worked for me as well Thanks Nuno! |
| Re: OSx mountain lion Calendar console log error | Mikey Zee | 04/04/13 08:43 | Thanks Nuno! This worked for my calendar errors but now I'm getting a similar error when I sync Contacts: Contacts[4862]: AOSKit ERROR: (-) RAF: Invalid url -- https://username%40gmail.com@google.com/m8/carddav/principals/__uids__/username%40gmail.com/lists/ Any ideas for a workaround? |
| Re: OSx mountain lion Calendar console log error | Nuno Bettencourt | 04/04/13 09:12 | Hi, I'm glad I could help most of you. As to Mikey's problem, I don't sync my contacts with google, because I use iCloud. Apparently syncing to both service is not possible, so I won't be able to give you a straight answer. I can only say that it looks like either Apple or Google did not implement the protocol properly. Best regards, Nuno Bettencourt |
| Re: OSx mountain lion Calendar console log error | Nuno Bettencourt | 04/04/13 09:14 | I guess apple programmed the same thing twice, but only one was well done. I also don't understand, neither have invested time on figuring why it works despite having an invalid url. I guess they want to blow your SSD with minor console log messages written to it. |
| Re: OSx mountain lion Calendar console log error | Nuno Bettencourt | 08/04/13 05:22 | I guess it might be a problem on such cases. |
| Re: OSx mountain lion Calendar console log error | Thomas Goddard | 27/05/13 12:14 | You are a genius! Thank you for solving this, and thank you for documenting it in such a way that I was able to follow it cleanly, so now the error is gone. |
| Re: OSx mountain lion Calendar console log error | The Milkman | 31/05/13 06:37 | :) |
| (inconnu) | 21/06/13 10:21 | <Ce message a été supprimé.> | |
| Re: OSx mountain lion Calendar console log error | Austin Horstman | 25/06/13 19:48 | Hi, I tried to follow your steps and was presented with an error, however. I was wondering if anyone could help. When I try and add my google account as caldav I get told it can't establish a secure connection and prompts to proceed. It tries again but says it couldn't connect. 6/25/13 9:44:10.005 PM CalendarAgent[217]: AOSKit ERROR: (-) RAF: Invalid url -- https://<username>%40gmail.com@calendar.google.com/calendar/dav/<username>12%40gmail.com/ Is the error that directed me here. I will include all the warnings in between, just in case they are relevant. 6/25/13 9:44:51.000 PM kernel[0]: System Preferenc (map: 0xffffff80262bba48) triggered DYLD shared region unnest for map: 0xffffff80262bba48, region 0x7fff8d800000->0x7fff8da00000. While not abnormal for debuggers, this increases system memory footprint until the target exits. 6/25/13 9:44:51.627 PM System Preferences[1107]: MailIAPlugin: Tried to get settings for nonexistent account with uid 05864604-777D-43DE-8DB5-C14A702E0F84 6/25/13 9:44:51.744 PM System Preferences[1107]: [Warning] *** Couldn't find account for UID: E89D6F88-8BBE-4761-A8F3-E93F76F7C797 6/25/13 9:44:51.774 PM com.apple.time[176]: Interval maximum value is 946100000 seconds (specified value: 9223372036854775807). 6/25/13 9:44:51.780 PM System Preferences[1107]: *** -[IADomainCache init]: IA domains cache is out of date. 6/25/13 9:44:51.792 PM System Preferences[1107]: MailIAPlugin: Tried to get settings for nonexistent account with uid 05864604-777D-43DE-8DB5-C14A702E0F84 6/25/13 9:44:51.793 PM System Preferences[1107]: [Warning] *** Couldn't find account for UID: E89D6F88-8BBE-4761-A8F3-E93F76F7C797 6/25/13 9:44:51.822 PM System Preferences[1107]: Unknown serviceID: com.apple.Dataclass.SharedStreams 6/25/13 9:44:51.875 PM System Preferences[1107]: Unknown serviceID: com.apple.Dataclass.SharedStreams 6/25/13 9:44:51.875 PM System Preferences[1107]: Unknown serviceID: com.apple.Dataclass.SharedStreams 6/25/13 9:44:51.909 PM System Preferences[1107]: MailIAPlugin: Tried to get settings for nonexistent account with uid 05864604-777D-43DE-8DB5-C14A702E0F84 6/25/13 9:44:51.909 PM System Preferences[1107]: [Warning] *** Couldn't find account for UID: E89D6F88-8BBE-4761-A8F3-E93F76F7C797 6/25/13 9:44:51.926 PM System Preferences[1107]: Unknown serviceID: com.apple.Dataclass.SharedStreams 6/25/13 9:44:51.926 PM System Preferences[1107]: Unknown serviceID: com.apple.Dataclass.SharedStreams 6/25/13 9:44:51.928 PM System Preferences[1107]: Unknown serviceID: com.apple.Dataclass.SharedStreams 6/25/13 9:44:52.002 PM fseventsd[43]: Logging disabled completely for device:1: /Volumes/Recovery HD 6/25/13 9:44:52.167 PM System Preferences[1107]: INFO: FMM: containsRecoveryPartition: YES, version: 12A269 6/25/13 9:44:52.496 PM System Preferences[1107]: INFO: FMM: containsRecoveryPartition: YES, version: 12A269 6/25/13 9:44:52.519 PM System Preferences[1107]: INFO: FMM: recoveryPartitionNeedsUpdate: NO 6/25/13 9:44:52.520 PM System Preferences[1107]: INFO: FMM: containsRecoveryPartition: YES, version: 12A269 6/25/13 9:44:52.520 PM System Preferences[1107]: INFO: FMM: recoveryPartitionNeedsUpdate: NO 6/25/13 9:44:52.520 PM System Preferences[1107]: INFO: FMM: can enable: YES 6/25/13 9:44:52.520 PM System Preferences[1107]: INFO: FMM: containsRecoveryPartition: YES, version: 12A269 6/25/13 9:44:52.521 PM System Preferences[1107]: INFO: FMM: recoveryPartitionNeedsUpdate: NO 6/25/13 9:44:52.521 PM System Preferences[1107]: INFO: FMM: containsRecoveryPartition: YES, version: 12A269 6/25/13 9:44:52.521 PM System Preferences[1107]: INFO: FMM: recoveryPartitionNeedsUpdate: NO 6/25/13 9:44:52.521 PM System Preferences[1107]: INFO: FMM: can enable: YES 6/25/13 9:44:52.583 PM System Preferences[1107]: Unknown serviceID: com.apple.Dataclass.SharedStreams 6/25/13 9:44:56.824 PM System Preferences[1107]: MailIAPlugin: Tried to delete nonexistent account with uid da4f9360-f163-465c-b3d6-5fb3ed521991 6/25/13 9:44:57.099 PM System Preferences[1107]: [Warning] *** Couldn't find account for UID: 51CE9983-2A1E-4EC1-B3C6-938D9133C15F |
| Re: OSx mountain lion Calendar console log error | Nuno Bettencourt | 26/06/13 02:32 | Hi,
you shoud swap <username> with your username for gmail. By the way, the second <username> shouldn't be followed by 12, also remove the number 12. Despite this, I can't see what's wrong. Best regards, Nuno Bettencourt |
| Re: OSx mountain lion Calendar console log error | Austin Horstman | 26/06/13 17:55 | I replaced my actual username with <username>, sorry I didn't mention that. The 12 in the second part was in my username :P I'm using:
|
| Re: OSx mountain lion Calendar console log error | Austin Horstman | 26/06/13 17:57 | It says it can't establish a secure connection. So, I tell it to continue trying and then it says Calendar couldn't discover the account settings for the CalDAV server “www.google.com”.. |
| (inconnu) | 11/07/13 05:03 | <Ce message a été supprimé.> | |
| Re: OSx mountain lion Calendar console log error | Hobbes HObbes | 11/07/13 05:13 | You need to create the calDAV account from within the Calendar Application instead of system preferences or it won't work. It written in the original solution from Nuno actually, I misread it too: “go to Calendars > preferences > accounts and choose add an account”. It should read “Go to Calendar”, without “s”. That's the trick. |
| Re: OSx mountain lion Calendar console log error | Nuno Bettencourt | 11/07/13 05:27 | I've edited this post according to what Hobbes said. Instead of reading:
you should read: If you delete your GMAIL account from Mail, Contacts & Calendars and go to Calendar > preferences > accounts and choose add an account, choosing account type caldav, and entering only your user name (without domain), password and your caldav url in the following format https://www.google.com/calendar/dav/<your username>@gmail.com/user your account is setup correctly and no errors will appear on console log. |
| Re: OSx mountain lion Calendar console log error | Nuno Bettencourt | 11/07/13 05:28 | Thanks Hobbes for spotting the misleading text. |
| Re: OSx mountain lion Calendar console log error | James Forte | 22/07/13 07:34 | I just used calendar.google.com for the server address and it worked! Much trial and error. Hope this helps others. |
| Re: OSx mountain lion Calendar console log error | Steven Maser | 22/07/13 13:39 | Hey, for those of you having this problem -- do you also have iCloud configured -- and your iCloud account name is the same as your Google account name? I have a couple of machines here showing this problem and it finally came down to realizing that Calendar.app is only throwing up those AOSKit error messages if I have my iCloud account (which name matches my Google apps for education domain name) added to the computer. It doesn't even matter if the iCloud account is *not* set to sync Calendars (in fact it can show as "inactive" in the Mail, Contacts & Calendars system preference.) The AOSKit errors are there if I have my iCloud account added. They go away if I remove my iCloud account. *And* they go away if I add a separate iCloud account that does not match my Google account name -- even if I sync the calendars. Might this be a common thread here? If so, this sounds like a bug Apple needs to fix... |
| Re: OSx mountain lion Calendar console log error | Nuno Bettencourt | 23/07/13 01:27 | Hi Steven,
my account name is the same for iCloud and Google Calendars. With the steps I mentioned was able to keep both working. |
| Re: OSx mountain lion Calendar console log error | Steven Maser | 23/07/13 08:12 | Unfortunately, your steps didn't work with a Google Apps for Education account -- maybe they only work with a "gmail.com" account? |
| Re: OSx mountain lion Calendar console log error | willquill | 01/08/13 15:18 | Thanks, Nuno! Worked for me! |
| Re: OSx mountain lion Calendar console log error | martinusgooglus | 04/08/13 05:13 | Hi Nuno – just to re-iterate all the above. I think this should a work well. Thank-you for posting. |
| Re: OSx mountain lion Calendar console log error | David Sadowski | 08/09/13 12:48 | I've tried deleting and recreating one of my accounts numerous of times in both Calendar and System Prefs but it keeps failing and incorrect URLs come back each time hence it cannot be done via UI :/ I have a Google Apps account and my domain hooked up to it so my email address is not USE...@gmail.com but USER...@domain.com. Any other way to fix this ugly b**ch even via direct changes to Apple's files / settings? |
| Re: OSx mountain lion Calendar console log error | Curt Bruns | 19/09/13 21:16 | Thanks Nuno and others for the advice. It didn't work for me at first - when I did the Account addition in the Calendar app, it said something about invalid URL or couldn't authenticate...but I realized that it's because I have two-factor authentication with Google turned on. I had to go get an "Application Specific Password" from Google and use that as my password in the step to add the account to Calendar App. Then it worked just fine. If anyone else is having a problem - this could be why - else Nuno's instructions are spot on. Thanks! - Curt |