[CalendarServer-users] Disabling HTTP

Wilfredo Sánchez Vega wsanchez at wsanchez.net
Tue Jan 22 13:38:13 PST 2008


   Fixed in r2110:

     http://trac.calendarserver.org/projects/calendarserver/changeset/2110

	-wsv


On Jan 12, 2008, at 11:10 AM, Stephen Bowman wrote:

> 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
>
>
>
> _______________________________________________
> calendarserver-users mailing list
> calendarserver-users at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo/calendarserver-users

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2876 bytes
Desc: not available
Url : http://lists.macosforge.org/pipermail/calendarserver-users/attachments/20080122/5149b0bb/smime.bin


More information about the calendarserver-users mailing list