[Edit] I updated the subject to better reflect the issue.
I have a particular movie that fails to play on my NVidia Shield TV.
On pressing play, I get a connection to server lost message.
As far as I can tell this is the only movie that fails to play.
The same movie plays fine from my NVidia Shield K1 tablet and from Roku3.
Full logs here: https://1drv.ms/u/s!AqeqhT0NczrNhdF1gjGRJF-C24Kf8g
The Shield log looks like this:
05-13 14:10:00.034 i: [video] Starting Playback for: Office Christmas Party
05-13 14:10:00.036 i: [Exo1VideoPlayer] Using ExtractorRendererBuilder with container type mkv.
05-13 14:10:00.036 i: [RefreshRateBehaviour] Checking refresh rate
05-13 14:10:00.039 i: [RefreshRateBehaviour] Target refresh rate: 23.976
05-13 14:10:00.039 i: [RefreshRateBehaviour] Refresh rates available: 23.976025, 24.0, 29.97003, 30.0, 59.94006, 60.0
05-13 14:10:00.040 i: [RefreshRateBehaviour] Current refresh rate: 59.94006
05-13 14:10:00.040 i: [RefreshRateBehaviour] Best refresh rate: 23.976025 (1920x1080)
05-13 14:10:00.040 i: [RefreshRateBehaviour] Performing refresh rate switch, 23.976025 (id: 0)
05-13 14:10:00.040 i: Fetching [method:GET] https://192.168.1.47:32400/:/timeline?containerKey=%2FplayQueues%2F763&duration=6647599&guid=com.plexapp.agents.imdb%3A%2F%2Ftt1711525%3Flang%3Den&key=%2Flibrary%2Fmetadata%2F84725&machineIdentifier=688f57617908b7525f5903e7a3b30977db9e1c75&playQueueItemID=14536&ratingKey=84725&state=buffering&time=0&token=...UtU6&X-Plex-Client-Identifier=c61af2a494aa6d72-com-plexapp-android&X-Plex-Token=...UtU6
05-13 14:10:00.486 i: [RefreshRateBehaviour] Detected display changed (0).
05-13 14:10:01.491 i: [HdmiCaps] Capabilties changed (AudioCapabilities[maxChannelCount=2, supportedEncodings=[2]])
05-13 14:10:01.491 i: [AudioCapabilitiesSource] Reporting capabilities changed
05-13 14:10:01.491 i: [HdmiUnplugBehaviour] Detected HDMI unplugged event.
05-13 14:10:01.528 i: [AudioCapabilitiesSource] Reporting capabilities changed
05-13 14:10:01.528 i: [AudioCapabilitiesSource] Reporting capabilities changed
05-13 14:10:01.528 i: [HdmiCaps] Capabilties changed (AudioCapabilities[maxChannelCount=8, supportedEncodings=[2, 4, 5, 6, 7, 8, 13, 14]])
05-13 14:10:01.528 i: [AudioCapabilitiesSource] Reporting capabilities changed
05-13 14:10:01.528 i: [RefreshRateBehaviour] Detected HDMI plugged event.
05-13 14:10:01.529 i: [RefreshRateBehaviour] Building renderers...
05-13 14:10:01.530 i: [ExoVideoPlayer] Renderers received
05-13 14:10:01.530 i: [ExoVideoPlayer] Seeking to 0ms
05-13 14:10:01.533 i: [pms] /127.0.0.1:41251 - GET /proxy
05-13 14:10:01.533 i: [Proxy] Request received: https://192.168.1.47:32400/library/parts/114026/1491340654/file.mkv?autoAdjustQuality=0&hasMDE=1&location=lan&mediaBufferSize=16384&X-Plex-Client-Identifier=c61af2a494aa6d72-com-plexapp-android&X-Plex-Supported-Commands=abort&X-Plex-Token=...UtU6
05-13 14:10:01.569 i: [Exo1VideoPlayer] Player state changed: 2, Restarting: true
05-13 14:10:01.740 i: [Proxy] Response: 200
05-13 14:10:01.844 i: [pms] /127.0.0.1:41253 - GET /proxy
05-13 14:10:01.844 i: [Proxy] Request received: https://192.168.1.47:32400/library/parts/114026/1491340654/file.mkv?autoAdjustQuality=0&hasMDE=1&location=lan&mediaBufferSize=16384&X-Plex-Client-Identifier=c61af2a494aa6d72-com-plexapp-android&X-Plex-Supported-Commands=abort&X-Plex-Token=...UtU6
05-13 14:10:01.860 i: [Exo1VideoPlayer] Bandwidth sample, Elapsed: 101, Bytes: 5542, Bitrate: 438970
05-13 14:10:01.946 e: An exception occurred: java.io.IOException: Connection reset by peer
05-13 14:10:01.947 e: Stacktrace: java.io.IOException: Connection reset by peer
at sun.nio.ch.FileDispatcherImpl.write0(Native Method)
at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:53)
at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:93)
at sun.nio.ch.IOUtil.write(IOUtil.java:51)
at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:490)
at org.jboss.netty.channel.a.a.x.a(SourceFile:240)
...
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
at java.lang.Thread.run(Thread.java:761)
05-13 14:10:01.948 w: [pms] Client closed the channel
05-13 14:10:02.041 i: [Proxy] Response: 206
05-13 14:10:02.067 i: [Exo1VideoPlayer] Bandwidth sample, Elapsed: 23, Bytes: 39068, Bitrate: 13588869
05-13 14:10:02.071 i: [pms] /127.0.0.1:41255 - GET /proxy
05-13 14:10:02.072 i: [Proxy] Request received: https://192.168.1.47:32400/library/parts/114026/1491340654/file.mkv?autoAdjustQuality=0&hasMDE=1&location=lan&mediaBufferSize=16384&X-Plex-Client-Identifier=c61af2a494aa6d72-com-plexapp-android&X-Plex-Supported-Commands=abort&X-Plex-Token=...UtU6
05-13 14:10:02.079 i: [Proxy] Response: 206
05-13 14:10:02.083 i: [pms] /127.0.0.1:41256 - GET /proxy
05-13 14:10:02.084 i: [Proxy] Request received: https://192.168.1.47:32400/library/parts/114026/1491340654/file.mkv?autoAdjustQuality=0&hasMDE=1&location=lan&mediaBufferSize=16384&X-Plex-Client-Identifier=c61af2a494aa6d72-com-plexapp-android&X-Plex-Supported-Commands=abort&X-Plex-Token=...UtU6
05-13 14:10:02.109 i: [Exo1VideoPlayer] Player state changed: 3, Restarting: true
05-13 14:10:02.182 e: An exception occurred: java.io.IOException: Broken pipe
05-13 14:10:02.184 e: Stacktrace: java.io.IOException: Broken pipe
at sun.nio.ch.FileDispatcherImpl.write0(Native Method)
at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:53)
at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:93)
at sun.nio.ch.IOUtil.write(IOUtil.java:51)
at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:490)
at org.jboss.netty.channel.a.a.x.a(SourceFile:240)
...
at org.jboss.netty.e.a.ab$1.run(SourceFile:44)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
at java.lang.Thread.run(Thread.java:761)
05-13 14:10:02.185 w: [pms] Client closed the channel
The PMS log looks like this:
May 13, 2017 14:05:59.423 [4900] DEBUG - We're going to try to auto-select an audio stream for account 1.
May 13, 2017 14:05:59.423 [4900] DEBUG - Selecting best audio stream for part ID 109591 (autoselect: 1 language: en)
May 13, 2017 14:05:59.423 [4900] DEBUG - Audio Stream: 234571, Subtitle Stream: -1
May 13, 2017 14:05:59.423 [4900] DEBUG - It took 0.0 sec to serialize a list with 1 elements.
May 13, 2017 14:05:59.423 [3496] DEBUG - Completed: [127.0.0.1:50414] 200 GET /library/metadata/31997 (30 live) GZIP 3ms 1490 bytes
May 13, 2017 14:05:59.626 [3496] DEBUG - Auth: We found auth token (xxxxxxxxxxxxxxxxxxxx), enabling token-based authentication.
May 13, 2017 14:05:59.626 [3496] DEBUG - Auth: authenticated user 1 as ptr727
May 13, 2017 14:05:59.626 [3496] DEBUG - Auth: Came in with a super-token, authorization succeeded.
May 13, 2017 14:05:59.626 [2888] DEBUG - Request: [192.168.1.150:42630 (Subnet)] GET /library/parts/114026/1491340654/file.mkv?autoAdjustQuality=0&hasMDE=1&location=lan&mediaBufferSize=16384 (32 live) TLS Signed-in Token (ptr727)
May 13, 2017 14:05:59.626 [2888] VERBOSE - * Accept-Encoding => identity
May 13, 2017 14:05:59.626 [2888] VERBOSE - * Connection => Keep-Alive
May 13, 2017 14:05:59.626 [2888] VERBOSE - * User-Agent => ExoPlayer/5.10.0.55 (Linux;Android 7.0) ExoPlayerLib/1.5.16
May 13, 2017 14:05:59.626 [2888] VERBOSE - * Host => 192.168.1.47:32400
May 13, 2017 14:05:59.626 [2888] VERBOSE - * X-Plex-Client-Identifier => c61af2a494aa6d72-com-plexapp-android
May 13, 2017 14:05:59.626 [2888] VERBOSE - * X-Plex-Supported-Commands => abort
May 13, 2017 14:05:59.626 [2888] VERBOSE - * X-Plex-Token => xxxxxxxxxxxxxxxxxxxx
May 13, 2017 14:05:59.626 [2888] VERBOSE - * autoAdjustQuality => 0
May 13, 2017 14:05:59.626 [2888] VERBOSE - * hasMDE => 1
May 13, 2017 14:05:59.626 [2888] VERBOSE - * location => lan
May 13, 2017 14:05:59.626 [2888] VERBOSE - * mediaBufferSize => 16384
May 13, 2017 14:05:59.642 [2888] VERBOSE - [IDLE] Adding (0->1) work item http_download - /library/parts/114026/1491340654/file.mkv?autoAdjustQuality=0&hasMDE=1&location=lan&mediaBufferSize=16384&X-Plex-Client-Identifier=c61af2a494aa6d72-com-plexapp-android&X-Plex-Supported-Commands=abort&X-Plex-Token=xxxxxxxxxxxxxxxxxxxx
May 13, 2017 14:05:59.642 [2888] VERBOSE - [IDLE] * http_download - /library/parts/114026/1491340654/file.mkv?autoAdjustQuality=0&hasMDE=1&location=lan&mediaBufferSize=16384&X-Plex-Client-Identifier=c61af2a494aa6d72-com-plexapp-android&X-Plex-Supported-Commands=abort&X-Plex-Token=xxxxxxxxxxxxxxxxxxxx - 1 active item(s)
May 13, 2017 14:05:59.642 [2888] VERBOSE - [IDLE] * http_download - /player/proxy/poll?deviceClass=pc&protocolVersion=1&protocolCapabilities=timeline%2Cplayback%2Cnavigation%2Cmirror%2Cplayqueues&timeout=1&X-Plex-Product=Plex%20Web&X-Plex-Version=3.2.1&X-Plex-Client-Identifier=bn9ook4n5wm6ka8xc7cvdcdl&X-Plex-Platform=Chrome&X-Plex-Platform-Version=60.0&X-Plex-Device=Windows&X-Plex-Device-Name=Plex%20Web%20%28Chrome%29&X-Plex-Device-Screen-Resolution=1746x1044%2C1920x1200&X-Plex-Token=xxxxxxxxxxxxxxxxxxxx - 1 active item(s)
May 13, 2017 14:05:59.642 [2888] DEBUG - Content-Length of \\STORAGE\Media\Movies\Movies\Office Christmas Party (2016)\Office Christmas Party (2016).mkv is 8523153641.
May 13, 2017 14:05:59.861 [3496] DEBUG - Auth: We found auth token (xxxxxxxxxxxxxxxxxxxx), enabling token-based authentication.
May 13, 2017 14:05:59.861 [3496] DEBUG - Auth: authenticated user 1 as ptr727
May 13, 2017 14:05:59.861 [3496] DEBUG - Auth: Came in with a super-token, authorization succeeded.
May 13, 2017 14:05:59.861 [3068] DEBUG - Request: [192.168.1.150:42632 (Subnet)] GET /library/parts/114026/1491340654/file.mkv?autoAdjustQuality=0&hasMDE=1&location=lan&mediaBufferSize=16384 (32 live) TLS Signed-in Token (ptr727)
May 13, 2017 14:05:59.861 [3068] VERBOSE - * Accept-Encoding => identity
May 13, 2017 14:05:59.861 [3068] VERBOSE - * Connection => Keep-Alive
May 13, 2017 14:05:59.861 [3068] VERBOSE - * Range => bytes=8523114573-
May 13, 2017 14:05:59.861 [3068] VERBOSE - * User-Agent => ExoPlayer/5.10.0.55 (Linux;Android 7.0) ExoPlayerLib/1.5.16
May 13, 2017 14:05:59.861 [3068] VERBOSE - * Host => 192.168.1.47:32400
May 13, 2017 14:05:59.861 [3068] VERBOSE - * X-Plex-Client-Identifier => c61af2a494aa6d72-com-plexapp-android
May 13, 2017 14:05:59.861 [3068] VERBOSE - * X-Plex-Supported-Commands => abort
May 13, 2017 14:05:59.861 [3068] VERBOSE - * X-Plex-Token => xxxxxxxxxxxxxxxxxxxx
May 13, 2017 14:05:59.861 [3068] VERBOSE - * autoAdjustQuality => 0
May 13, 2017 14:05:59.861 [3068] VERBOSE - * hasMDE => 1
May 13, 2017 14:05:59.861 [3068] VERBOSE - * location => lan
May 13, 2017 14:05:59.861 [3068] VERBOSE - * mediaBufferSize => 16384
May 13, 2017 14:05:59.861 [3068] DEBUG - Request range: 8523114573 to 0
May 13, 2017 14:05:59.861 [3068] VERBOSE - [IDLE] Adding (1->2) work item http_download - /library/parts/114026/1491340654/file.mkv?autoAdjustQuality=0&hasMDE=1&location=lan&mediaBufferSize=16384&X-Plex-Client-Identifier=c61af2a494aa6d72-com-plexapp-android&X-Plex-Supported-Commands=abort&X-Plex-Token=xxxxxxxxxxxxxxxxxxxx
May 13, 2017 14:05:59.861 [3068] VERBOSE - [IDLE] * http_download - /library/parts/114026/1491340654/file.mkv?autoAdjustQuality=0&hasMDE=1&location=lan&mediaBufferSize=16384&X-Plex-Client-Identifier=c61af2a494aa6d72-com-plexapp-android&X-Plex-Supported-Commands=abort&X-Plex-Token=xxxxxxxxxxxxxxxxxxxx - 2 active item(s)
May 13, 2017 14:05:59.861 [3068] VERBOSE - [IDLE] * http_download - /player/proxy/poll?deviceClass=pc&protocolVersion=1&protocolCapabilities=timeline%2Cplayback%2Cnavigation%2Cmirror%2Cplayqueues&timeout=1&X-Plex-Product=Plex%20Web&X-Plex-Version=3.2.1&X-Plex-Client-Identifier=bn9ook4n5wm6ka8xc7cvdcdl&X-Plex-Platform=Chrome&X-Plex-Platform-Version=60.0&X-Plex-Device=Windows&X-Plex-Device-Name=Plex%20Web%20%28Chrome%29&X-Plex-Device-Screen-Resolution=1746x1044%2C1920x1200&X-Plex-Token=xxxxxxxxxxxxxxxxxxxx - 1 active item(s)
May 13, 2017 14:05:59.861 [3068] DEBUG - Content-Length of \\STORAGE\Media\Movies\Movies\Office Christmas Party (2016)\Office Christmas Party (2016).mkv is 8523153641.
May 13, 2017 14:05:59.876 [3496] DEBUG - Completed: [192.168.1.150:42632] 200 GET /library/parts/114026/1491340654/file.mkv?autoAdjustQuality=0&hasMDE=1&location=lan&mediaBufferSize=16384 (32 live) TLS 15ms 39068 bytes (pipelined: 1)
May 13, 2017 14:05:59.876 [3496] VERBOSE - [IDLE] Removing (2->1) work item http_download - /library/parts/114026/1491340654/file.mkv?autoAdjustQuality=0&hasMDE=1&location=lan&mediaBufferSize=16384&X-Plex-Client-Identifier=c61af2a494aa6d72-com-plexapp-android&X-Plex-Supported-Commands=abort&X-Plex-Token=xxxxxxxxxxxxxxxxxxxx
May 13, 2017 14:05:59.876 [3496] VERBOSE - [IDLE] * http_download - /library/parts/114026/1491340654/file.mkv?autoAdjustQuality=0&hasMDE=1&location=lan&mediaBufferSize=16384&X-Plex-Client-Identifier=c61af2a494aa6d72-com-plexapp-android&X-Plex-Supported-Commands=abort&X-Plex-Token=xxxxxxxxxxxxxxxxxxxx - 1 active item(s)
May 13, 2017 14:05:59.876 [3496] VERBOSE - [IDLE] * http_download - /player/proxy/poll?deviceClass=pc&protocolVersion=1&protocolCapabilities=timeline%2Cplayback%2Cnavigation%2Cmirror%2Cplayqueues&timeout=1&X-Plex-Product=Plex%20Web&X-Plex-Version=3.2.1&X-Plex-Client-Identifier=bn9ook4n5wm6ka8xc7cvdcdl&X-Plex-Platform=Chrome&X-Plex-Platform-Version=60.0&X-Plex-Device=Windows&X-Plex-Device-Name=Plex%20Web%20%28Chrome%29&X-Plex-Device-Screen-Resolution=1746x1044%2C1920x1200&X-Plex-Token=xxxxxxxxxxxxxxxxxxxx - 1 active item(s)
May 13, 2017 14:05:59.876 [4976] DEBUG - Streaming Resource: Updating client bandwidth to 3125kbps with most recent 3125kbps (39068)
May 13, 2017 14:05:59.876 [3496] DEBUG - Failed to stream media, client probably disconnected: 10054 - An existing connection was forcibly closed by the remote host
May 13, 2017 14:05:59.876 [3496] DEBUG - Completed: [192.168.1.150:42630] 200 GET /library/parts/114026/1491340654/file.mkv?autoAdjustQuality=0&hasMDE=1&location=lan&mediaBufferSize=16384 (32 live) TLS 251ms 4718592 bytes (pipelined: 1)
