[CalendarServer-users] Disabling HTTP

Stephen Bowman sbbowman at gmail.com
Sat Jan 12 11:10:16 PST 2008


Attempting to disable HTTP (I only want HTTPS), following the directions in
caldavd-dev.plist, yields an error.  I saw a previous posting about this
where someone found success in using (-1) as the HTTPPort value.  While this
indeed works, the server is constantly trying to start up on port -1 and
failing.  So, that's obviously a messy solution.  Anyone have a quick fix?

  <!-- HTTP port [0 = disable HTTP] -->
  <key>HTTPPort</key>
  <integer>0</integer>


2008-01-12 14:06:50-0500 [-] Log opened.
2008-01-12 14:06:50-0500 [-] twistd 2.5.0+rUnknown (/usr/bin/python 2.5.0)
starting up
2008-01-12 14:06:50-0500 [-] reactor class: <class '
twisted.internet.selectreactor.SelectReactor'>
2008-01-12 14:06:50-0500 [-] 2 processors found, configuring 2 processes.
2008-01-12 14:06:50-0500 [-] Traceback (most recent call last):
2008-01-12 14:06:50-0500 [-]   File "/usr/local/src/Twisted/bin/twistd",
line 21, in <module>
2008-01-12 14:06:50-0500 [-]     run()
2008-01-12 14:06:50-0500 [-]   File
"/usr/local/src/Twisted/twisted/scripts/twistd.py", line 27, in run
2008-01-12 14:06:50-0500 [-]     app.run(runApp, ServerOptions)
2008-01-12 14:06:50-0500 [-]   File
"/usr/local/src/Twisted/twisted/application/app.py", line 379, in run
2008-01-12 14:06:50-0500 [-]     runApp(config)
2008-01-12 14:06:50-0500 [-]   File
"/usr/local/src/Twisted/twisted/scripts/twistd.py", line 23, in runApp
2008-01-12 14:06:50-0500 [-]     _SomeApplicationRunner(config).run()
2008-01-12 14:06:50-0500 [-]   File
"/usr/local/src/Twisted/twisted/application/app.py", line 157, in run
2008-01-12 14:06:50-0500 [-]     self.application =
self.createOrGetApplication()
2008-01-12 14:06:50-0500 [-]   File
"/usr/local/src/Twisted/twisted/application/app.py", line 202, in
createOrGetApplication
2008-01-12 14:06:50-0500 [-]     ser = plg.makeService(
self.config.subOptions)
2008-01-12 14:06:50-0500 [-]   File
"/usr/local/src/CalendarServer/twistedcaldav/tap.py", line 600, in
makeService
2008-01-12 14:06:50-0500 [-]     service = serviceMethod(options)
2008-01-12 14:06:50-0500 [-]   File
"/usr/local/src/CalendarServer/twistedcaldav/cluster.py", line 194, in
makeService_Combined
2008-01-12 14:06:50-0500 [-]     monitor.addProcess(process.getName(),
2008-01-12 14:06:50-0500 [-]   File
"/usr/local/src/CalendarServer/twistedcaldav/cluster.py", line 70, in
getName
2008-01-12 14:06:50-0500 [-]     return '%s-%s' % (self.prefix, self.ports
[0])
2008-01-12 14:06:50-0500 [-] TypeError: 'NoneType' object is unsubscriptable
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/calendarserver-users/attachments/20080112/d7a4d695/attachment-0001.html


More information about the calendarserver-users mailing list