On Sep 18, 2013, at 5:35 AM, Frank Keller <fkel...@datameer.com> wrote:

> Dear list,
> 
> we are running an OSX lion server and using caldav on it. 
> 
> Server:
>       System Version: 10.7.4 (Build 11E53)
>       Kernel: Darwin 11.4.0
>       Services: Mail, Open Directory, iCal
> 
> Clients are running OSX 10.7.x and 10.8.x
> 
> We had problems in the past with errors when refreshing calendars. It 
> happened often that an error message 500 was shown when refreshing, 
> especially if the user had more calendar delegations
> configured. After a long journey with the the apple support a workaround was 
> mentioned to change the port from 'auto' to '8443' in the server settings for 
> iCal on the client machines. We also changed the
> refresh rate for calendars from push to a fixed value. It seems that these 
> changes solved the problems with the 500 error. 

Changing the port would have the effect of allowing the clients to speak 
directly with Calendar Server, instead of going through the Apache reverse 
proxy that binds port 443 in OS X Server.

> Now we are facing a new error when receiving calendar invites as a attached 
> ics file, mainly from outside our organization. When opening the attached ics 
> file, an error 403 is shown and it is not possible to 
> accept the invite. Contacting Apple support again was not successful because 
> they are saying it is a different error and we need to purchase a new support 
> case to get help from them. 

It does sound like a separate problem.

> So the question is, can anybody give us a hint on how to solve these issue? 
> Maybe someone already has a fix or a workaround for this error? 
> If you need any further information, please let me know. 

>From your debug error.log, I think the problem is:

2013-09-16 21:25:16+0200 [-] [caldav-3]  [-] 
[twistedcaldav.directory.principal#debug] No principal for calendar user 
address: 'mailto:someu...@otherdomain.com'

That is a correctly formed obfuscation of the actual mailto: URI, however if 
the real version was somehow invalid, that might cause this error. Also, if 
'otherdomain.com' is at all related to your server's domain, or if you have any 
local users with that email address in their user record, that might be 
related. In that case, try receiving an invitation with a CalDAV account that 
has no email address configured (in it's OS X Server user record), to see if it 
works.

It's also possible that the incoming invitation is somehow invalid; we've seen 
this before. All calendar invitations are not created equal. We'd need to see 
the full body of the invitation attachment received by email to know for sure. 
Try receiving email invitations from other sources, for example iCloud. This 
seems not too likely given that the invitation has to be parsed correctly to 
get to the error you received.

Another possibility is that it's our bug and we fixed it, but you're still 
running Lion Server so you don't have the fix. Yet another possibility is that 
it's our bug but we haven't fixed it because nobody has filed it. In this case, 
we'd need a bug to be filed so we can get all the info we need to determine 
what's going on; and you would need to be prepared to upgrade in order to get 
any fixes that are made. In general, the only fixes you get in a previous major 
version are security fixes. For the same reason, filing bugs against a previous 
major version isn't usually terribly helpful, because that's the point of 
upgrades: things change, so a problem report on an old version isn't as useful 
as a problem report against the current version. In this case, the machinery 
behind email invitations didn't change *that* much since Lion Server, so we may 
be able to come to a resolution with your report after a little back and forth.

HTH,
-dre

> 
> Any help would be appreciated. 
> 
> Best Regards
> Frank 
> _______________________________________________
> calendarserver-users mailing list
> calendarserver-users@lists.macosforge.org
> https://lists.macosforge.org/mailman/listinfo/calendarserver-users

_______________________________________________
calendarserver-users mailing list
calendarserver-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/calendarserver-users

Reply via email to