Skip to content

Bug: Kusion server should exit gracefully when the port is occupied #1421

Open
@ruquanzhao

Description

@ruquanzhao

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:

Image

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

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions