Bug: Kusion server should exit gracefully when the port is occupied
What happened?
When I start two Kusion servers locally using the same port, the second started Kusion server does not exit. Upon checking the logs, I found the second Kusion server's logs:
What did you expect to happen?
Kusion server should exit gracefully.
How can we reproduce it (as minimally and precisely as possible)?
Start kusion server on port already in use.
Anything else we need to know?
No response
Kusion version
$ kusion version
# paste output here
OS version
# On Linux:
$ cat /etc/os-release
# paste output here
$ uname -a
# paste output here
# On Windows:
C:\> wmic os get Caption, Version, BuildNumber, OSArchitecture
# paste output here
Install tools
i want
@ruquanzhao If no one working on it, can I take this issue?
Hi, @d-cryptic, welcome and thanks for your interest in Kusion.
Please go ahead and take this issue. If you encounter any problems or have any questions that need discussion, please feel free to ping me.
Hi, @d-cryptic Kusion milestone 0.15.0 is expected to be released around June 30th. Are you planning to complete this in 0.15.0, or move it to 0.16.0?
Hey, I will raise a PR by this weekend
@d-cryptic are you still working on this? Otherwise, I have the changes ready for review.
yeah @jemshad please go ahead