Server Version#: 1.24.3.5033
Player Version#: 8.23.1.28053
android.txt (1.2 MB)
Plex Media Server Logs_2021-10-12_03-08-18.zip (28.0 KB)
Issue: start plex app, enter pin, homescreen loads normally, but without thumbnails. when clicking any media i get “something went wrong”.
plex (ubuntu) behind nginx (opnsense) behind Cloudflare CDN, everybody enabled websockets, haven’t had this issue up until 2-4 weeks, can’t remember what changed, if anything at all. Error only on remote Android app (MIUI 12.5.1 stable), browser on same android works fine remote, as well as any local use. windows app works fine (remote+local). I tried deleting cache/data + reinstalling the app, not effect. Turned on logging on phone, got Stacktrace: java.net.ProtocolException: Expected HTTP 101 response but was '403 Forbidden'
. Nothing in nginx logs but 200s. Tried rearranging nginx config’s to as minimal as possible. Same with Cloudflare, no effect. Removed CF completely, still error. Can’t figure out what the problem is.
Full Android Client error:
10-10 18:23:06.008 e: [PlexServerWebSocket] (ID: 149790814 | Server: ourPlex) Connection failed. 10-10 18:23:06.014 e: An exception occurred: java.net.ProtocolException: Expected HTTP 101 response but was '403 Forbidden' 10-10 18:23:06.015 e: Stacktrace: java.net.ProtocolException: Expected HTTP 101 response but was '403 Forbidden' at okhttp3.internal.ws.RealWebSocket.checkUpgradeSuccess$okhttp(SourceFile:21) at okhttp3.internal.ws.RealWebSocket$connect$1.onResponse(SourceFile:2) at okhttp3.internal.connection.RealCall$AsyncCall.run(SourceFile:7) 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:923)
No clue about java, googled the error, nothing but gibberish to me, if at all. I checked server logs around the timestamps this error accures on the phone, but don’t see anything out of the ordinary. I do get some WARN - Sync: sync list 62752360 belonging to user 1 (user-me) has died of old age, ignoring
lines, but I’m assuming that’s just business as usual.
I suspected it to be something about Letsencrypt root expiring (even tho i’m already on the new root since january), but i serve websites with the same cert and don’t get errors on the affected android client.
Since server and nginx don’t show errors in logs, i guess the next step is to completly bypass cloudflare (I’m on free plan, so no logs to see there). EDIT: did that, still nothing.
Any ideas?
EDIT: same problem on firestick
EDIT: I did try VPNing around the place to check for problems with the remote network, but everywhere i go, i get the same error.