-
-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
emby: DLNA components fail to start/run #24093
Comments
cc @fadenb |
@dtzWill can confirm that it is not working. IIRC this has always been the issue on NixOS. |
Thanks for the confirmation and information. My investigation efforts suggested it was an Emby-on-Linux thing as well. Here's the source from Emby around where the exception is thrown: I'm a mono noob so I'm not in a position to debug this properly but this might be an instance of: https://bugzilla.xamarin.com/show_bug.cgi?id=36941 Which basically suggests that the way they set the MulticastTimeToLive socket option doesn't work on Linux (which AFAICT seems to be a mono bug but what do I know), and may be fixed with the suggested workaround (?). EDIT: I've tracked down the problem a bit more, commented on the linked upstream bug.. let's see what they have to say :) |
No response upstream yet, but I tried to reproduce the bug using a "known-good" copy of mono, so I tried it with a few versions of the ('mono' docker image)[https://hub.docker.com/_/mono/] and all of them worked where ours does not. So maybe this is somehow a bug in how we build mono? |
After a fair bit of debugging, I've got DLNA working now! 😀 The problem originates with our currently outdated copy of "/etc/protocols", see my comment on one of the PR's addressing this issue for an explanation of how this broke things: #24053 (comment) Just fired up my ps4 and it had no trouble seeing my Emby server right away \o/. What a doozy! |
Closing, fixed when #24053 was merged. 👍 |
Issue description
After enabling the emby service on Nix 17.03, things seem to mostly work great (hooray!) but DLNA doesn't work. Investigating a bit this seems to be due to some problem while creating/configuring the necessary sockets.
Observed behavior is I'm unable to see DLNA devices on the network.
Relevant bit from server log:
I tried using different versions of Emby (including latest) and Mono, but no luck. In particular it seems Emby requires Mono 4.6.2 while we are using 4.6.0--but bumping our mono version didn't change this behavior, neither did using 4.4 or 4.2 (it failed to run with 4.2 if I remember correctly).
Steps to reproduce
configuration.nix
http://localhost:8096
, complete setup wizardTechnical details
nixos-version
, Ubuntu/Fedora:lsb_release -a
, ...)17.03beta501.acb7958
nix-env --version
)nix-env (Nix) 1.11.7
nix-instantiate --eval '<nixpkgs>' -A lib.nixpkgsVersion
)"17.03beta501.acb7958"
The text was updated successfully, but these errors were encountered: