Plex offline Download option never working

Server Version#: 6.2.4-25556 update 6
Player Version#: 9.13.1.37459(39e89c99)

I have never been able to use the new “Download” option that replaced the “Sync” option. Played with it since it came out but never got it working. Tried on multiple servers with multiple devices but never got it working. Have Plex pass. Applies to all file types. Songs, videos etc. The system will pretend that it’s working but after a few second will always come up with this error. Retrying has no effect. Playing the files directly works just fine so it’s not a case of server being down or encoding/decoding issues as far as I can tell. Signed in on both sides with the same lifetime plex pass account.

Was recommended in another post to upload some logs. Is it safe to upload them here? (no personal info or server details exposed?)

If so, then I’ll attach.

Regards
Schwizer

1 Like

The forum is the place for support and logs can be attached to the forum posts.
Servers are protected by user accounts and passwords and there is also two-factor authentication available.
Passwords and security tokens are not visible in logs

User Account names, IP addresses and file paths within the filesystem may be visible in logs

Please make sure the logs from both the Android and the server are captured soon after the error and screenshot
Please indicate the time of the error
And make sure the server debug logging was enabled beforehand

Your server version on the Synology is 1.30.0.6486 and not what is specified above

PS: I noticed you also have a windows machine on a very old version of Plex Media Server - 1.26.0.5715 - you can update by downloading the latest release here https://plex.tv/downloads

Thank you. Attached the logs. I downloaded new ones since i didn’t know the exact time of the error. Now i reproduced the error wat 1:52 CET. Then waited about 30 seconds and downloaded logs.

image

Regarding your comment on server version, sorry that’s my fault. I had in my mind that you needed the version on my Synology DS.

Plex Media Server Logs_2023-01-03_13-52-28.zip (5.3 MB)
plex-log-Schwizer.zip (941.6 KB)

The windows server was only used to troubleshoot the Download functionality, that was a long time ago. I don’t maintain it. I just wanted to rule out that it was a Synology Disk Station issue. Since i got the same error trying to download from my Windows Machine at the time, I could likely rule out an issue with the Synology or the Synology Plex software.

Schwizer

I think it is dns rebinding protection issue - possibly same issue as Server crashing hard when trying to download - #12 by sa2000

This is failing:
https://192-168-178-54.c35706253ccb4dca856a51903b66eb4c.plex.direct:32400/library/parts/122297/1575798134/file.flac?download=1&X-Plex-Token=...c"}}

01-03 13:51:57.709  e: [Downloader] Exception downloading /data/user/0/com.plexapp.android/Plex Media Server/Sync/1/18/.grab/d6d01c62422aaf7b152a26a4ef3ef8a1a2b70d86-local/02 - Rag Doll.flac

01-03 13:51:57.710  i: [DownloadQueueManager] Download failed: d6d01c62422aaf7b152a26a4ef3ef8a1a2b70d86

01-03 13:51:57.710  e: An exception occurred: java.io.IOException: Unsuccessful response: 0
01-03 13:51:57.710  e: Stacktrace: java.io.IOException: Unsuccessful response: 0
	at com.plexapp.downloads.m.d(SourceFile:275)
	at com.plexapp.downloads.m.b(Unknown Source:0)
	at com.plexapp.downloads.m$a.invokeSuspend(SourceFile:13)
	at kotlin.coroutines.jvm.internal.a.resumeWith(SourceFile:12)
	at kotlinx.coroutines.b1.run(SourceFile:119)
	at kotlinx.coroutines.internal.n.run(SourceFile:13)
	at kotlinx.coroutines.scheduling.k.run(SourceFile:3)
	at kotlinx.coroutines.scheduling.a.k(SourceFile:1)
	at kotlinx.coroutines.scheduling.a$c.d(SourceFile:15)
	at kotlinx.coroutines.scheduling.a$c.n(SourceFile:29)
	at kotlinx.coroutines.scheduling.a$c.run(Unknown Source:0)

01-03 13:51:58.040  i: [SourceManagerStorage] Correctly saved 15 sources (9 pinned) (15 previously pinned).
01-03 13:52:00.712  i: [DownloadQueueManager] Network conditions are fine, download really failed

01-03 13:52:00.713  w: [DownloadQueueManager] Adding d6d01c62422aaf7b152a26a4ef3ef8a1a2b70d86 to the failed list: Unknown issue occurred.

Let me know if making the changes to the FritzBox configuration makes a difference

@bschwizer I have confirmation from another user here [BUG] Download errors on Android App - #5 by Peelex that disabling DNS Rebinding protection fixed the issue. Did you manage to make the change to whitelist *.plex.direct or disable DNS Rebinding protection?

I have added this entry but after a router reboot, download still failed. Syntax issue?

Regards
Schwizer

And does this now work in command line window on a machine on the local network?

nslookup 192-168-178-54.C35706253CCB4DCA856A51903B66EB4C.plex.direct

It needs to show resolved to 192.168.178.54

No. Same message. Interesting though, on my Pixel 6 Pro, Download works when i’m on the road but not when i’m on local WIFI/LAN. Is that what you said in the other post that only the DNS requests from within the same network get denied? Or is there something else going on?


Regards
Schwizer

Update. I have added 2 more entries to the configuration.
image
As of right now, Download is working on my Pixel 6 Pro even when on same Wifi. But initial results look good. Both video and music are downloading. Would be super to solve a 3 year old issue. Thanks in advance. It was quite a journey to my Plex NAS working so i could both access it externally (static IP, router ports, etc) as well as do the download. I will be sure to update my plex reviews as well if this works. Would be great if the application could provide links to some of these knowledge articles that you linked me directly from within the app instead of just a generic “didn’t work”

Regards
Schwizer

Great - thanks for experimenting with the settings on the router

Yes - that is what DNS Rebinding Protection blocks

FYI I tested all 3 of these and the only URL that worked was “plex.direct”

A fix for DNS Rebinding Protection stopping downloads on Android mobile has now been released in Plex for Android version 9.16.0

See Release Notice Plex for Android - #458 by ManuelPG

  • [Mobile] Downloads: downloads would fail if network had DNS Rebinding Protection enabled.

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