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

bug(libwaku): using port 0 for tcp does not automatically allocate a port #3268

Open
richard-ramos opened this issue Jan 31, 2025 · 0 comments
Labels
bug Something isn't working effort/hours Estimated to be completed in a few hours

Comments

@richard-ramos
Copy link
Member

Problem

While using waku-rust-bindings, something that was reported by @seemenkina is that using port 0 does not longer automatically find a free port. This is because the newer version of the rust bindings no longer use go-waku for the waku functionality but nwaku instead.
Discussing with @gabrielmer, it seems that this functionality is there in nwaku, but it seems that it is not being used on libwaku.

Related: #2359

Impact

Users of libwaku will need to manually specify a port number. This might lead to a bad developer experience as well as issues on CI in case of flaws in the logic the developer uses to find a free port

@richard-ramos richard-ramos added the bug Something isn't working label Jan 31, 2025
@Ivansete-status Ivansete-status moved this to To Do in Waku Jan 31, 2025
@Ivansete-status Ivansete-status added the effort/hours Estimated to be completed in a few hours label Jan 31, 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 effort/hours Estimated to be completed in a few hours
Projects
Status: To Do
Development

No branches or pull requests

2 participants