[CalendarServer-dev] [Calendar and Contacts Server] #380: Server throughs an exeption when configured to use SSL
Calendar and Contacts Server
trac at macosforge.org
Wed Jun 23 13:39:46 PDT 2010
#380: Server throughs an exeption when configured to use SSL
--------------------------------------+-------------------------------------
Reporter: kristian@… | Owner: wsanchez@…
Type: Defect | Status: new
Priority: 5: Not set | Milestone:
Component: Calendar Server | Severity: Crash/data loss
Keywords: carddav ssl |
--------------------------------------+-------------------------------------
Hi,
I set up the calendarserver (svn trunk) on ubuntu lucid. Everything works
fine, until i try to connect to the caldav server via SSL. Unencrypted
connect is no problem, as is connecting to the CardDAV server via SSL.
Only CalDAV in connection with SSL causes the following error:
{{{
2010-06-23 22:34:24+0200 [-] [caldav-1] [-] Unhandled Error
2010-06-23 22:34:24+0200 [-] [caldav-1] Traceback (most recent
call last):
2010-06-23 22:34:24+0200 [-] [caldav-1] File
"/usr/local/lib/python2.6/dist-packages/twisted/python/log.py", line 69,
in callWithContext
2010-06-23 22:34:24+0200 [-] [caldav-1] return
context.call({ILogContext: newCtx}, func, *args, **kw)
2010-06-23 22:34:24+0200 [-] [caldav-1] File
"/usr/local/lib/python2.6/dist-packages/twisted/python/context.py", line
59, in callWithContext
2010-06-23 22:34:24+0200 [-] [caldav-1] return
self.currentContext().callWithContext(ctx, func, *args, **kw)
2010-06-23 22:34:24+0200 [-] [caldav-1] File
"/usr/local/lib/python2.6/dist-packages/twisted/python/context.py", line
37, in callWithContext
2010-06-23 22:34:24+0200 [-] [caldav-1] return
func(*args,**kw)
2010-06-23 22:34:24+0200 [-] [caldav-1] File
"/usr/local/lib/python2.6/dist-
packages/twisted/internet/selectreactor.py", line 146, in _doReadOrWrite
2010-06-23 22:34:24+0200 [-] [caldav-1] why =
getattr(selectable, method)()
2010-06-23 22:34:24+0200 [-] [caldav-1] --- <exception caught
here> ---
2010-06-23 22:34:24+0200 [-] [caldav-1] File
"/usr/local/lib/python2.6/dist-packages/twext/internet/sendfdport.py",
line 279, in doRead
2010-06-23 22:34:24+0200 [-] [caldav-1] transport =
self.transportFactory(skt, description, protocol)
2010-06-23 22:34:24+0200 [-] [caldav-1] File
"/usr/local/lib/python2.6/dist-packages/twext/web2/metafd.py", line 104,
in createTransport
2010-06-23 22:34:24+0200 [-] [caldav-1]
transport.startTLS(self.contextFactory)
2010-06-23 22:34:24+0200 [-] [caldav-1] File
"/usr/local/lib/python2.6/dist-packages/twisted/internet/tcp.py", line
761, in startTLS
2010-06-23 22:34:24+0200 [-] [caldav-1] if
Connection.startTLS(self, ctx, server):
2010-06-23 22:34:24+0200 [-] [caldav-1] File
"/usr/local/lib/python2.6/dist-packages/twisted/internet/tcp.py", line
402, in startTLS
2010-06-23 22:34:24+0200 [-] [caldav-1] self.socket =
SSL.Connection(ctx.getContext(), self.socket)
2010-06-23 22:34:24+0200 [-] [caldav-1] exceptions.AttributeError:
'NoneType' object has no attribute 'getContext'
2010-06-23 22:34:24+0200 [-] [caldav-1]
}}}
Both instances are run with the same user, and should use the same key and
certificate.
I have no idea what to check or change.
--
Ticket URL: <http://trac.calendarserver.org/ticket/380>
Calendar and Contacts Server </>
HTTP/WebDAV/CalDAV Server
More information about the calendarserver-dev
mailing list