hzeller / gmrender-resurrect

Resource efficient UPnP/DLNA renderer, optimal for Raspberry Pi, CuBox or a general MediaServer. Fork of GMediaRenderer to add some features to make it usable.
GNU General Public License v2.0
841 stars 204 forks source link

[error] UPNP_E_SOCKET_BIND (-203) #278

Open MartinHeywang opened 6 months ago

MartinHeywang commented 6 months ago

Hello !

I get the following error whenever I launch (via SSH) gmediastreamer on my Raspberry Pi Zero 2 W, with a fresh install of the Raspbian OS (32-bit, Full).

ERROR [2024-03-09 11:10:09.336410 | upnp] UpnpInit2(interface=(null), port=49494) Error: UPNP_E_SOCKET_BIND (-203). Retrying... (59s)
View full output

Unordered list of things that might help troubleshoot the issue:

Here are three issues I've read but that haven't helped me so far : #184 #157 #129. And this SE question : https://raspberrypi.stackexchange.com/questions/79004/howto-install-upnp-dlna-media-renderer#79005

I tried both the 0.0.9 (via apt) and the 0.1 (following the instructions in INSTALL.md), and both give me the same errors.

As I use SSH to launch gmediarender I am sure that my raspberry pi is properly connected to my home network. On my linux laptop (distro: Fedora 39), I installed gmediarender version 0.0.9 using dnf and everything works out of the box just as it should. -> So I don't think it's a problem with my network.

Lastly, I don't understand why interface=(null). I tried using the -I option to change the interface name but I have no idea what it could be so I just get UPNP_E_INVALID_INTERFACE (-121) instead.

Hope someone here can help!

mill1000 commented 6 months ago

Maybe try changing the port number with the --port option. Perhaps there is something already claiming the default port number.