knro / indiwebmanager

Web Manager for INDI Server
http://www.indilib.org
GNU Lesser General Public License v2.1
44 stars 35 forks source link

indi-web hangs when indiserver can't start due to port conflict #37

Open ckuethe opened 5 years ago

ckuethe commented 5 years ago

Indi-web will hang if indiserver fails to start due a port conflict. I found this out the hard way when I had an SSH session open with port fowarding to a remote telescope and then attempted to start a local indiserver with some simulators. It would be good if indi-web didn't hang and instead propagated the error.

2019-10-04T21:35:40: bind: Address already in use
2019-10-04T21:35:40: good bye
gnthibault commented 1 year ago

I think this should be fixed in my PR: https://github.com/knro/indiwebmanager/pull/56