mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-04 18:09:12 +03:00
UPnP discovery not working for some devices #2566
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Skyr on GitHub (Jan 30, 2021).
Originally assigned to: @BaronGreenback on GitHub.
Describe the bug
One device in my LAN don't show Jellyfin as library. Works perfectly with others (Yamaha receiver, BubbleUPnP app, ...).
The device had no problem with minidlna. I tried creating an indiviual profile, but without success.
System (please complete the following information):
To Reproduce
Expected behavior
Jellyfin should be discovered properly
Logs
Verbose dlna logging enabled, the logs show the following trace:
I'm not sure how far any protocols have progressed at this time.
tcpdump shows the multicast announcements, the xml at the radio's discovery location seems to be properly parsed, since the logs show the manufacturer details.
In the dump, I see this failed http request from the radio to Jellyfin:
I don't know how these two are related.
@BaronGreenback commented on GitHub (Jan 31, 2021):
The main discovery is done over UDP in a protocol called SSDP.
Once the devices have notified each other, then it moves across to http using SOAP requests.
Each device, during the advertisement phase transmits an "here am i - and this is my description" url. This is what JF uses to build up the device properties.
The error shown above is actually quite normal in that it happens when JF queries the device, but the device does not respond as it's otherwise engaged. (The error should really be a debug message.) In order to send this, it should have already discovered the device.
The tcpdump msgs you need to look at are the ones that return .xml data such as above.
Any coming inbound to JF can be ignored, as that is the devices querying the JF DLNA server for info.
It's the ones going from JF and their responses which will help.
Try enabling debug via the web and in the logging.default.json, but beware it fills the logs very quickly,
Also be aware, DLNA isn't IPv6 aware in this release.
@BaronGreenback commented on GitHub (Jan 31, 2021):
There are numerous things currently being worked on in the next release, including Auto profile creation, and DLNA tracing to aid in issues like this.
@stale[bot] commented on GitHub (Aug 21, 2021):
This issue has gone 120 days without comment. To avoid abandoned issues, it will be closed in 21 days if there are no new comments.
If you're the original submitter of this issue, please comment confirming if this issue still affects you in the latest release or nightlies, or close the issue if it has been fixed. If you're another user also affected by this bug, please comment confirming so. Either action will remove the stale label.
This bot exists to prevent issues from becoming stale and forgotten. Jellyfin is always moving forward, and bugs are often fixed as side effects of other changes. We therefore ask that bug report authors remain vigilant about their issues to ensure they are closed if fixed, or re-confirmed - perhaps with fresh logs or reproduction examples - regularly. If you have any questions you can reach us on Matrix or Social Media.