Server not available on Xbox One. I feel like I've tried everything.

I keep getting the error message and I’m pulling my hair out trying to fix it. It will show my library no problem, I can go through everything from TV to Movies to Music and it loads the metadata just fine, but when I try to play something it says there’s an error communicating with the server.

So far I’ve tried hard rebooting the Xbox, restarting the PC, uninstalling and reinstalling the Xbox app, optimizing the database, refreshing the library, emptying the trash, cleaning the bundles, downgrading from 0.9.15.3 to 0.9.15.2 and back to 0.9.15.3 again, disabled and re-enabled remote access, logging out and logging back in again both on the Xbox as well as on the Plex server and still no luck. Xbox is running 1.5.0.0 and security settings are set to ‘Allow on same network as server’.

Have you checked your Plex Media Server.log?
https://support.plex.tv/hc/en-us/articles/200250417-Plex-Media-Server-Log-Files

Typically when this happens it means that the app requested a transcoded stream but the server was unable to transcode. Normally either from a server that can’t transcode or a server that doesn’t have enough free space for the transcode. Since the Xbox is expecting a video stream and doesn’t receive one it gives reports an error communicating with the server.

I have over 80 gigs of free space on my main PC drive and 45 gigs free on the Xbox itself I’d think that would be adequate to stream a 2.5 gig 1 hour long television episode in 720p.

I’m looking at the Media Server log but I do not know what I should be looking for. These are the last few lines:

Feb 16, 2016 14:11:39:429 [10416] DEBUG - Found session GUID of c619t7bqo2fn in session start.
Feb 16, 2016 14:11:39:429 [0644] DEBUG - Completed: [::ffff:192.168.0.4:49925] GET /video/:/transcode/universal/stop?session=c619t7bqo2fn (4 live) TLS GZIP 2ms 158 bytes 200
Feb 16, 2016 14:11:39:430 [10416] DEBUG - Killing job.
Feb 16, 2016 14:11:39:430 [10416] DEBUG - Job was already killed, not killing again.
Feb 16, 2016 14:11:39:430 [10416] DEBUG - Stopping transcode session c619t7bqo2fn
Feb 16, 2016 14:11:39:430 [10416] DEBUG - Cleaning directory for session c619t7bqo2fn (C:\Users\Chris\AppData\Local\Plex Media Server\Cache\Transcode\Sessions\plex-transcode-c619t7bqo2fn-4bcf6abd-a16a-4ee8-87e1-26dd5d747028)
Feb 16, 2016 14:11:39:431 [10416] DEBUG - Cleaning old transcode directories.
Feb 16, 2016 14:11:39:434 [10416] DEBUG - TranscodeJobManager: [Throttled] onTranscodeSessionStopped: c619t7bqo2fn
Feb 16, 2016 14:11:39:434 [10416] DEBUG - Whacked session, 0 remaining.
Feb 16, 2016 14:11:39:434 [10416] DEBUG - It took 0.0 sec to serialize a list with 0 elements.
Feb 16, 2016 14:11:39:434 [10416] DEBUG - Cleaning directory for session c619t7bqo2fn (C:\Users\Chris\AppData\Local\Plex Media Server\Cache\Transcode\Sessions\plex-transcode-c619t7bqo2fn-4bcf6abd-a16a-4ee8-87e1-26dd5d747028)
Feb 16, 2016 14:11:39:457 [11128] DEBUG - Request: [::ffff:192.168.0.4:49918] POST /player/proxy/timeline?commandID=0 (4 live) TLS GZIP

@chrissaunders666 said:
I’m looking at the Media Server log but I do not know what I should be looking for.

If you post the log with the name of the movie you’re trying to play we can help look. Unfortunately, since we don’t know what is wrong we can’t really say what to look for.

A quick ctrl F of the log shows that the name of the TV episode isn’t in the log anywhere, these are the last few lines of the log:

Feb 16, 2016 14:11:39:429 [10416] DEBUG - Found session GUID of c619t7bqo2fn in session start.
Feb 16, 2016 14:11:39:429 [0644] DEBUG - Completed: [::ffff:192.168.0.4:49925] GET /video/:/transcode/universal/stop?session=c619t7bqo2fn (4 live) TLS GZIP 2ms 158 bytes 200
Feb 16, 2016 14:11:39:430 [10416] DEBUG - Killing job.
Feb 16, 2016 14:11:39:430 [10416] DEBUG - Job was already killed, not killing again.
Feb 16, 2016 14:11:39:430 [10416] DEBUG - Stopping transcode session c619t7bqo2fn
Feb 16, 2016 14:11:39:430 [10416] DEBUG - Cleaning directory for session c619t7bqo2fn (C:\Users\Chris\AppData\Local\Plex Media Server\Cache\Transcode\Sessions\plex-transcode-c619t7bqo2fn-4bcf6abd-a16a-4ee8-87e1-26dd5d747028)
Feb 16, 2016 14:11:39:431 [10416] DEBUG - Cleaning old transcode directories.
Feb 16, 2016 14:11:39:434 [10416] DEBUG - TranscodeJobManager: [Throttled] onTranscodeSessionStopped: c619t7bqo2fn
Feb 16, 2016 14:11:39:434 [10416] DEBUG - Whacked session, 0 remaining.
Feb 16, 2016 14:11:39:434 [10416] DEBUG - It took 0.0 sec to serialize a list with 0 elements.
Feb 16, 2016 14:11:39:434 [10416] DEBUG - Cleaning directory for session c619t7bqo2fn (C:\Users\Chris\AppData\Local\Plex Media Server\Cache\Transcode\Sessions\plex-transcode-c619t7bqo2fn-4bcf6abd-a16a-4ee8-87e1-26dd5d747028)
Feb 16, 2016 14:11:39:457 [11128] DEBUG - Request: [::ffff:192.168.0.4:49918] POST /player/proxy/timeline?commandID=0 (4 live) TLS GZIP

That log snippet shows that a job was detected as being ended and so the transcode directories were cleaned up/removed.

The only thing ending the job is the error that pops up on the screen. Someone in another thread thinks it may be related to DTS audio in the file. Could there be a bug in the newest server update? I’ve never run into a problem regarding DTS audio before.

@chrissaunders666 said:
I have over 80 gigs of free space on my main PC drive and 45 gigs free on the Xbox itself I’d think that would be adequate to stream a 2.5 gig 1 hour long television episode in 720p.

Are you sure you’re not mixing GB and TB?
80 GB free space is NOTHING for media, especially the transcode directory.
Are you sure you don’t mean a 2.5TB 1 hour long tv episode?

@cayars said:

Are you sure you’re not mixing GB and TB?
80 GB free space is NOTHING for media, especially the transcode directory.
Are you sure you don’t mean a 2.5TB 1 hour long tv episode?

I am positive. I have 3 drives where I store my media, one has 81.9 gigs of free space, one has 50.7 gigs free and the third has 719 gigs free. The video file I am trying to play is 2.64 gigs. 2.5 terrabytes is insanely large for a 1 hour long TV episode. I’ve never heard of any singular episode of a television program being even remotely that large.

@chrissaunders666 said:
The only thing ending the job is the error that pops up on the screen. Someone in another thread thinks it may be related to DTS audio in the file. Could there be a bug in the newest server update? I’ve never run into a problem regarding DTS audio before.

A few of my children’s movies have DTS-MA audio that transcodes with no issues. DTS Audio will always trigger a transcode because Microsoft has not released a DTS decoder to 3rd party developers. This is why some people see problems with it.

The snippet you posted is after the job has already ended, so there isn’t anything to try and diagnose from it.

What is really strange is that it happened on season 2 episode 3, all of the previous episodes were all DTS audio .MKV files and played no problem. But now the episodes I’ve already watched won’t play either.

I have attached the Media Server log (didn’t know I could before).

To help isolate the issue, shut down the Plex server, then restart it and wait a couple of minutes. Next, use a client to start playing back a file that causes the error. After the error happens, wait two minutes, then close the client and the server, and attach the new log file.

@kegobeer-plex said:
To help isolate the issue, shut down the Plex server, then restart it and wait a couple of minutes. Next, use a client to start playing back a file that causes the error. After the error happens, wait two minutes, then close the client and the server, and attach the new log file.

When you say client do you mean the Xbox or a web browser or mobile app?

Whatever client causes the problem, use that one. If it only happens on the Xbox, then use that.

@chrissaunders666 said:
What is really strange is that it happened on season 2 episode 3, all of the previous episodes were all DTS audio .MKV files and played no problem. But now the episodes I’ve already watched won’t play either.

I have attached the Media Server log (didn’t know I could before).

Feb 16, 2016 16:01:54:902 [8476] ERROR - Couldn’t find the file to stream: G:\TV\The Newsroom\The Newsroom (2012) - 2x03 - Willie Pete.en.srt

Feb 16, 2016 16:01:54:906 [3692] DEBUG - Downloaded stream from [127.0.0.1:32400/library/streams/871896?X-Plex-Token=xxxxxxxxxxxxxxxxxxxx] (codec: srt) to temporary file [C:\Users\Chris\AppData\Local\Plex Media Server\Cache\Transcode\Sessions\plex-transcode-5l3zhqranuu3-49666ed7-035c-4414-9bb0-e2173dee2825 emp-0.srt]

Feb 16, 2016 16:01:58:786 [8476] ERROR - [Transcoder] C:\Users\Chris\AppData\Local\Plex Media Server\Cache\Transcode\Sessions\plex-transcode-5l3zhqranuu3-49666ed7-035c-4414-9bb0-e2173dee2825 emp-0.srt: Invalid data found when processing input

It looks like the transcoder is having trouble with the subtitle which is causing the entire transcode to fail. What it looks like is the server is looking for the srt file, can’t find it, but is either trying to copy it still or using one from a download agent (Can’t tell from the logs), and then this file (or lack there of) is causing the transcode to fail to start.

If it is the missing subtitle the library might need a refresh/empty trash/clean bundles to get the data right again. If it is a subtitle from an agent it might actually be a corrupted subtitle file or a file with bad data inside of it. Because the transcode is failing from the start I would lean more towards corrupted file as normally bad data will cause the subtitles to error out at that point and not the start (unless the bad data is at the start)

@kegobeer-plex said:
To help isolate the issue, shut down the Plex server, then restart it and wait a couple of minutes. Next, use a client to start playing back a file that causes the error. After the error happens, wait two minutes, then close the client and the server, and attach the new log file.

Ok, attached is the log.

What’s the name of the file that has problems?

@kegobeer-plex said:
What’s the name of the file that has problems?

The Newsroom (2012) - 2x03 - Willie Pete.mkv

Feb 16, 2016 16:49:04:332 [9304] ERROR - [Transcoder] C:\Users\Chris\AppData\Local\Plex Media Server\Cache\Transcode\Sessions\plex-transcode-hd76he8f8pcv-d76407db-12d7-4706-b434-f0b72dfeca3a emp-0.srt: Invalid data found when processing input Feb 16, 2016 16:49:04:336 [6360] ? - [Transcoder] Feb 16, 2016 16:49:04:363 [9984] ERROR - PeekNamedPipe failed: 0x6d Feb 16, 2016 16:49:04:363 [9984] ERROR - Failed to start session successfully.

Something in that file is causing the transcoder to fail. Any chance you can run it through mediainfo and post the info?

@chrissaunders666 said:

@kegobeer-plex said:
To help isolate the issue, shut down the Plex server, then restart it and wait a couple of minutes. Next, use a client to start playing back a file that causes the error. After the error happens, wait two minutes, then close the client and the server, and attach the new log file.

Ok, attached is the log.

That log has the same errors:

Feb 16, 2016 16:49:03:898 [8260] ERROR - Couldn’t find the file to stream: G:\TV\The Newsroom\The Newsroom (2012) - 2x03 - Willie Pete.en.srt
Feb 16, 2016 16:49:03:904 [9984] DEBUG - Downloaded stream from [127.0.0.1:32400/library/streams/871896?X-Plex-Token=xxxxxxxxxxxxxxxxxxxx] (codec: srt) to temporary file [C:\Users\Chris\AppData\Local\Plex Media Server\Cache\Transcode\Sessions\plex-transcode-hd76he8f8pcv-d76407db-12d7-4706-b434-f0b72dfeca3a emp-0.srt]
Feb 16, 2016 16:49:04:332 [9304] ERROR - [Transcoder] C:\Users\Chris\AppData\Local\Plex Media Server\Cache\Transcode\Sessions\plex-transcode-hd76he8f8pcv-d76407db-12d7-4706-b434-f0b72dfeca3a emp-0.srt: Invalid data found when processing input
Feb 16, 2016 16:49:04:363 [9984] ERROR - Failed to start session successfully.