@ricardo_duron said:
Hi,
I have tried to resolve this issue, looking at the forums and on the internet. But have not found a fix yet. Hope you can help me or at least point me in the right direction.
I am using Version 0.9.12.19 of the Plex Server running on a Windows 10(64bit) machine Core i7-3770K with 16GB of Memory. My AppleTV4 is connected with a cable to the network.
My problem is that I get the error 10054 when using direct play on the Apple TV4, I cannot see a movie using direct play. If I switch to direct stream or transcoding (any bitrate) the problem disappears. Or at least visually on the television, I am unfortunately not a plex-log expert.
Note that I have tested all transcoding bitrates without being able to duplicate the problem.
I have tried with and without secure connections, without any difference to the behavior described above.
In order to debug further I have connected a WiFi Access Point to the same switch the Apple TV4 is connected to. I connected an iPhone6s to the Access Point, activated direct play and could watch the movie without any issues. The only difference in this setup is the last physical Ethernet cable. I.e. instead of ~50cm of cable between the switch and the AppleTV4, I use WiFi to the iPhone6s. The rest of the “path” in the network is the same.
I now connected the AppleTV4 to the Access Point via WiFi, activated direct play, and the problem is still there.
When I watch Movies via Netflix, iTunes or other apps on the Apple TV4, no such problems occur when connected via cable or WiFi. I guess it is safe to say the Apple TV4 network card is working as it should.
I have attached a log file.
Regards and looking forward to your reply,
Ricardo
with problems like this it is often necessary to look at a problem from both sides so try and get logs from both the Apple TV app and Plex Media Server and also what is very important is to know exactly when the error appeared so that one can see what was happening in both logs. If the times are adrift between server and device - it is important to know what that is.
Was this error displayed on the Apple TV Plex app or is this just referring to what you see in the Plex Media Server.log?
The server log shows playing started at 10:40:07 with number of in progress direct play media file requests peaking at 16 requests being at 10:40:16. Timeline reporting from the Plex for Apple TV shows play was paused at 10:41:18 and i can see at same time a request for media taking 19.8 seconds to complete, May be the pause was due to the fact that the media was not received in time whilst it was buffering
This extract shows the log entries round that time - picking just the completion of requests logged entries and showing elapsed time in milliseconds (ms) and also timeline entries showing state of play state=xxxx
Nov 29, 2015 10:41:16:532 [8212] DEBUG - Completed: [192.168.1.55:49235] GET /:/timeline?duration=7025000&key=%2Flibrary%2Fmetadata%2F97971&playQueueItemID=23120&ratingKey=97971&state=playing&time=5951340 (13 live) TLS GZIP 36ms 203 bytes 200 (pipelined: 45)
Nov 29, 2015 10:41:16:735 [8212] DEBUG - Completed: [192.168.1.55:49385] GET /library/parts/97244/file.mp4 (14 live) TLS 12ms 65536 bytes 200 (pipelined: 4)
Nov 29, 2015 10:41:17:017 [8212] DEBUG - Completed: [192.168.1.55:49385] GET /library/parts/97244/file.mp4 (14 live) TLS 5ms 65536 bytes 200 (pipelined: 5)
Nov 29, 2015 10:41:17:142 [8212] DEBUG - Completed: [192.168.1.55:49380] GET /library/parts/97244/file.mp4 (14 live) TLS 11844ms 30294016 bytes 200
Nov 29, 2015 10:41:17:392 [8212] DEBUG - Completed: [192.168.1.55:49385] GET /library/parts/97244/file.mp4 (13 live) TLS 5ms 65536 bytes 200 (pipelined: 6)
Nov 29, 2015 10:41:17:392 [8212] DEBUG - Completed: [192.168.1.55:49383] GET /library/parts/97244/file.mp4 (13 live) TLS 5267ms 37863424 bytes 200
Nov 29, 2015 10:41:17:532 [8324] DEBUG - Completed: [192.168.1.55:49235] GET /:/timeline?duration=7025000&key=%2Flibrary%2Fmetadata%2F97971&playQueueItemID=23120&ratingKey=97971&state=buffering&time=5952346 (12 live) TLS GZIP 28ms 203 bytes 200 (pipelined: 46)
Nov 29, 2015 10:41:17:673 [8212] DEBUG - Completed: [192.168.1.55:49384] GET /library/parts/97244/file.mp4 (12 live) TLS 2390ms 3014656 bytes 200
Nov 29, 2015 10:41:17:751 [8212] DEBUG - Completed: [192.168.1.55:49385] GET /library/parts/97244/file.mp4 (11 live) TLS 5ms 65536 bytes 200 (pipelined: 7)
Nov 29, 2015 10:41:17:798 [8212] DEBUG - Completed: [192.168.1.55:49386] GET /library/parts/97244/file.mp4 (11 live) TLS 2223ms 409600 bytes 200
Nov 29, 2015 10:41:17:861 [8324] DEBUG - Completed: [192.168.1.55:49235] GET /:/timeline?duration=7025000&key=%2Flibrary%2Fmetadata%2F97971&playQueueItemID=23120&ratingKey=97971&state=buffering&time=5952674 (10 live) TLS GZIP 30ms 203 bytes 200 (pipelined: 47)
Nov 29, 2015 10:41:18:204 [8212] DEBUG - Completed: [192.168.1.55:49235] GET /:/timeline?duration=7025000&key=%2Flibrary%2Fmetadata%2F97971&playQueueItemID=23120&ratingKey=97971&state=buffering&time=5953008 (10 live) TLS GZIP 26ms 203 bytes 200 (pipelined: 48)
Nov 29, 2015 10:41:18:407 [8324] DEBUG - Completed: [192.168.1.55:49235] GET /:/timeline?duration=7025000&key=%2Flibrary%2Fmetadata%2F97971&playQueueItemID=23120&ratingKey=97971&state=paused&time=5953052 (11 live) TLS GZIP 34ms 203 bytes 200 (pipelined: 49)
Nov 29, 2015 10:41:18:470 [8324] DEBUG - Completed: [192.168.1.55:49367] GET /library/parts/97244/file.mp4 (11 live) TLS 19808ms 12025856 bytes 200
Nov 29, 2015 10:41:18:564 [8212] DEBUG - Completed: [192.168.1.55:49389] GET /library/parts/97244/file.mp4 (10 live) TLS 7ms 65536 bytes 200
Nov 29, 2015 10:41:18:642 [8212] DEBUG - Completed: [192.168.1.55:49235] GET /:/timeline?duration=7025000&key=%2Flibrary%2Fmetadata%2F97971&playQueueItemID=23120&ratingKey=97971&state=paused&time=5953052 (10 live) TLS GZIP 32ms 203 bytes 200 (pipelined: 50)
Nov 29, 2015 10:41:18:861 [8212] DEBUG - Completed: [192.168.1.55:49235] GET /:/timeline?duration=7025000&key=%2Flibrary%2Fmetadata%2F97971&playQueueItemID=23120&ratingKey=97971&state=paused&time=5953052 (10 live) TLS GZIP 29ms 203 bytes 200 (pipelined: 51)
Nov 29, 2015 10:41:18:923 [8324] DEBUG - Completed: [192.168.1.55:49235] GET /:/timeline?duration=7025000&key=%2Flibrary%2Fmetadata%2F97971&playQueueItemID=23120&ratingKey=97971&state=paused&time=5953052 (11 live) TLS GZIP 25ms 203 bytes 200 (pipelined: 52)
Nov 29, 2015 10:41:19:001 [8324] DEBUG - Completed: [192.168.1.55:49235] GET /:/timeline?duration=7025000&key=%2Flibrary%2Fmetadata%2F97971&playQueueItemID=23120&ratingKey=97971&state=paused&time=5953052 (11 live) TLS GZIP 23ms 203 bytes 200 (pipelined: 53)
Nov 29, 2015 10:41:19:204 [8324] DEBUG - Completed: [192.168.1.55:49389] GET /library/parts/97244/file.mp4 (13 live) TLS 370ms 524288 bytes 200 (pipelined: 2)
Nov 29, 2015 10:41:19:298 [8324] DEBUG - Completed: [192.168.1.55:49235] GET /:/timeline?duration=7025000&key=%2Flibrary%2Fmetadata%2F97971&playQueueItemID=23120&ratingKey=97971&state=paused&time=5953052 (13 live) TLS GZIP 22ms 203 bytes 200 (pipelined: 54)
Nov 29, 2015 10:41:19:345 [8324] DEBUG - Completed: [192.168.1.55:49235] GET /:/timeline?duration=7025000&key=%2Flibrary%2Fmetadata%2F97971&playQueueItemID=23120&ratingKey=97971&state=playing&time=5953046 (13 live) TLS GZIP 23ms 203 bytes 200 (pipelined: 55)
Nov 29, 2015 10:41:19:876 [8324] DEBUG - Completed: [192.168.1.55:49368] GET /library/parts/97244/file.mp4 (13 live) TLS 19022ms 2850816 bytes 200 (pipelined: 2)
Nov 29, 2015 10:41:20:595 [8324] DEBUG - Completed: [192.168.1.55:49377] GET /library/parts/97244/file.mp4 (12 live) TLS 19022ms 1327104 bytes 200 (pipelined: 2)
So play resumed at 10:41:19
Play was paused later again - but it is not obvious why. Whether you paused play or it paused because of an issue,
Extract from time of state=playing up to pause
Nov 29, 2015 10:41:55:959 [8212] DEBUG - Completed: [192.168.1.55:49235] GET /:/timeline?duration=7025000&key=%2Flibrary%2Fmetadata%2F97971&playQueueItemID=23120&ratingKey=97971&state=playing&time=5989651 (10 live) TLS GZIP 28ms 203 bytes 200 (pipelined: 62)
Nov 29, 2015 10:41:56:240 [8212] DEBUG - Completed: [192.168.1.55:49428] GET /library/parts/97244/file.mp4 (10 live) TLS 4585ms 28934144 bytes 200
Nov 29, 2015 10:41:57:131 [8212] DEBUG - Completed: [192.168.1.55:49431] GET /library/parts/97244/file.mp4 (11 live) TLS 459ms 6291456 bytes 200
Nov 29, 2015 10:41:57:397 [8324] DEBUG - Completed: [192.168.1.55:49432] GET /library/parts/97244/file.mp4 (12 live) TLS 244ms 3735552 bytes 200
Nov 29, 2015 10:41:57:725 [8212] DEBUG - Completed: [192.168.1.55:49432] GET /library/parts/97244/file.mp4 (13 live) TLS 5ms 65536 bytes 200 (pipelined: 2)
Nov 29, 2015 10:41:57:756 [8324] DEBUG - Completed: [192.168.1.55:49433] GET /library/parts/97244/file.mp4 (13 live) TLS 250ms 3817472 bytes 200
Nov 29, 2015 10:41:58:147 [8324] DEBUG - Completed: [192.168.1.55:49432] GET /library/parts/97244/file.mp4 (13 live) TLS 13ms 65536 bytes 200 (pipelined: 3)
Nov 29, 2015 10:41:59:335 [8324] DEBUG - Completed: [192.168.1.55:49235] GET /:/timeline?duration=7025000&key=%2Flibrary%2Fmetadata%2F97971&playQueueItemID=23120&ratingKey=97971&state=paused&time=5992957 (16 live) TLS GZIP 31ms 203 bytes 200 (pipelined: 63)
Nov 29, 2015 10:41:59:850 [8212] DEBUG - Completed: [192.168.1.55:49235] GET /:/timeline?duration=7025000&key=%2Flibrary%2Fmetadata%2F97971&playQueueItemID=23120&ratingKey=97971&state=paused&time=5992957 (16 live) TLS GZIP 36ms 203 bytes 200 (pipelined: 64)
Nov 29, 2015 10:41:59:897 [8212] DEBUG - Completed: [192.168.1.55:49235] GET /:/timeline?duration=7025000&key=%2Flibrary%2Fmetadata%2F97971&playQueueItemID=23120&ratingKey=97971&state=playing&time=5992951 (16 live) TLS GZIP 24ms 203 bytes 200 (pipelined: 65)
Nov 29, 2015 10:42:01:163 [8212] DEBUG - Completed: [192.168.1.55:49435] GET /library/parts/97244/file.mp4 (16 live) TLS 2302ms 1523712 bytes 200
and again later
Nov 29, 2015 10:42:35:933 [8324] DEBUG - Completed: [192.168.1.55:49235] GET /:/timeline?duration=7025000&key=%2Flibrary%2Fmetadata%2F97971&playQueueItemID=23120&ratingKey=97971&state=playing&time=6029006 (13 live) TLS GZIP 32ms 203 bytes 200 (pipelined: 72)
Nov 29, 2015 10:42:37:293 [8212] DEBUG - Completed: [192.168.1.55:49459] GET /library/parts/97244/file.mp4 (13 live) TLS 1529ms 18743296 bytes 200
Nov 29, 2015 10:42:39:152 [8212] DEBUG - Completed: [192.168.1.55:49453] GET /library/parts/97244/file.mp4 (13 live) TLS 9432ms 1474560 bytes 200
Nov 29, 2015 10:42:39:168 [8324] DEBUG - Completed: [192.168.1.55:49235] GET /:/timeline?duration=7025000&key=%2Flibrary%2Fmetadata%2F97971&playQueueItemID=23120&ratingKey=97971&state=paused&time=6032222 (12 live) TLS GZIP 36ms 203 bytes 200 (pipelined: 73)
Nov 29, 2015 10:42:39:215 [8212] DEBUG - Completed: [192.168.1.55:49235] GET /:/timeline?duration=7025000&key=%2Flibrary%2Fmetadata%2F97971&playQueueItemID=23120&ratingKey=97971&state=paused&time=6032222 (12 live) TLS GZIP 25ms 203 bytes 200 (pipelined: 74)
Nov 29, 2015 10:42:39:262 [8324] DEBUG - Completed: [192.168.1.55:49235] GET /:/timeline?duration=7025000&key=%2Flibrary%2Fmetadata%2F97971&playQueueItemID=23120&ratingKey=97971&state=paused&time=6032222 (12 live) TLS GZIP 30ms 203 bytes 200 (pipelined: 75)
Nov 29, 2015 10:42:39:309 [8212] DEBUG - Completed: [192.168.1.55:49235] GET /:/timeline?duration=7025000&key=%2Flibrary%2Fmetadata%2F97971&playQueueItemID=23120&ratingKey=97971&state=paused&time=6032222 (12 live) TLS GZIP 25ms 203 bytes 200 (pipelined: 76)
Nov 29, 2015 10:42:39:824 [8212] DEBUG - Completed: [192.168.1.55:49460] GET /library/parts/97244/file.mp4 (12 live) TLS 2215ms 1556480 bytes 200
Nov 29, 2015 10:42:40:137 [8212] DEBUG - Completed: [192.168.1.55:49458] GET /library/parts/97244/file.mp4 (11 live) TLS 6182ms 21348352 bytes 200
Nov 29, 2015 10:42:40:700 [8212] DEBUG - Completed: [192.168.1.55:49452] GET /library/parts/97244/file.mp4 (10 live) TLS 10882ms 18743296 bytes 200 (pipelined: 2)
Nov 29, 2015 10:42:42:121 [8212] DEBUG - Completed: [192.168.1.55:49446] GET /library/parts/97244/file.mp4 (9 live) TLS 20642ms 21004288 bytes 200 (pipelined: 2)
Nov 29, 2015 10:42:42:950 [8212] DEBUG - Completed: [192.168.1.55:49454] GET /library/parts/97244/file.mp4 (8 live) TLS 9570ms 3162112 bytes 200 (pipelined: 2)
Nov 29, 2015 10:42:43:106 [8212] DEBUG - Completed: [192.168.1.55:49456] GET /library/parts/97244/file.mp4 (7 live) TLS 9450ms 1589248 bytes 200
Nov 29, 2015 10:42:43:247 [8212] DEBUG - Completed: [192.168.1.55:49457] GET /library/parts/97244/file.mp4 (6 live) TLS 9442ms 1589248 bytes 200
Nov 29, 2015 10:42:44:294 [8212] DEBUG - Completed: [192.168.1.55:49448] GET /library/parts/97244/file.mp4 (5 live) TLS 19104ms 3260416 bytes 200 (pipelined: 2)
Nov 29, 2015 10:42:44:434 [8212] DEBUG - Completed: [192.168.1.55:49450] GET /library/parts/97244/file.mp4 (4 live) TLS 19037ms 1425408 bytes 200
May be with logs from both sides one can see an issue clearer and also to know exactly when the issue arose in relation to the time on the server and the apple tv
As you are PlexPASS subscriber you could upgrade to 0.9.14.4 by download Plex PASS version from http://plex.tv/downloads and see if that makes a difference. Also best to get diagnostics with 0.9.14.4 rather than 0.9.12.19