Skip to content
This repository has been archived by the owner. It is now read-only.

Server doesn't start without http port #273

Closed
macosforgebot opened this issue Jul 4, 2009 · 5 comments
Closed

Server doesn't start without http port #273

macosforgebot opened this issue Jul 4, 2009 · 5 comments

Comments

@macosforgebot
Copy link

@macosforgebot macosforgebot commented Jul 4, 2009

nicolas@… originally submitted this as ticket:342

  • Keywords: https

On debian lenny disabling http (port set to 0) but with a valid https port (default 8443) the server doesn't start. Https only should be a valid option.

@macosforgebot
Copy link
Author

@macosforgebot macosforgebot commented Jul 4, 2009

nicolas@… originally submitted this as comment:1:⁠ticket:342


I forgot to mention that the lenny's calendarserver version is 1.2.dfsg-8.

The failure trace is:

main:/etc/caldavd# caldavd /usr/lib/python2.5/site-packages/twisted/plugins/twisted_web2.py:22: DeprecationWarning: mktap and related support modules are deprecated as of Twisted 8.0. Use Twisted Application Plugins with the 'twistd' command directly, as described in 'Writing a Twisted Application Plugin for twistd' chapter of the Developer Guide.

from twisted.scripts.mktap import _tapHelper

Traceback (most recent call last):

File "/usr/bin/twistd", line 21, in <module>

run()

File "/usr/lib/python2.5/site-packages/twisted/scripts/twistd.py", line 27, in run

app.run(runApp, ServerOptions)

File "/usr/lib/python2.5/site-packages/twisted/application/app.py", line 614, in run

runApp(config)

File "/usr/lib/python2.5/site-packages/twisted/scripts/twistd.py", line 23, in runApp

_SomeApplicationRunner(config).run()

File "/usr/lib/python2.5/site-packages/twisted/application/app.py", line 330, in run

self.application = self.createOrGetApplication()

File "/usr/lib/python2.5/site-packages/twisted/application/app.py", line 411, in createOrGetApplication

ser = plg.makeService(self.config.subOptions)

File "/usr/lib/python2.5/site-packages/twistedcaldav/tap.py", line 749, in makeService

service = serviceMethod(options)

File "/usr/lib/python2.5/site-packages/twistedcaldav/cluster.py", line 206, in makeService_Combined

monitor.addProcess(process.getName(),

File "/usr/lib/python2.5/site-packages/twistedcaldav/cluster.py", line 78, in getName

"Can't create TwistdSlaveProcess without a TCP Port")

twistedcaldav.config.ConfigurationError: Can't create TwistdSlaveProcess without a TCP Port

@macosforgebot
Copy link
Author

@macosforgebot macosforgebot commented Jul 4, 2009

nicolas@… originally submitted this as comment:2:⁠ticket:342


Replying to nicolas@…:

On debian lenny disabling http (port set to 0) but with a valid https port (default 8443) the server doesn't start. Https only should be a valid option.

SOLVED

It may be a Debian specific bug, but the XML setup of the ssl port is commented out. So there was no port configured and the error message was indeed correct.

@macosforgebot
Copy link
Author

@macosforgebot macosforgebot commented Jun 22, 2012

info@… originally submitted this as comment:3:⁠ticket:342


Perhaps someone should close this ticket then.

@macosforgebot
Copy link
Author

@macosforgebot macosforgebot commented Jan 24, 2013

@dreness originally submitted this as comment:7:⁠ticket:342


Cannot reproduce this problem in r10318. Server starts and is operational with HTTPPort = 0 and BindHTTPPorts unset.

@macosforgebot
Copy link
Author

@macosforgebot macosforgebot commented Jan 24, 2013

@wsanchez originally submitted this as comment:8:⁠ticket:342

  • Status changed from new to closed
  • Resolution set to Cannot reproduce
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.