Sony TV Plex app buffering issue on Direct Play

Server Version#:4.12.3
Player Version#:(7.27.0.15018)

Hello

well, my Plex server on Qnap installed as application (qpkg), direct connected to my ubiquiti switch 24 port poe, all ports are 1G, my Sony TV (Bravia 4k Android KD-55X8000G) connected direct with cable to my switch , the problem is while plying 1080P movie on Sony TV direct ply is keep buffering a lot, and the same movie tested in my iPhone and MacBook Pro working fine without any problem
note: if I play any low quality movie on my Sony TV it’s working fine.

below the Plex client setting in my Sony TV

Video 1080P (H.264)
VIDEO Qulity
Adjust automatically: OFF
Home Streaming: Maximum
AUDIO QUALITY
Remote Streaming Original
Advance Setting
Refresh rate: OFF
Resolution :OFF
Allow insecure connection :NEVER
H264 Maximum level: 5.2 recommended

Plex Server
Dashboard
r. Bean: The Animated Series
S1 · E1 In the Wild
37 min
unknown.svg
Secure
Plex for Android (TV) — BRAVIA 4K GB ATV3
Paused—0:07 / 37:42
Local (192.168.1.*)—2 Mbps

Video
1080p (H.264)
Direct Play
Audio
English (AAC Stereo)
Direct Play

Logs

Level

Error

Thread

0x7f8073008700

Message

SSDP: Error parsing device schema for http://192.168.1.*:8080/upnp

Level

Debug

Thread

0x7f8007447700

Message

Request: [192.168.1.*:48870 (Subnet)] GET /library/parts/3195/1579687986/file.mp4?autoAdjustQuality=0&hasMDE=1&location=lan&mediaBufferSize=74944 (11 live) TLS Signed-in Token (Al Talai) (range: bytes=107492873-)

Level

Debug

Thread

0x7f8007447700

Message

Content-Length of /share/DATA/Multimedia/TV Shows/Masha and the Bear/Episode 07.mp4 is 6906278 (of total: 114399151).

Time

Jan 26, 2020 22:45:41.408

Level

Debug

Thread

0x7f80888f9700

Message

Failed to stream media, client probably disconnected after 1703936 bytes: 104 - Connection reset by peer

Level

Debug

Thread

0x7f808860b700

Message

Completed after connection close: [192.168.1.*:48688] 206 GET /library/parts/3195/1579687986/file.mp4?autoAdjustQuality=0&hasMDE=1&location=lan&mediaBufferSize=74944 (14 live) TLS 366ms 1785856 bytes (range: bytes=107443278-)

please support to fix this issue.

Please help

Would you please do the following?

  1. Settings - Server - General - Show Advanced
    a. Make certain DEBUG logging is ON
    b. Make certain VERBOSE logging is OFF
  2. Start the playback again
  3. Play until failure (Hopefully won’t take much?)
  4. Wait 30 seconds
  5. Settings - Server - Troubleshooting - Download Logs
  6. Attach that ZIP file here

We’ll look at what’s happening (What PMS decided to do and how it ended)

Plex Media Server Logs_2020-01-29_19-15-24.zip (4.0 MB)
logs attached, thank you

By the way I install Xplay just now and it work fine without any problem , it seems to be the official app has a problem .

The client app is disconnecting. The server logs don’t show why.

The application logs would be needed.

Jan 29, 2020 19:14:10.287 [0x7fbc39294700] DEBUG - Failed to stream media, client probably disconnected after 2359296 bytes: 104 - Connection reset by peer
Jan 29, 2020 19:14:10.287 [0x7fbc39294700] DEBUG - Completed after connection close: [192.168.10.219:54832] 206 GET /library/parts/3189/1579688022/file.mp4?autoAdjustQuality=0&hasMDE=1&location=lan&mediaBufferSize=74944 (11 live) TLS 287ms 2359296 bytes (range: bytes=48-) 
Jan 29, 2020 19:14:10.883 [0x7fbc38fa6700] DEBUG - Auth: authenticated user 1 as Abdullah Al Talai
Jan 29, 2020 19:14:10.883 [0x7fbbfae6b700] DEBUG - Request: [192.168.10.219:54846 (Subnet)] GET /library/parts/3189/1579688022/file.mp4?autoAdjustQuality=0&hasMDE=1&location=lan&mediaBufferSize=74944 (12 live) TLS Signed-in Token (Abdullah Al Talai) (range: bytes=204217-) 
Jan 29, 2020 19:14:10.887 [0x7fbbfae6b700] DEBUG - Content-Length of /share/CACHEDEV1_DATA/Multimedia/TV Shows/Masha and the Bear/Episode 01.mp4 is 150809579 (of total: 151013796).
Jan 29, 2020 19:14:10.915 [0x7fbc39294700] DEBUG - Failed to stream media, client probably disconnected after 4997120 bytes: 104 - Connection reset by peer
Jan 29, 2020 19:14:10.916 [0x7fbc39294700] DEBUG - Completed after connection close: [192.168.10.219:54833] 206 GET /library/parts/3189/1579688022/file.mp4?autoAdjustQuality=0&hasMDE=1&location=lan&mediaBufferSize=74944 (11 live) TLS 659ms 4997120 bytes (range: bytes=143828500-) 
Jan 29, 2020 19:14:11.161 [0x7fbc39294700] DEBUG - Auth: authenticated user 1 as Abdullah Al Talai
Jan 29, 2020 19:14:11.161 [0x7fbc292dd700] DEBUG - Request: [192.168.10.219:54848 (Subnet)] GET /library/parts/3189/1579688022/file.mp4?autoAdjustQuality=0&hasMDE=1&location=lan&mediaBufferSize=74944 (12 live) TLS Signed-in Token (Abdullah Al Talai) (range: bytes=143829243-) 
Jan 29, 2020 19:14:11.165 [0x7fbc292dd700] DEBUG - Content-Length of /share/CACHEDEV1_DATA/Multimedia/TV Shows/Masha and the Bear/Episode 01.mp4 is 7184553 (of total: 151013796).
Jan 29, 2020 19:14:11.200 [0x7fbc38fa6700] DEBUG - Failed to stream media, client probably disconnected after 1753088 bytes: 104 - Connection reset by peer
Jan 29, 2020 19:14:11.200 [0x7fbc38fa6700] DEBUG - Completed after connection close: [192.168.10.219:54846] 206 GET /library/parts/3189/1579688022/file.mp4?autoAdjustQuality=0&hasMDE=1&location=lan&mediaBufferSize=74944 (10 live) TLS 317ms 1753088 bytes (range: bytes=204217-) 
Jan 29, 2020 19:14:11.584 [0x7fbc38fa6700] DEBUG - Auth: authenticated user 1 as Abdullah Al Talai
Jan 29, 2020 19:14:11.584 [0x7fbbfae6b700] DEBUG - Request: [192.168.10.219:54849 (Subnet)] GET /library/parts/3189/1579688022/file.mp4?autoAdjustQuality=0&hasMDE=1&location=lan&mediaBufferSize=74944 (10 live) TLS Signed-in Token (Abdullah Al Talai) (range: bytes=221140-) 
Jan 29, 2020 19:14:11.588 [0x7fbbfae6b700] DEBUG - Content-Length of /share/CACHEDEV1_DATA/Multimedia/TV Shows/Masha and the Bear/Episode 01.mp4 is 150792656 (of total: 151013796).
Jan 29, 2020 19:14:11.631 [0x7fbc39294700] DEBUG - Failed to stream media, client probably disconnected after 2359296 bytes: 104 - Connection reset by peer
Jan 29, 2020 19:14:11.631 [0x7fbc39294700] DEBUG - Completed after connection close: [192.168.10.219:54848] 206 GET /library/parts/3189/1579688022/file.mp4?autoAdjustQuality=0&hasMDE=1&location=lan&mediaBufferSize=74944 (10 live) TLS 470ms 2359296 bytes (range: bytes=143829243-) 
Jan 29, 2020 19:14:11.897 [0x7fbc39294700] DEBUG - Auth: authenticated user 1 as Abdullah Al Talai
Jan 29, 2020 19:14:11.898 [0x7fbc29e95700] DEBUG - Request: [192.168.10.219:54850 (Subnet)] GET /library/parts/3189/1579688022/file.mp4?autoAdjustQuality=0&hasMDE=1&location=lan&mediaBufferSize=74944 (10 live) TLS Signed-in Token (Abdullah Al Talai) (range: bytes=143829986-) 

can you obtain these please?

1 Like

Hi ChuckPA

TV Sony Tv Debug.txt (2.3 MB) is done , please refer to the attachment.

hi

Any update on this

Hello

Anyone can help me in my issue

I looked at your logs. I do see something odd, but your log starts from the middle while you are already streaming a file, so it is missing all the startup configuration information. Can you restart the app, playback a file, allow it play for 30-60 seconds, stop it, then get me a new log from the Android TV app and from your PMS?

Sure I will do that and share the logs but as I mentioned before I am able to view the same movies (1080P) with Xplay !!!

hi
Please find the logs you requested Plex Media Server Logs_2020-02-05_07-12-18.zip (3.8 MB) tt.txt (1.1 MB)

If I may augment here?

  1. If you can log into the shell as root, I would like you to delete the file:
/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/lib/dri/iHD_drv_video.so 

This driver is known to have problems with ApolloLake CPUs (your CPU is one).
You can use the other driver (i965) without worry.
If you update again before the iHD driver is repaired, you will again need to remove the file.

Doing this will allow hardware transcoding to operate correctly for you.

We do need ask you to recreate this with DEBUG logging turned on again.
Please turn it on and leave it on. It does not consume more disk space with it on.
The buffer size is of fixed length. It does allow us to see more of what PMS is doing.

Please do NOT turn on VERBOSE logging,. Keep it off.

Hi ChuckPA

I delete the file but still same issue :pensive:

Dear ChuckPA

Please find the new logs below, as I mentioned before this issue with **the andoried official Plex app only **

Plex Media Server Logs_2020-02-06_23-06-15.zip (3.2 MB)
TXT.txt (1.1 MB)

I did upgrade the PMS to beta but still same issue,

please help

maybe this is related to @ Nvidia Shield EAC3 audio stopped working

hi TeknoJunky

I try that but still same issue :frowning:

There are several androi-related problems, this is another instance of it.
Thank you for the logs.

02-06 21:37:41.880  i: [FFmpeg] [INFO] [Cache] Seek has returned with a response of 142464822.\
02-06 21:37:41.881  i: [FFmpeg] [INFO] [Cache] Seek complete to 142464822 bytes.\
02-06 21:37:41.882  i: [FFmpeg] [INFO] [Cache] Source seek requested to 54700 bytes with 0 whence.\
02-06 21:37:41.887  i: [FFmpeg] [INFO] [Cache] Seek found to 54700 bytes.\
02-06 21:37:41.926  i: Time out fetching https://10.0.5.1:32400/?X-Plex-Token=...esTu.\
02-06 21:37:41.926  i: [conn] Device Storage response time is Infinity ms\
02-06 21:37:41.927  i: [conn] Connection FAILURE Storage ~ Connection: https://10-0-5-1.479f1392c3bd4867a4184c320c732c3d.plex.direct:32400 token used: true types: [myplex] state: Unreachable\
02-06 21:37:41.932  i: Time out fetching https://10.0.3.1:32400/?X-Plex-Token=...esTu.\
02-06 21:37:41.932  i: [conn] Device Storage response time is Infinity ms\
02-06 21:37:41.933  i: [conn] Connection FAILURE Storage ~ Connection: https://10-0-3-1.479f1392c3bd4867a4184c320c732c3d.plex.direct:32400 token used: true types: [myplex] state: Unreachable\
02-06 21:37:41.988  i: Time out fetching https://5-162-111-35.479f1392c3bd4867a4184c320c732c3d.plex.direct:25829/?X-Plex-Token=...esTu.\
02-06 21:37:41.990  i: [conn] Device Storage response time is Infinity ms\
02-06 21:37:41.994  i: [conn] Connection FAILURE Storage ~ Connection: https://5-162-111-35.479f1392c3bd4867a4184c320c732c3d.plex.direct:25829 token used: true types: [myplex] state: Unreachable\
02-06 21:37:42.123  i: [FFmpeg] [INFO] [Cache] Seek complete to 54700 bytes.\
02-06 21:37:42.123  i: [FFmpeg] [INFO] [Cache] Seek has returned with a response of 54700.\
02-06 21:37:42.127  i: [FFmpeg] [INFO] [Cache] Source seek requested to 142465193 bytes with 0 whence.\
02-06 21:37:42.129  i: [FFmpeg] [INFO] [Cache] Seek found to 142465193 bytes.\
02-06 21:37:42.364  i: [FFmpeg] [INFO] [Cache] Seek has returned with a response of 142465193.\

See if you can add the exception in your modem or router to allow the private domain “plex.direct”.

The logs indicate the connection is being blocked just as a firewall would but the behavior is also inconsistent.

1 Like

Hi

Thank you for the update, I will remove the firewall and connected the modem direct to the switch and update you the status, but those IPs not part of my private IP list
I have Two VLAN
1- for gust WiFi 172.16.0/24
2- for LAN and my devices 192.168.10.0/24

Hi
I connect direct to the Internet without the firewall but still same problem :cry:, what I notice the the videos which I download from YouTube via IDM (1080P) case this problem and app have download movies from different source it is work fine :neutral_face:strange