IOException: Unsuccessful response when dowloading on Android

Server Version#: v1.27.1.5891-c29537f86
Player Version#: 9.4.1.33413 (843589713)

Hi, I’m not sure if I enabled verbose logging, I just clicked “Download logs”, so potential apology in advance… :slight_smile:

My actual issue is that I’m not able to download movies / tv-shows on android 12 (Samsung Galaxy A71) as well as Samsung Galaxy Tab. As far as I can tell, it’s failing at java.io.IOException: Unsuccessful response: 0.

No idea how to debug this, I’ve attached logs of server and samsung tablet, I hope there is something you people can do because not having working downloads kinda defeats my main reason for paying Plex pass…
Plex Media Server Logs_2022-07-07_14-22-33.zip (4.3 MB)
plex-log-leonhard45.zip (1.4 MB)

Looks like the server you are accessing is using a custom domain with an https connection. That server needs to provide it’s own security certificate in that case otherwise the app cannot make a secured connection to the server.

What exactly does this mean, I am running the plex server behind an nginx reverse proxy using Lets encrypt. Do I manually need to tell the plex server about the SSL sertificate? Also, why does this result in an IOException the client device of all things?

The error means the server refused to accept the request since it came in with a wrong security certificate. The exception is the client acknowledging the error.

I can’t help with the reverse proxy, but that is the problem. Search around the forums, I’m sure there is a solution on here.

Where exactly do you see that it’s a certificate / reverse proxy issue?

I’m not sure that’s the case but something is blocking the connection between the client and the server.

07-06 22:00:37.170 e: [PlexServerWebSocket] (ID: 14445745 | Server: Tokat) Connection failed.
07-06 22:00:37.171 e: An exception occurred: java.net.ProtocolException: Expected HTTP 101 response but was ‘400 Bad Request’
07-06 22:00:37.171 e: Stacktrace: java.net.ProtocolException: Expected HTTP 101 response but was ‘400 Bad Request’
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:920)

That is the request to the server. The IO exception is then a result of the client trying to save the Downloaded data, but since there is no data, there is nothing to save, and so you get the error.

You can test by turning off the reverse proxy.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.