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

Failed listening attempt cause other listeners to not get started. #167

Open
fovea1959 opened this issue Jan 29, 2025 · 2 comments
Open

Comments

@fovea1959
Copy link
Contributor

Describe the bug
If there is an error in setting up a listening socket, other listening sockets may not get set up.

To Reproduce
Steps to reproduce the behavior:

  1. Apply the attached patch and build. This patch adds some debugging code to npu_net.c.
  2. Bring up NOS2.8.7 as non-root. Attempts to listen on port 175 will fail, and the output will show that npuNetThread will not try to start other listeners once that has happened.

Expected behavior
I would expect attempts to connect to other ports after the attempt to connect to port 175 fails.

Screenshots
See this discussion item

Additional context
PR is on the way.

@fovea1959
Copy link
Contributor Author

patch for exposing problem has typo. This patch is correct.

@fovea1959
Copy link
Contributor Author

PR #166 submitted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant