Server Version#: 1.41.3.9314
Player Version#: 8.44 for IOS. IOS version 18.1.1
I have used a generic VPN with Plex Server and the native IOS Plex App for a while which works fine. Switching to Twingate to try a different solution which has a weird problem. Browsing the library and viewing video files works fine. Trying to listen to audio files the IOS player gets stuck (spinning circle) and won’t play the audio.
If I load Plex in a web browser there are no issues, the audio files load fine in IOS, but of course I would like to use the Plex native App.
The following is from a VPN connection, the server receives the request from the client for an audio file and starts uploading, and the file plays in the IOS client.
DEBUG - Client [D816FA4C-12A7-48A1-90F2-66410826133C] reporting timeline state buffering, progress of 0/233058ms for guid=, playbackTime=0ms ratingKey=3930 url=, key=/library/metadata/3930, containerKey=, metadataId=3930, source=
DEBUG - We’re going to try to auto-select an audio stream for account 1.
DEBUG - Selecting best audio stream for part ID 3554 (autoselect: 0 language: en)
DEBUG - Audio Stream: 3547, Subtitle Stream: -1
DEBUG - [Now] User is x (ID: 1)
DEBUG - [Now] Device is iOS (iPhone).
DEBUG - [Now] Profile is iOS
DEBUG - [Now] Updated play state for /library/metadata/3930.
DEBUG - Statistics: (D816FA4C-12A7-48A1-90F2-66410826133C) Reporting active playback in state 2 of type 10 (scrobble: 0) for account 1
DEBUG - Completed: [10.0.0.2:55604] 200 GET /:/timeline?bufferedTime=0&col=4&context=source%3Acontent.library&duration=233058&key=%2Flibrary%2Fmetadata%2F3930&location=lan&playQueueItemID=26266&playbackTime=0&ratingKey=3930&row=4&state=buffering&time=0 (6 live) TLS GZIP 9ms 421 bytes (pipelined: 1)
DEBUG - Request: [10.0.0.2:52020 (WAN)] GET /library/parts/3554/1347095092/file.m4a?download=1 (6 live) TLS GZIP Signed-in Token (x)
DEBUG - Activity: registered new activity cda9170a-b40f-46e4-a368-fea546b0f8a2 - “”
DEBUG - Activity: updated activity cda9170a-b40f-46e4-a368-fea546b0f8a2 - completed -1.0% - Media download by x
In contrast, the connection via Twingate does not show this file download request:
DEBUG - Client [D816FA4C-12A7-48A1-90F2-66410826133C] reporting timeline state buffering, progress of 0/167679ms for guid=, playbackTime=0ms ratingKey=2798 url=, key=/library/metadata/2798, containerKey=, metadataId=2798, source=
DEBUG - [Now] User is x (ID: 1)
DEBUG - [Now] Device is iOS (iPhone).
DEBUG - [Now] Profile is iOS
DEBUG - [Now] Updated play state for /library/metadata/2798.
DEBUG - Statistics: (D816FA4C-12A7-48A1-90F2-66410826133C) Reporting active playback in state 2 of type 10 (scrobble: 0) for account 1
DEBUG - Completed: [172.17.0.3:58686] 200 GET /:/timeline?bufferedTime=0&col=5&context=source%3Acontent.library&duration=167679&key=%2Flibrary%2Fmetadata%2F2798&location=lan&playQueueItemID=26281&playbackTime=0&ratingKey=2798&row=5&state=buffering&time=0 (8 live) TLS GZIP 4ms 421 bytes (pipelined: 5)
DEBUG - Request: [172.17.0.3:58718 (WAN)] GET /library/metadata/2777?asyncAugmentMetadata=1&checkFiles=1&includeChapters=1&includeConcerts=1&includeExternalMedia=1&includeExternalMetadata=1&includeExtras=1&includeGeolocation=0&includeMarkers=1&includeMeta=1&includeOnDeck=1&includePlexLinks=1&includePopularLeaves=1&includePreferences=0&includeRelated=0&includeRelatedCount=15&includeReviews=1 (8 live) TLS GZIP Signed-in Token (x)
Because the web based player works, I’m leaning towards the Plex IOS App being the problem. However it is hard to know what the issue is due to this working on the generic VPN. Has anyone else seen this kind of problem using Twingate?
EDIT: I believe it is something to do with my phone carrier using IPv6. I saw some strange debug messages from the server side relating to TLS.
DEBUG - CERT: incomplete TLS handshake from [::ffff:172.17.0.3]:38440: stream truncated
This only seems to happen when on my phone network. If I use the phone on a wifi connection the music works without issue. I think the Plex app is trying to use the IPv6 address when it shouldn’t. This is the only difference I can see between the phone network and a wifi connection.
I would need the Plex IOS app developers to take a look at this specific scenario.