Plex Media Server Crash

Thanks. (rough day here)

Do you have any higher resolution of that screenshot - OR - can you provide just the left side ?

The forum has reduced (compressed) it so much that I can’t read it when expanded. It looks like a CURL 7 error but i’m not certain.

There are no obvious transcoding errors in the logs which I can find yet. I’m hoping the screenshot can guide me better

No worries I am out right now but I will replicate it and post a cropped larger version of it. I appreciate the attention


Here is the larger version of the console, for sure is a transcoding issue.

Thanks for enlarging it.

The error you see reported there is Plex/web telling you it was polling another server and unable to connect it.

It’s showing the IP address in a slighly different (DNS-style) format.

it looks like the errors on the bottom at 22:16:15 are the ones that actually cause the crash, the huge resolution and other FFMPEG errors.

@ChuckPa

I had that trasncoding error when the quality was set to “Slowest” (This is with hardware acceleration disabled as currently everything crashes if hardware acceleration is enabled) Should be in the logs I sent you actually

Adjusting that up from slowest got rid of those error messages. Looks like the bundled ffmpeg has changed it’s preset names or inclusions

@insanemal

I’ve not had time to review what’s new in the transcoder update.
I do know there were a lot of changes including all the Iris/Xe GPU support.

Am I correct in restating:

  1. Transcode setting = SLOWEST
  2. HW transcoding enabled
  3. Transcode fails.

If so, do you have a log and/or can you add whether this is specific to any codec / resolution?

I’ve given you all my logs from it being broken to it working again. But I’ll break it down.

Plex was working fine. HW transcode and everything. Upgraded to 1.25.0.XXXX (both 1.25 versions that I’ve tried)
Plex Media Server started crashing every time transcoding was requested.

On a whim I disabled the “Use Hardware acceleration when available” option as well as the “Use Hardware-accelerated video encoding” options.

This stopped plex from crashing every time, without logs (it wasn’t writing anything to the logs when it crashed). Now it was not playing back video and logging the ffmpeg error that @Davidtt485 has. I changed from slowest to Very Slow on the background transcoding x264 preset and it started working.

This perplexed me as I didn’t think the background preset had anything to do with the real time transcoding. But it works now.

It does not matter which codec/format/resolution the source or destination is. If it has to transcode it does explode.

The most frustrating thing is the loss of direct play with “Use Hardware acceleration when available” disabled. I don’t know why a server side setting is messing with client side abilities

Oh and when it was broken Direct play still worked fine, which is actually why I didn’t notice the issue for a little bit.

I have replicated everything as above and most of my content is direct play which is why I did not notice it. The real tell was I was in the middle of a movie and when I went to finish it, it was crashing, it was than I realized the updates broke it.

1 Like

That is ****ing NUTS.

Thank you for laying it out for me.

I have something to go test , replicate, then start slapping around with a wet :fish:

:slight_smile:

1 Like

For me it was streaming over the internet which forced transcode. Otherwise everything is direct play.

I’m having the same issue, I downgraded to the previous version and everything is working fine again. Disabling hardware encoding does fix it, but that’s not going to work for my purposes.

1 Like

@graffix49519

Details please ?

Codecs used ?

(there is a known VC-1 bug – crashes it – already fixed and coming out in the next release

I was coming to write a post to ask for help when I came across this message. I get the error code indicated in the photo in all the movies that I have on VC-1 since version 1.25.0.5220 (it does not seem that there are problems with other codecs). Now that I know that it is a general problem, I am calmer.

how long till release of the fixed version?

do you need more logs?

Server: 1.25.0.5246 running on Synology DSM 7 (Intel 64-bit)
Client: Microsoft Edge 96.0.1054.34 (64-bit)

Experiencing same issue. On playback of certain files via web browser get error: Error code: s1002 (Network) on screen and WARN - [Transcode] [FFMPEG] - is not implemented in the logs.

Confirm that disabling:
“Use hardware acceleration when available” and
“Use hardware-accelerated video encoding”
stops the server from crashing when playing one of the media files from a web browser.

logs attached if needed
Plex Media Server Logs_2021-11-29_23-37-00.zip (40.1 KB)

@michaelbruch

Would you please confirm your Synology’s region settings are setup ?

I’m not getting anything legible but can translate it to ascii manually

@michaelbruch

Please turn DEBUG logging again?

Do not enable VERBOSE logging.

With DEBUG off, I can’t see enough to help beyond this:

Nov 29, 2021 23:15:04.984 [0x7f960f29cb38] ERROR - SSDP: Error parsing device schema for http://192.168.1.75:9080
Nov 29, 2021 23:15:44.905 [0x7f960f29cb38] ERROR - XML: Entity: line 1:^@
Nov 29, 2021 23:15:44.905 [0x7f960f29cb38] ERROR - XML: parser^@
Nov 29, 2021 23:15:44.905 [0x7f960f29cb38] ERROR - XML: error :^@
Nov 29, 2021 23:15:44.905 [0x7f960f29cb38] ERROR - XML: Start tag expected, '<' not found^@
Nov 29, 2021 23:15:44.905 [0x7f960f29cb38] ERROR - XML: status=ok^@
Nov 29, 2021 23:15:44.905 [0x7f960f29cb38] ERROR - XML: ^^@
Nov 29, 2021 23:15:44.905 [0x7f960f29cb38] ERROR - Error parsing content.
Nov 29, 2021 23:15:44.905 [0x7f960f29cb38] ERROR - Error parsing XML: Error parsing file.
Nov 29, 2021 23:15:44.905 [0x7f960f29cb38] ERROR - SSDP: Error parsing device schema for http://192.168.1.75:9080
Nov 29, 2021 23:15:45.932 [0x7f960eb30b38] WARN - [Transcode] [FFMPEG] - No quality level set; using default (20).
Nov 29, 2021 23:15:45.937 [0x7f960eb30b38] WARN - [Transcode] [FFMPEG] - Huge resolution
Nov 29, 2021 23:15:45.937 [0x7f960eb30b38] WARN - [Transcode] [FFMPEG] -  is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
Nov 29, 2021 23:15:45.937 [0x7f960eb30b38] WARN - [Transcode] [FFMPEG] - If you want to help, upload a sample of this file to https://streams.videolan.org/upload/ and contact the ffmpeg-devel mailing list. (ffmpeg-devel@ffmpeg.org)

I would like to know what you were playing and if I may have both the XML and a sample of it .

I’d also like to you if you customized the transcoder in any way .

Was having same issues as everyone above. Checked codecs and also only happening on VC-1 stuff. Glad to know next update should fix it, but thanks graffix49519 for the tip in turning off hardware encoding. Can at least temporarily have everything working again till the update comes, but will then turn it back on and see if its fixed for sure as I as well would prefer hardware encoding to be enabled.

Synology Regional setting are standard English:

Have tried it again, with DEBUG logging enabled.

Server logs attached.
Plex Media Server Logs_2021-12-01_21-52-59.zip (1.1 MB)

XML of file I was playing:
File.xml.txt (25.2 KB)

Gonna grab PMS 1.25.1.5286 and see if the issue reoccurs.