Lyricfind.plex.tv returns 404 for all Lyrics

Server Version#: 1.40.2.8395
Player Version#: Web 4.125.1 - Plexamp 4.10.1 - Plex for Android 10.16.1.842

Hey there,

Very long time user here :sweat_smile: back when it was Xbox Media Center on the OG Xbox with a Xecuter chip :older_man:

I’m having a new issue that nobody seems to be reporting so I’m baffled.

The music Lyrics that use to work so well suddenly stopped working in all client as it is the server that returns a 404 when asking for the lyrics :

Jun 12, 2024 20:18:15.296 [140336470403896] DEBUG - Completed: [192.168.1.22:34224] 404 GET /library/streams/206022?format=xml&includeInlineAttribution=1&in
cludeFields=thumbBlurHash (8 live) #6db0 TLS GZIP 577ms 379 bytes (pipelined: 30)

I got the same from all clients. If I go directly on the server and forge the URL I get the same 404 http://192.168.1.105:32400/library/streams/212670?format=xml

At the same time I have a query on my pihole for lyricfind.plex.tv that returns fine but then if I try to curl it I get a 404 as well…

curl -iL https://lyricfind.plex.tv
HTTP/2 404 
date: Wed, 12 Jun 2024 20:27:40 GMT
content-type: text/html
content-length: 548
strict-transport-security: max-age=31536000; includeSubDomains; preload
x-frame-options: SAMEORIGIN
x-xss-protection: 1; mode=block
cf-cache-status: HIT
expires: Thu, 20 Jun 2024 20:27:40 GMT
cache-control: public, max-age=691200
server: cloudflare
cf-ray: 892c9537a9266ef1-CDG

<html>
<head><title>404 Not Found</title></head>
<body>
<center><h1>404 Not Found</h1></center>
<hr><center>nginx</center>
</body>
</html>
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->

I just have the DNS request obviously as it is https… I found very weird that nobody reported this so I guess I must be missing something…

Server is a LXC container with Debian 12.5

root@plex:/# apt show plexmediaserver
Package: plexmediaserver
Version: 1.40.2.8395-c67dce28e
Priority: optional
Section: video
Maintainer: Plex Inc <noreply@plex.tv>
Installed-Size: 214 MB
Homepage: https://plex.tv
Download-Size: 82.0 MB
APT-Manual-Installed: yes
APT-Sources: https://downloads.plex.tv/repo/deb public/main amd64 Packages
Description: Plex organizes all of your personal media so you can easily access and enjoy it.

Any pointer on the internal behaviour of the Plex server lyrics plugin would be appreciated.

Thanks in advance guys
Letic

Should have added that the lyricfind plugin version I could find on the disk is :

cat Plug-in\ Support/Data/com.plexapp.agents.lyricfind/StoredValues
{"LastVersion": "2.6.3", "HTTP.system.CacheVersion": 1}

And that the lyricfind plugin logs has no new entry since April which probably corresponds to the last time it was actually working :thinking:

tail -9 Logs/PMS\ Plugin\ Logs/com.plexapp.agents.lyricfind.log
2024-04-19 22:52:19,111 (7f11ba522b38) :  DEBUG (core:539) - Server version is 1.40.2.8395-c67dce28e
2024-04-19 22:52:19,117 (7f11bdbc2808) :  INFO (core:611) - Started plug-in
2024-04-19 22:52:19,117 (7f11bdbc2808) :  DEBUG (socketinterface:160) - Starting socket server
2024-04-19 22:52:19,121 (7f11bdbc2808) :  DEBUG (runtime:1117) - Created a thread named 'start'
2024-04-19 22:52:19,121 (7f11bdbc2808) :  INFO (socketinterface:184) - Socket server started on port 34303
2024-04-19 22:52:19,121 (7f11bdbc2808) :  INFO (pipeinterface:25) - Entering run loop
2024-04-19 22:52:19,122 (7f11bdbc2808) :  DEBUG (runtime:717) - Handling request GET /:/prefixes
2024-04-19 22:52:19,125 (7f11bdbc2808) :  DEBUG (runtime:814) - Found route matching /:/prefixes
2024-04-19 22:52:19,127 (7f11bdbc2808) :  DEBUG (runtime:924) - Response: [200] MediaContainer, 153 bytes

A strange thing I noticed is that the web interface says that an update is available but the package from https://www.plex.tv/media-server-downloads/?cat=computer&plat=linux shows exactly the same version as I have v.1.40.2.8395-c67dce28e

Hope this helps

Do you have beta selected for update channel enabled in server setting ? It might be referencing the beta which is v.1.40.3.8555-fef15d30c and avail on that page if you hit the beta toggle on the downloads page

Thanks for the reply @BigWheel Nope it’s on the public one…
image

The last lyricfind logs from the 19th April shows the following exception :

2024-04-19 22:52:18,962 (7f11ba7bcb38) :  DEBUG (networking:144) - Requesting 'http://127.0.0.1:32400/system/messaging/clear_events/com.plexapp.agents.lyricfind'
2024-04-19 22:52:19,042 (7f11bdbc2808) :  DEBUG (accessor:68) - Creating a new model access point for provider com.plexapp.agents.lyricfind in namespace 'metadata'
2024-04-19 22:52:19,047 (7f11bdbc2808) :  DEBUG (networking:144) - Requesting 'http://127.0.0.1:32400/:/plugins/com.plexapp.system/resourceHashes'
2024-04-19 22:52:19,050 (7f11bdbc2808) :  ERROR (networking:197) - Error opening URL 'http://127.0.0.1:32400/:/plugins/com.plexapp.system/resourceHashes'
2024-04-19 22:52:19,051 (7f11bdbc2808) :  CRITICAL (runtime:1299) - Exception getting hosted resource hashes (most recent call last):
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-c67dce28e/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/runtime.py", line 1293, in get_resource_hashes
    json = self._core.networking.http_request("http://127.0.0.1:32400/:/plugins/com.plexapp.system/resourceHashes", timeout=10).content
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-c67dce28e/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/networking.py", line 243, in content
    return self.__str__()
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-c67dce28e/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/networking.py", line 221, in __str__
    self.load()
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-c67dce28e/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/networking.py", line 159, in load
    f = self._opener.open(req, timeout=self._timeout)
  File "/usr/lib/plexmediaserver/Resources/Python/python27.zip/urllib2.py", line 435, in open
    response = meth(req, response)
  File "/usr/lib/plexmediaserver/Resources/Python/python27.zip/urllib2.py", line 548, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/plexmediaserver/Resources/Python/python27.zip/urllib2.py", line 473, in error
    return self._call_chain(*args)
  File "/usr/lib/plexmediaserver/Resources/Python/python27.zip/urllib2.py", line 407, in _call_chain
    result = func(*args)
  File "/usr/lib/plexmediaserver/Resources/Python/python27.zip/urllib2.py", line 556, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 404: Not Found

Ok I upgraded the container to bookworm and try to reinstall plexmediaserver manually, because normally everything is done through Ansible. I realised that the postinst was making an error because it wanted wget. And now the lyrics are working again…
So as I did several things I don’t know which solved it

  • Upgrading to bookworm
  • Re-install plexmediaserver
  • Install wget then re-install plexmediaserver

It solved also some other agent issue (metadata not downloading randomly) that I had also so I guess the debian package must depends on some library that was failing in bullseye. All query now return 200 :
Jun 13, 2024 12:56:32.956 [139909893790520] DEBUG - Completed: [213.173.189.108:57122] 200 GET /library/streams/210167?format=xml&includeInlineAttribution=1&includeFields=thumbBlurHash (4 live) #291 TLS GZIP 530ms 1607 bytes (pipelined: 33)

Hope it can help somebody.

Also @BigWheel the web interface is now reporting that the server is up to date so I guess that all issues were linked.

1 Like

After a couple of days the 404 are back. Any developer could shed some lights on the way this is supposed to work so I can try to troubleshoot the issue ?

Investigating a bit more I can see it’s doing a LOT of 404 pretty much everywhere (navigating the Settings from the web GUI for example).
A restart get rid of them but they re-appear after a day or so… Any idea what could be causing this ?

I would need the full server logs to make a report (which you are welcome to message me). I can’t think of anything off the top of my head that would cause it

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.