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

Service cannot listen on dynamically assigned port with Svc ID #4379

Closed
jiceatscion opened this issue Aug 18, 2023 · 0 comments · Fixed by #4381
Closed

Service cannot listen on dynamically assigned port with Svc ID #4379

jiceatscion opened this issue Aug 18, 2023 · 0 comments · Fixed by #4381
Labels
bug Something isn't working

Comments

@jiceatscion
Copy link
Contributor

ran into this while experimenting with registering the resolver service port==0 (as a way to not occupy the port from the public address).

It appears that a port from the dynamic range is properly assigned by the dispatcher but that the registration of the SVC address fails with Cause=="zero port".

This is because the dynamically assigned port isn't passed to the service registration. The original port 0 is passed instead.

This looks like a bug: there is no obvious benefit to rejecting such a configuration and, for better or for worse. if I fix that, the resolver works just fine.

@jiceatscion jiceatscion added the bug Something isn't working label Aug 18, 2023
@jiceatscion jiceatscion changed the title Sevrice cannot listen on dynamically assigned port with Svc ID Service cannot listen on dynamically assigned port with Svc ID Aug 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant