Plex Server Crashing Randomly

A lot of posts but not many server logs posted here captured after a crash

I can see logs from @pvk8336 but these are more than a month old - from June

I am looking at these logs

I can see after the upgrade to 1.27.0.5878, it took over 2 minutes for the database to get migrated to a new schema - during such db updates the server is not accessible and Plex Relay may get started by plex client apps

However, after the completion of the update, there is evidence of requests not being seen by the server.

Do you have any 3rd party proxy software running on the PC ? You can check by going into “Control Panel” / “Internet Options” / “Connections” / “Lan Settings”

Also you can get netstat output using an elevated command line window
Start / Run / cmd
Right click on “Command Prompt” app and select “Run As Administrator”
Then run netstat with something like

netstat -a -b -n > "%LocalAppData%\netstat_2022-Jul-15.txt"

and then upload this file
"%LocalAppData%\netstat_2022-Jul-15.txt"
and info on proxy server in use

The example i saw in the logs was

2022-06-08 10:29:39,842 (2814) :  DEBUG (networking:143) - Requesting 'http://127.0.0.1:32400/servers'

which failed and got a 500 error code

2022-06-08 10:29:39,842 (2814) :  DEBUG (runtime:924) - Response: [500] 3603 bytes

But the request did not get to the server according to the log - which suggests some proxy software intercepted it

Also earlier on there is a lot of evidence of corrupt http requests - again could be because of some application intercepting the requests and corrupting them

One of many examples

Jun 07, 2022 19:04:43.922 [8664] DEBUG - Request: [100.xxx.xxx:19219 (WAN)] WqN  (26 live) Signed-in
Jun 07, 2022 19:04:43.922 [8664] ERROR - Error parsing HTTP request: qN;ì¤ ú>{ƒ˜VI§™u·ƒ[FZ»äauКT„SÝïŸ|}åTqšå¿¢Ïže¢c‚!j\M‚›l/ø¨7U
Jun 07, 2022 19:04:43.923 [13560] DEBUG - Completed: [100.xxx.xxx:19219] 400 WqN  (26 live) 0ms 265 bytes

For anyone else with crashes - please run with the current version of Plex Media Server and with debug server logging not disabled and upload logs zip capture after a crash