This took some time to find but now confirmed. Running latest version on RPI all works well. The Pi is set for DHCP with a lease of 10 days. When there a request for a new IP address there is a change the Pi will get a different address. In this case, upmpdcli will still run but the binding of the OpenHome protocol will fail as the old IP is not used anymore.
- It seams that upmpdcli is not aware of the new IP address.
- Scanning the ports shows no active port 49152.
- upmpdcli still running when using ps ax
- No error in the logs.
- MPD is accessible via port 6600 and works without a problem.
Thanks!
Ran
Discussion
-
medoc
2018-05-23Your machine should not change addresses when the lease is renewed, your DHCP is misconfigured.
The venerable portable UPnP lib (libupnp) does not support listening on multiple addresses, and also quite certainly does not know how to reconfigure if the interface changes addresses (which is actually quite reasonable, this should never happen). MPD listens on all addresses, so it's not affected by an address change.
Regrettably, there is nothing I can do about this, just make sure that DHCP is configured correctly.
-
medoc
2018-05-23- status: open --> wont-fix
- milestone: -->
-
Anonymous
2018-05-23I "solved" this by reserving the IP address.