Plex media server crash with Sonos

Hi Guys,

Been dealing with this for quite a while and though Plex coming out of beta with Sonos would resolve it but no go.

As soon as I play a track through the Sonos app, it crashes my Plex media server. Playback from the browser or Plex app is fine.

Any ideas?

More information is needed: namely, version of PMS, version of Sonos app, what platform is the Sonos app on, and if possible post your PMS logs.

https://support.plex.tv/articles/201455336-crash-logs-plex-media-server/

Thank you!

Always keep everything up to date:

Plex: Version 3.57.1
Sonos: 8.6

Not sure what you mean by platform Sonos is on. We use it from the PC software, and iPhone app.

I tried all advise on the URL but could not get it to create crash dumps :frowning:

Hey @guydicara -

Like @darcilicious mentioned the issue is likely on the PMS side and we’d need to take a look at your PMS logs to see exactly what is crashing. The Sonos logs don’t show much other than timeouts, presumably when PMS has crashed.

Thank you.

I can’t get the logs to create and dump. Any ideas on how I can generate crash dumps?

I edited the registry too but no luck

This should help with finding logs

https://support.plex.tv/articles/200250417-plex-media-server-log-files/

1 Like

This helped!

I ran Sonos app (software on Windows) located on the same machine as PMS. While browsing music it crashed. I pulled the logs after restarting PMS. Logs are attached. Thank you!

Plex Media Server Logs_2018-06-26_17-44-33.zip (7.6 MB)

1 Like

There was a request for all tracks in a library and that would have exhausted the server resources and would have run out of memory and crash

Jun 26, 2018 17:44:06.397 [9196] DEBUG - Request: [52.90.142.21:60502 (WAN)] GET /library/sections/1/all?type=9&sort=addedAt%3Adesc (5 live) TLS Signed-in Token (guydicara)

Jun 26, 2018 17:44:07.813 [9196] DEBUG - It took 1234.375000 ms to retrieve 15475 items.

If you enable verbose logging as well, I can confirm if the application making these requests was paging the requests (ie 100 or 200 at a time)

This sort of problem was also noticed in Plex Web - but only when doing a multi-select of tracks from a massive library

Thank you!

I enabled verbose logging, caused another crash, then downloaded logs

Thank you - Will discuss this with the sonos plex team

I have removed your zipped logs from the post. I will explain in a private message

Thanks for providing the logs…turns out pagination was not actually working like we thought it was. An update has gone out that should fix the issues. Please give it a try and let us know!

Thank you John,

Is this the update you are referring to?
Version 1.13.2.5154

We have over 100K in tracks FYI

That is a server version. John was referring to the Plex for Sonos app - see release notice

Plex for Sonos version 2.0.8

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