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

Select OTA Provider port randomly #885

Merged
merged 1 commit into from
Sep 12, 2024
Merged

Conversation

agners
Copy link
Collaborator

@agners agners commented Sep 12, 2024

Instead of using a fixed port for OTA Provider, pass 0 to let the Matter SDK/bind() syscall select a random port. This allows multiple OTA Providers to run on the same host without port conflicts.

Fixes: home-assistant/core#125130

Instead of using a fixed port for OTA Provider, pass 0 to let the
Matter SDK/bind() syscall select a random port. This allows multiple
OTA Providers to run on the same host without port conflicts.

Fixes: home-assistant/core#125130
@agners
Copy link
Collaborator Author

agners commented Sep 12, 2024

Pretty sure I had dynamic ports used at one point, but I think I was unsure if issues we've seen with Apple Thread border router were maybe related to port selection. Anyhow, initial investigation point more towards mDNS issue on that front.

@agners agners merged commit 52a9fce into main Sep 12, 2024
4 checks passed
@agners agners deleted the select-random-ota-provider-port branch September 12, 2024 12:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix Pull request that fixes a (known) issue/bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Matter device firmware update fails for multiple devices in parallel, or in sequence with Eve Thermo
2 participants