Hide Forgot
Description of problem: twistd -n web fails ungraciously if the port is unavailable (e.g. it's being by another application). It could at least stop bothering ABRT with this. Version-Release number of selected component: python-twisted-core-12.2.0-2.fc19 Additional info: reporter: libreport-2.1.9 cmdline: /usr/bin/python /usr/bin/twistd --pidfile '' -n web --path . --port 8080 executable: /usr/bin/twistd kernel: 3.11.7-200.fc19.x86_64 runlevel: N 5 type: Python uid: 1000 Truncated backtrace: failure.py:370:raiseException:CannotListenError: Couldn't listen on any:8080: [Errno 98] Address already in use. Traceback (most recent call last): File "/usr/bin/twistd", line 14, in <module> run() File "/usr/lib64/python2.7/site-packages/twisted/scripts/twistd.py", line 27, in run app.run(runApp, ServerOptions) File "/usr/lib64/python2.7/site-packages/twisted/application/app.py", line 652, in run runApp(config) File "/usr/lib64/python2.7/site-packages/twisted/scripts/twistd.py", line 23, in runApp _SomeApplicationRunner(config).run() File "/usr/lib64/python2.7/site-packages/twisted/application/app.py", line 390, in run self.postApplication() File "/usr/lib64/python2.7/site-packages/twisted/scripts/_twistd_unix.py", line 230, in postApplication self.startApplication(self.application) File "/usr/lib64/python2.7/site-packages/twisted/scripts/_twistd_unix.py", line 340, in startApplication service.IService(application).privilegedStartService() File "/usr/lib64/python2.7/site-packages/twisted/application/service.py", line 277, in privilegedStartService service.privilegedStartService() File "/usr/lib64/python2.7/site-packages/twisted/application/service.py", line 277, in privilegedStartService service.privilegedStartService() File "/usr/lib64/python2.7/site-packages/twisted/application/internet.py", line 370, in privilegedStartService raisedNow[0].raiseException() File "/usr/lib64/python2.7/site-packages/twisted/python/failure.py", line 370, in raiseException raise self.type, self.value, self.tb CannotListenError: Couldn't listen on any:8080: [Errno 98] Address already in use. Local variables in innermost frame: self: <twisted.python.failure.Failure <class 'twisted.internet.error.CannotListenError'>>
Created attachment 825353 [details] File: backtrace
Created attachment 825354 [details] File: environ
Christian, Was there anything else listening on 8080 when you experienced this?
Probably. I don't remember the details. Things is it should have failed more graciously instead of making ABRT report this issue.
I understand that this is very low priority, but triggering ABRT just because another application is listening on the same port is not normal behavior in my opinion.