Server Version#: 1.30.0.6442
Player Version#: 9.13.0.36986 and 9.12
Watch Together randomly stops playback on android tv(sony, android 9)
Happens usually after a few minutes, shows to the other parties that I have left the session. When it happens the playback stops and it throws me back to the plex main menu. Normal playback works fine. Connection is wired.
Here is log from the app, just the part I think is relevant.
App log
12-06 11:36:03.612 i: [SimpleSocketMessageStream] Sending: {“State”:{“ping”:{“clientRtt”:0.14136552810668945,“clientLatencyCalculation”:1.670319363603E9,“latencyCalculation”:1.6703193674791389E9},“playstate”:{“paused”:false,“position”:535.152,“doSeek”:false}}}
12-06 11:36:03.744 e: [SimpleSocketMessageStream] Error
12-06 11:36:03.936 i: [SimpleSocketMessageStream] Disconnecting
12-06 11:36:03.938 e: [ServerWebSocket] Websocket error
12-06 11:36:03.979 e: An exception occurred: javax.net.ssl.SSLException: Read error: ssl=0x7c70c648: I/O error during system call, Software caused connection abort
12-06 11:36:03.980 e: [SyncPlayClient] onErrorMessage: null
12-06 11:36:03.990 e: [PlexServerWebSocket] (ID: — | Server: host) Connection failed.
12-06 11:36:04.005 e: [PlexServerWebSocket] (ID: — | Server: some other host) Connection failed.
12-06 11:36:04.043 i: [WatchTogetherBehaviour] Disconnecting from sync server.
12-06 11:36:04.061 e: Stacktrace: javax.net.ssl.SSLException: Read error: ssl=0x7c70c648: I/O error during system call, Software caused connection abort
at com.android.org.conscrypt.NativeCrypto.SSL_read(Native Method)
at com.android.org.conscrypt.NativeSsl.read(NativeSsl.java:399)
at com.android.org.conscrypt.ConscryptFileDescriptorSocket$SSLInputStream.read(ConscryptFileDescriptorSocket.java:546)
at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:288)
at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:351)
at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:180)
at java.io.InputStreamReader.read(InputStreamReader.java:184)
at java.io.BufferedReader.fill(BufferedReader.java:172)
at java.io.BufferedReader.readLine(BufferedReader.java:335)
at java.io.BufferedReader.readLine(BufferedReader.java:400)
at mr.c.j(SourceFile:19)
at mr.c.a(SourceFile:78)
at kr.l.u(Unknown Source:11)
at kr.l.l(Unknown Source:0)
at kr.c.run(Unknown Source:4)
at android.os.Handler.handleCallback(Handler.java:873)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:193)
at android.os.HandlerThread.run(HandlerThread.java:65)
12-06 11:36:04.079 e: An exception occurred: javax.net.ssl.SSLException: Read error: ssl=0x8b386688: I/O error during system call, Software caused connection abort
12-06 11:36:04.092 e: Stacktrace: javax.net.ssl.SSLException: Read error: ssl=0x8b386688: I/O error during system call, Software caused connection abort
at com.android.org.conscrypt.NativeCrypto.SSL_read(Native Method)
at com.android.org.conscrypt.NativeSsl.read(NativeSsl.java:399)
at com.android.org.conscrypt.ConscryptFileDescriptorSocket$SSLInputStream.read(ConscryptFileDescriptorSocket.java:546)
at okio.q.read(SourceFile:46)
at okio.d$d.read(SourceFile:13)
at okio.y.V(SourceFile:36)
at okio.y.c0(Unknown Source:0)
at okio.y.readByte(SourceFile:3)
at okhttp3.internal.ws.WebSocketReader.readHeader(SourceFile:26)
at okhttp3.internal.ws.WebSocketReader.processNextFrame(SourceFile:1)
at okhttp3.internal.ws.RealWebSocket.loopReader(SourceFile:11)
at okhttp3.internal.ws.RealWebSocket$connect$1.onResponse(SourceFile:126)
at okhttp3.internal.connection.RealCall$AsyncCall.run(SourceFile:61)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:764)
12-06 11:36:04.109 e: An exception occurred: javax.net.ssl.SSLException: Read error: ssl=0x7c6795c8: I/O error during system call, Software caused connection abort
12-06 11:36:04.119 e: Stacktrace: javax.net.ssl.SSLException: Read error: ssl=0x7c6795c8: I/O error during system call, Software caused connection abort
at com.android.org.conscrypt.NativeCrypto.SSL_read(Native Method)
at com.android.org.conscrypt.NativeSsl.read(NativeSsl.java:399)
at com.android.org.conscrypt.ConscryptFileDescriptorSocket$SSLInputStream.read(ConscryptFileDescriptorSocket.java:546)
at okio.q.read(SourceFile:46)
at okio.d$d.read(SourceFile:13)
at okio.y.V(SourceFile:36)
at okio.y.c0(Unknown Source:0)
at okio.y.readByte(SourceFile:3)
at okhttp3.internal.ws.WebSocketReader.readHeader(SourceFile:26)
at okhttp3.internal.ws.WebSocketReader.processNextFrame(SourceFile:1)
at okhttp3.internal.ws.RealWebSocket.loopReader(SourceFile:11)
at okhttp3.internal.ws.RealWebSocket$connect$1.onResponse(SourceFile:126)
at okhttp3.internal.connection.RealCall$AsyncCall.run(SourceFile:61)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:764)
12-06 11:36:04.122 e: An exception occurred: javax.net.ssl.SSLException: Read error: ssl=0x7c67aa08: I/O error during system call, Software caused connection abort
12-06 11:36:04.124 e: Stacktrace: javax.net.ssl.SSLException: Read error: ssl=0x7c67aa08: I/O error during system call, Software caused connection abort
at com.android.org.conscrypt.NativeCrypto.SSL_read(Native Method)
at com.android.org.conscrypt.NativeSsl.read(NativeSsl.java:399)
at com.android.org.conscrypt.ConscryptFileDescriptorSocket$SSLInputStream.read(ConscryptFileDescriptorSocket.java:546)
at okio.q.read(SourceFile:46)
at okio.d$d.read(SourceFile:13)
at okio.y.V(SourceFile:36)
at okio.y.c0(Unknown Source:0)
at okio.y.readByte(SourceFile:3)
at okhttp3.internal.ws.WebSocketReader.readHeader(SourceFile:26)
at okhttp3.internal.ws.WebSocketReader.processNextFrame(SourceFile:1)
at okhttp3.internal.ws.RealWebSocket.loopReader(SourceFile:11)
at okhttp3.internal.ws.RealWebSocket$connect$1.onResponse(SourceFile:126)
at okhttp3.internal.connection.RealCall$AsyncCall.run(SourceFile:61)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:764)
12-06 11:36:04.125 i: [Player] Engine being destroyed due to player deconstruction.
12-06 11:36:04.158 i: [Framework] Showing toast: An unexpected error occurred and the connection to the server was lost.
12-06 11:36:04.173 i: [EngineEventManager] onPlaybackStopped: Closed
12-06 11:36:04.184 i: [Player][Timeline] Playback stopped (error: false)
12-06 11:36:04.186 i: [PlaybackTimeBehaviour] Playback stopped, pausing stopwatch
12-06 11:36:04.187 i: [VideoAwakeBehaviour] Keep screen awake has been requested disabled for VideoAwakeBehaviour.
12-06 11:36:04.192 i: [TranscodeSession] Stopping…
12-06 11:36:04.203 i: [PlayQueueProgressBehaviour] Updating PlayQueueManager state, isPlaying: false
12-06 11:36:04.204 i: [SleepTimerBehaviour] Sleep timer behaviour changed.
12-06 11:36:04.213 i: [WiFiLockBehaviour] Releasing WiFi lock since playback was stopped.
12-06 11:36:04.214 i: [DisplayBehaviour] Cancelling stop playback runnable to prevent unexpected stop.
12-06 11:36:04.239 e: [ServerWebSocket] Websocket error
12-06 11:36:04.321 i: [BufferingMetrics] {bufferDurationFromSeeks=10, bufferingDuration=10, bufferingCount=1, numSeeks=1}
12-06 11:36:04.337 e: An exception occurred: java.net.UnknownHostException: Unable to resolve host “host.net”: No address associated with hostname
12-06 11:36:04.339 e: Stacktrace: java.net.UnknownHostException: Unable to resolve host “host.net”: No address associated with hostname
at java.net.Inet6AddressImpl.lookupHostByName(Inet6AddressImpl.java:157)
at java.net.Inet6AddressImpl.lookupAllHostAddr(Inet6AddressImpl.java:105)
at java.net.InetAddress.getAllByName(InetAddress.java:1154)
at okhttp3.Dns$Companion$DnsSystem.lookup(SourceFile:6)
at okhttp3.internal.connection.RouteSelector.resetNextInetSocketAddress(SourceFile:134)
at okhttp3.internal.connection.RouteSelector.nextProxy(SourceFile:21)
at okhttp3.internal.connection.RouteSelector.next(SourceFile:18)
at okhttp3.internal.connection.ExchangeFinder.findConnection(SourceFile:197)
at okhttp3.internal.connection.ExchangeFinder.findHealthyConnection(SourceFile:1)
at okhttp3.internal.connection.ExchangeFinder.find(SourceFile:48)
at okhttp3.internal.connection.RealCall.initExchange$okhttp(SourceFile:32)
at okhttp3.internal.connection.ConnectInterceptor.intercept(SourceFile:12)
at okhttp3.internal.http.RealInterceptorChain.proceed(SourceFile:167)
at okhttp3.internal.cache.CacheInterceptor.intercept(SourceFile:192)
at okhttp3.internal.http.RealInterceptorChain.proceed(SourceFile:167)
at okhttp3.internal.http.BridgeInterceptor.intercept(SourceFile:168)
at okhttp3.internal.http.RealInterceptorChain.proceed(SourceFile:167)
at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(SourceFile:35)
at okhttp3.internal.http.RealInterceptorChain.proceed(SourceFile:167)
at okhttp3.logging.HttpLoggingInterceptor.intercept(SourceFile:20)
at okhttp3.internal.http.RealInterceptorChain.proceed(SourceFile:167)
at com.plexapp.plex.net.u.intercept(SourceFile:329)
at okhttp3.internal.http.RealInterceptorChain.proceed(SourceFile:167)
at okhttp3.internal.connection.RealCall.getResponseWithInterceptorChain$okhttp(SourceFile:114)
at okhttp3.internal.connection.RealCall$AsyncCall.run(SourceFile:52)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:764)
Caused by: android.system.GaiException: android_getaddrinfo failed: EAI_NODATA (No address associated with hostname)
at libcore.io.Linux.android_getaddrinfo(Native Method)
at libcore.io.BlockGuardOs.android_getaddrinfo(BlockGuardOs.java:172)
at java.net.Inet6AddressImpl.lookupHostByName(Inet6AddressImpl.java:137)
… 27 more
12-06 11:36:04.358 i: [BufferHelper] Assumed Bitrate: 400000, Segment Count: 46875
12-06 11:36:04.361 i: [BufferHelper] Detected memory pressure, reducing segment count to fit available memory: 512
12-06 11:36:04.387 i: [BufferHelper] Segment count: 3276
12-06 11:36:04.388 i: [TranscodeSession] Notifying server that we’ve stopped
12-06 11:36:04.396 i: [BandwidthQualityBehaviour] Recording bandwidth for server as 43.3 Mbps.
12-06 11:36:04.429 i: [VideoAwakeBehaviour] Disabling screen on
12-06 11:36:04.623 i: Fetching [method:GET] https://host.net:32400/video/:/transcode/universal/stop?autoAdjustQuality=0&hasMDE=1&location=cellular&mediaBufferSize=209664&path=%2Flibrary%2Fmetadata%2F10413&session=-com-plexapp-android&X-Plex-Client-Identifier=-com-plexapp-android&X-Plex-Client-Platform=Android&X-Plex-Device=BRAVIA%204K%20GB&X-Plex-Platform=Android&X-Plex-Platform-Version=9&X-Plex-Product=Plex%20for%20Android%20(TV)&X-Plex-Version=9.13.0.36986&X-Plex-Token=---&X-Plex-Language=en-gb
12-06 11:36:04.664 i: [NetworkMonitor] Network disconnected
12-06 11:36:04.960 e: [ExoPlayer][EventLogger] audioTrackUnderrun [eventTime=556.31, mediaPos=536.62, window=0, period=0, 196992, 342, 68]
12-06 11:36:04.961 e: [ExoPlayer][EventLogger] audioTrackUnderrun [eventTime=556.37, mediaPos=536.68, window=0, period=0, 196992, 342, 24]