Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validate sc-server port before set #459

Open
NikitaZotov opened this issue Jan 17, 2025 · 0 comments
Open

Validate sc-server port before set #459

NikitaZotov opened this issue Jan 17, 2025 · 0 comments
Labels
bug Something isn't working L1 Quick issue sc-server Changes in sc-server module

Comments

@NikitaZotov
Copy link
Member

Describe the bug
If you set some wrong port for the sc-server, such as a port from system ports or just a wrong port, the sc-server will start up.

To Reproduce
Steps to reproduce the behavior:

  1. Go to terminal
  2. Run export SC_SERVER_PORT=0
  3. Run sc-machine with sc-server extension
  4. Run sc-web with url, on which the sc-server is running

Expected behavior
sc-server port should be validated before starting the sc-server.

Desktop (please complete the following information):

  • OS: Ubuntu 24.04, macOS 15.2
  • Version 0.9.0
@NikitaZotov NikitaZotov added bug Something isn't working sc-server Changes in sc-server module L1 Quick issue labels Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working L1 Quick issue sc-server Changes in sc-server module
Projects
None yet
Development

No branches or pull requests

1 participant