[CalendarServer-users] 403 error in Debian Squeeze for any subdir below "principals"

odinm odinm at comcast.net
Wed Dec 7 09:43:03 PST 2011

I have been runing DCS on Debian Lenny from the repositories without issue for ages.  I'm testing DCS out on Squeeze, completely stock from the repositories (except I added one extra user to accounts.xml), and I'm having an annoyance.

I can actually login to the server with iCal on a Snow Leopard system, create a calendar without any difficulty and add an entry.  The entry really exists and I can read the ics file in my root data directory.  However, I can't add any delegates, but that I think needs to come after my primary problem:  

What I can't do now, which I can do on the Lenny system, is get access to my user account information through a web browser.  This was very handy for setting up a group calendar because I could click down through principals/groups/groupname and there would be a nice set of URLs I could just paste into the config dialogs in iCal.  

On the Squeeze system, I can't get past principals in the web browser -- every subdirectory just results in a 403 error (I typed the login password right -- retested many times, the user is "test" and the password is "test" so they're hard to mess).

This is the log for this event -- I'd really appreciate any help in figuring out how to solve this problem.

2011-12-07 09:35:08-0800 [-] [caldav-8008]  [PooledMemCacheProtocol,client] Traceback (most recent call last):
2011-12-07 09:35:08-0800 [-] [caldav-8008]  [PooledMemCacheProtocol,client]   File "/usr/lib/twisted-calendarserver/lib/python2.6/site-packages/twisted/web2/resource.py", line 128, in http_GET
2011-12-07 09:35:08-0800 [-] [caldav-8008]  [PooledMemCacheProtocol,client]     return self.render(request)
2011-12-07 09:35:08-0800 [-] [caldav-8008]  [PooledMemCacheProtocol,client]   File "/usr/lib/twisted-calendarserver/lib/python2.6/site-packages/twistedcaldav/resource.py", line 158, in render
2011-12-07 09:35:08-0800 [-] [caldav-8008]  [PooledMemCacheProtocol,client]     return super(CalDAVResource, self).render(request)
2011-12-07 09:35:08-0800 [-] [caldav-8008]  [PooledMemCacheProtocol,client]   File "/usr/lib/twisted-calendarserver/lib/python2.6/site-packages/twistedcaldav/extensions.py", line 792, in render
2011-12-07 09:35:08-0800 [-] [caldav-8008]  [PooledMemCacheProtocol,client]     return self.renderDirectory(request)
2011-12-07 09:35:08-0800 [-] [caldav-8008]  [PooledMemCacheProtocol,client]   File "/usr/lib/twisted-calendarserver/lib/python2.6/site-packages/twistedcaldav/extensions.py", line 867, in renderDirectory
2011-12-07 09:35:08-0800 [-] [caldav-8008]  [PooledMemCacheProtocol,client]     d = self.renderDirectoryBody(request)
2011-12-07 09:35:08-0800 [-] [caldav-8008]  [PooledMemCacheProtocol,client] --- <exception caught here> ---
2011-12-07 09:35:08-0800 [-] [caldav-8008]  [PooledMemCacheProtocol,client]   File "/usr/lib/twisted-calendarserver/lib/python2.6/site-packages/twistedcaldav/util.py", line 101, in wrapper
2011-12-07 09:35:08-0800 [-] [caldav-8008]  [PooledMemCacheProtocol,client]     return f(*args, **kwargs)
2011-12-07 09:35:08-0800 [-] [caldav-8008]  [PooledMemCacheProtocol,client]   File "/usr/lib/twisted-calendarserver/lib/python2.6/site-packages/twistedcaldav/extensions.py", line 884, in renderDirectoryBody
2011-12-07 09:35:08-0800 [-] [caldav-8008]  [PooledMemCacheProtocol,client]     for name in sorted(self.listChildren()):
2011-12-07 09:35:08-0800 [-] [caldav-8008]  [PooledMemCacheProtocol,client]   File "/usr/lib/twisted-calendarserver/lib/python2.6/site-packages/twistedcaldav/directory/principal.py", line 411, in listChildren
2011-12-07 09:35:08-0800 [-] [caldav-8008]  [PooledMemCacheProtocol,client]     raise HTTPError(responsecode.FORBIDDEN)
2011-12-07 09:35:08-0800 [-] [caldav-8008]  [PooledMemCacheProtocol,client] twisted.web2.http.HTTPError: <twisted.web2.http.Response code=403, streamlen=None>

More information about the calendarserver-users mailing list