One possible reason for this could be if you have enabled Digest
Authentication on the server but trying to use Basic Authentication on
the client. In /etc/caldavd/caldavd.plist, disable Digest Authentication
and enable Basic authentication. Then try connecting. Let me know if the
problem is resolved.
On Friday 04 March 2011 02:59 PM, Patrik Schindler wrote:
Package: calendarserver
Version: 2.4.dfsg-6
Severity: important
Accessing the calendarserver with iCal from OS 10.5 and 10.6 yields sometimes
internal server errors, mostly with ToDo-List items (creation, deletion) and
appointments (creation, deletion). Seldom with modifications.
Error given by iCal:
"HTTP/1.1 500 Internal Server Error"
on operation CalDAVRevertEntityQueueableOperation.
I can't see how this error can be triggered definitely. It started occuring
after the upgrade from Lenny to Squeeze.
Server error log entries related to above error:
2011-03-04 10:06:16+0100 [-] [caldav-8008] [PooledMemCacheProtocol,client]
Exception rendering:
2011-03-04 10:06:16+0100 [-] [caldav-8008] [PooledMemCacheProtocol,client]
Unhandled Error
2011-03-04 10:06:16+0100 [-] [caldav-8008] Traceback (most recent call
last):
2011-03-04 10:06:16+0100 [-] [caldav-8008] File
"/usr/lib/twisted-calendarserver/lib/python2.6/site-packages/twisted/internet/defer.py",
line 267, in errback
2011-03-04 10:06:16+0100 [-] [caldav-8008]
self._startRunCallbacks(fail)
2011-03-04 10:06:16+0100 [-] [caldav-8008] File
"/usr/lib/twisted-calendarserver/lib/python2.6/site-packages/twisted/internet/defer.py",
line 310, in _startRunCallbacks
2011-03-04 10:06:16+0100 [-] [caldav-8008] self._runCallbacks()
2011-03-04 10:06:16+0100 [-] [caldav-8008] File
"/usr/lib/twisted-calendarserver/lib/python2.6/site-packages/twisted/internet/defer.py",
line 326, in _runCallbacks
2011-03-04 10:06:16+0100 [-] [caldav-8008] self.result =
callback(self.result, *args, **kw)
2011-03-04 10:06:16+0100 [-] [caldav-8008] File
"/usr/lib/twisted-calendarserver/lib/python2.6/site-packages/twisted/internet/defer.py",
line 769, in gotResult
2011-03-04 10:06:16+0100 [-] [caldav-8008] _inlineCallbacks(r, g,
deferred)
2011-03-04 10:06:16+0100 [-] [caldav-8008] ---<exception caught here> ---
2011-03-04 10:06:16+0100 [-] [caldav-8008] File
"/usr/lib/twisted-calendarserver/lib/python2.6/site-packages/twisted/internet/defer.py",
line 747, in _inlineCallbacks
2011-03-04 10:06:16+0100 [-] [caldav-8008] result =
result.throwExceptionIntoGenerator(g)
2011-03-04 10:06:16+0100 [-] [caldav-8008] File
"/usr/lib/twisted-calendarserver/lib/python2.6/site-packages/twisted/python/failure.py",
line 338, in throwExceptionIntoGenerator
2011-03-04 10:06:16+0100 [-] [caldav-8008] return g.throw(self.type,
self.value, self.tb)
2011-03-04 10:06:16+0100 [-] [caldav-8008] File
"/usr/lib/twisted-calendarserver/lib/python2.6/site-packages/twistedcaldav/method/get.py",
line 65, in http_GET
2011-03-04 10:06:16+0100 [-] [caldav-8008] response = (yield
super(CalDAVFile, self).http_GET(request))
2011-03-04 10:06:16+0100 [-] [caldav-8008] File
"/usr/lib/twisted-calendarserver/lib/python2.6/site-packages/twisted/internet/defer.py",
line 747, in _inlineCallbacks
2011-03-04 10:06:16+0100 [-] [caldav-8008] result =
result.throwExceptionIntoGenerator(g)
2011-03-04 10:06:16+0100 [-] [caldav-8008] File
"/usr/lib/twisted-calendarserver/lib/python2.6/site-packages/twisted/python/failure.py",
line 338, in throwExceptionIntoGenerator
2011-03-04 10:06:16+0100 [-] [caldav-8008] return g.throw(self.type,
self.value, self.tb)
2011-03-04 10:06:16+0100 [-] [caldav-8008] File
"/usr/lib/twisted-calendarserver/lib/python2.6/site-packages/twistedcaldav/extensions.py",
line 145, in authenticate
2011-03-04 10:06:16+0100 [-] [caldav-8008] creds = (yield
factory.decode(authHeader[1], request))
2011-03-04 10:06:16+0100 [-] [caldav-8008] File
"/usr/lib/twisted-calendarserver/lib/python2.6/site-packages/twisted/internet/defer.py",
line 747, in _inlineCallbacks
2011-03-04 10:06:16+0100 [-] [caldav-8008] result =
result.throwExceptionIntoGenerator(g)
2011-03-04 10:06:16+0100 [-] [caldav-8008] File
"/usr/lib/twisted-calendarserver/lib/python2.6/site-packages/twisted/python/failure.py",
line 338, in throwExceptionIntoGenerator
2011-03-04 10:06:16+0100 [-] [caldav-8008] return g.throw(self.type,
self.value, self.tb)
2011-03-04 10:06:16+0100 [-] [caldav-8008] File
"/usr/lib/twisted-calendarserver/lib/python2.6/site-packages/twistedcaldav/directory/digest.py",
line 229, in decode
2011-03-04 10:06:16+0100 [-] [caldav-8008] result = (yield
self._validate(auth, request))
2011-03-04 10:06:16+0100 [-] [caldav-8008] File
"/usr/lib/twisted-calendarserver/lib/python2.6/site-packages/twisted/internet/defer.py",
line 749, in _inlineCallbacks
2011-03-04 10:06:16+0100 [-] [caldav-8008] result = g.send(result)
2011-03-04 10:06:16+0100 [-] [caldav-8008] File
"/usr/lib/twisted-calendarserver/lib/python2.6/site-packages/twistedcaldav/directory/digest.py",
line 271, in _validate
2011-03-04 10:06:16+0100 [-] [caldav-8008] raise
error.LoginFailed('Invalid nonce value: %s' % (nonce,))
2011-03-04 10:06:16+0100 [-] [caldav-8008] twisted.cred.error.LoginFailed:
Invalid nonce value: 7176078610249547151619762733
2011-03-04 10:06:16+0100 [-] [caldav-8008]
-- System Information:
Debian Release: 6.0
APT prefers squeeze-updates
APT policy: (500, 'squeeze-updates'), (500, 'proposed-updates'), (500,
'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=en_US.iso885915 (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/dash
Versions of packages calendarserver depends on:
ii adduser 3.112+nmu2 add and remove users and groups
ii lsb-base 3.2-23.2squeeze1 Linux Standard Base 3.2 init scrip
ii memcached 1.4.5-1 A high-performance memory object c
ii python 2.6.6-3+squeeze6 interactive high-level object-orie
ii python-central 0.6.16+nmu1 register and build utility for Pyt
ii python-dateutil 1.4.1-3 powerful extensions to the standar
ii python-kerberos 1.1+svn4895-1+b1 A GSSAPI interface module for Pyth
ii python-openssl 0.10-1 Python wrapper around the OpenSSL
ii python-plist 1.3-2 Library for handling Apple binary
ii python-pysqlite2 2.6.0-1 Python interface to SQLite 3
ii python-twisted-calendar 8.2.0.svn27622-2 Twisted components for Apple's Cal
ii python-vobject 0.8.1c-3 parse iCalendar and VCards in Pyth
ii python-xattr 0.4-5+squeeze1 module for manipulating filesystem
ii ssl-cert 1.0.28 simple debconf wrapper for OpenSSL
Versions of packages calendarserver recommends:
ii python-ldap 2.3.11-1 LDAP interface module for Python
ii python-pydirector 1.0.0-1 pure Python TCP load balancer
calendarserver suggests no packages.
-- Configuration Files:
/etc/caldavd/accounts.xml [Errno 13] Permission denied:
u'/etc/caldavd/accounts.xml'
/etc/caldavd/caldavd.plist [Errno 13] Permission denied:
u'/etc/caldavd/caldavd.plist'
/etc/caldavd/sudoers.plist [Errno 13] Permission denied:
u'/etc/caldavd/sudoers.plist'
/etc/default/calendarserver changed:
start_calendarserver=yes
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]