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

The voice server fails silently if another process is using the same port #244

Closed
psanders opened this issue Nov 20, 2021 · 4 comments
Closed
Assignees
Labels
bug Something isn't working voice Voice Apps with Rox

Comments

@psanders
Copy link
Member

psanders commented Nov 20, 2021

Describe the bug

The voice server fails silently if another process is using the same port

To Reproduce

Steps to reproduce the behavior:

  1. Start any process on port 3000
  2. Start a voice application on port 3000
  3. Observe: The application seems to start without a problem
  4. Observe: Fonoster fails to connect to webhook

Expected behavior

The voice application should fail with a "port 3000 already in use"

Screenshots

NA

System information (please complete the following):

  • OS: [e.g. Linux]
  • NodeJS, NPM versions [all]
  • CTL version [0.2.21 ]

Additional context

None

@psanders psanders added the bug Something isn't working label Nov 20, 2021
@psanders psanders added the voice Voice Apps with Rox label May 4, 2022
@BrayanMnz
Copy link
Contributor

BrayanMnz commented May 10, 2022

When running Rox with another process already using the port 3000.
There is a "address already in use" message. see image below
image

Is this the expected behaviour or I'm missing something while replicating ? @psanders

@psanders
Copy link
Member Author

@BrayanMnz,

Yes. That's the issue. We need to catch the exception and exit with a code 1.

@efraa efraa self-assigned this Jan 24, 2023
@efraa
Copy link
Contributor

efraa commented Jan 25, 2023

@psanders fonoster/rox#8

@efraa efraa closed this as completed Jan 25, 2023
@psanders
Copy link
Member Author

Knowledged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working voice Voice Apps with Rox
Projects
None yet
Development

No branches or pull requests

3 participants