Plex iOS Download feature is unusable as it does not ever complete a download

i have checked my router(xiaomi AX3600), there is no place to set DNS rebinding. you mean this is a bug of app?

i also tell you the app of windows can download media successful! so i think the router’s setting is correct. issue is app for ios side, right?

According to your logs, there is DNS rebinding protection enabled on your router. Normally the app can bypass this and still work. It does when streaming. There is a bug that when using Downloads, this bypass is not working. We are working to get that fixed. But DNS rebinding protection on your network is happening.

2 Likes

Do you know how long it will be fixed, as the sync feature will be shutdown future

1 Like

I don’t have an ETA but it’s being worked on.

The DNS rebinding protection may also be coming from your ISP’s DNS server. This should be in your router settings. Change them to use something else. Google’s public DNS servers should work.

1 Like

I’m running unbound and pi-hole on unraid and this seemed to fix it. I stopped unbound, added your line at the bottom of the conf file and seems to be working! You’re the man. Thanks for posting this.

I can confirm this problem as well with a „Fritz!Box” as a router. What setting up 8.8.8.8 as the DNS in the iOS device downloads is finally working.
But this can’t be the final solution and I hope this will be addressed soon in an upcoming iOS app update!!!

3 Likes

Ok this also worked for me. I could not for the life of me figure out what was going on. Does 1.1.1.1 also work for people? And, why do I have to do this on my iOS device specifically, if my router already uses one of these DNS’? I have seen some Plex app updates, when is this one due to be out w/ the fix?

Same issue for me. iOS app downloads do not start, on Wi-fi or LTE. Adding these details:

The Plex hamburger menu has a yellow spinner. Says

Downloading 1 of 1

Clicking on the Downloads page shows:

0.0 KB

@pk_plex Were you currently using Sync before switching to Downloads? Do you have any Sync jobs that auto update? If you have a pending/open Sync job, that can prevent Downloads from working. If you can reproduce this with a fresh start (i.e. all Sync deleted) and provide logs, I’ll take a look.

@MovieFan.Plex I don’t believe I used Sync prior to Downloads, but I’m unsure.

Where can I see any “pending/open Sync jobs”?

  1. Clear your current downloads (Downloads > Items)
  2. Go to Settings > Downloads and disable Activate new "Downloads"
  3. Open the (old) Sync entry from the main menu’s sidebar and check if there’s any leftover sync jobs; delete those
  4. Re-Enable Settings > Activate new "Downloads"

I solved it like MiloPlex, thanks for the hint. I added “Plex.direct” in my fritz.box settings => internet => filters => lists => allowed websites
sorry, these expressions are translated from German fritz.box settings by myself, so they may differ.
Butt additionally I had to reinstall the plexapp on my devices (iPad Air2, iPhone11, iPad9).
Now the download function works.

1 Like

PlexDebugInfo-ahm.awdhi@gmail.com-7.26-1822 (2022-01-06 22.16.13 +0300).zip (2.9 MB)

I’m facing the same download issue. I don’t see any DNS binding protection in my router (tp-Link deco) or modem (Huawei).

tried changing my DNS in the iphone to 8.8.8.8 and still didn’t solve the issue.

please note that I have no issue in playing the media. the issue is only when trying to download

Go to Settings > Downloads and disable Activate new "Downloads"

For anyone else doing this, note that these settings are within the iOS app not on the Server.

I did have old Sync items from over a year ago. I cleared those out but it did not fix the problem.

I then deleted the iOS Plex app and reinstalled from the App Store. This cleared whatever cache I had and enabled the download.

Note that the entire time it was downloading, the screen continued to say 0.0 KB as the speed in the top left corner.

I’ve got round the DNS rebind problem and can now download music but still no success downloading films or tv. Sync worked on this device and the video I’m trying to download plays on this device when on-line.

I’ve followed all fixes earlier in this thread (gone back to Sync, make sure there’s nothing still synced/queued, uninstalled, re-installed) but still get 0.0KB showing in the Downloads screen. After a few minutes of downloading a video file, the file is marked as ‘Error downloading this item’ and an exclamation mark over on the right.
Can anyone suggest anything else?

Not sure if this helps or not (am happy to post the whole file(s) if that would be better?:

Jan 07, 2022 16:19:13.891 [0x16cedb000] ERROR - [Grabber/27836bb5e82daca1c6ceced795a7ec48dfd9a331] Exception inside transaction (inside=1) (/data/jenkins/server/914494200/Library/Tag.cpp:215): sqlite3_statement_backend::loadOne: UNIQUE constraint failed: tags.id
Jan 07, 2022 16:19:13.891 [0x16cedb000] ERROR - [Grabber/27836bb5e82daca1c6ceced795a7ec48dfd9a331] Exception inside transaction (inside=1) (/data/jenkins/server/914494200/Library/MetadataItem.cpp:7228): sqlite3_statement_backend::loadOne: UNIQUE constraint failed: tags.id
Jan 07, 2022 16:19:13.891 [0x16cedb000] ERROR - [Grabber/27836bb5e82daca1c6ceced795a7ec48dfd9a331] Exception inside transaction (inside=1) (/data/jenkins/server/914494200/MediaProviders/Grabbers/MediaAssimilator.cpp:642): sqlite3_statement_backend::loadOne: UNIQUE constraint failed: tags.id
Jan 07, 2022 16:19:13.891 [0x16cedb000] ERROR - [Grabber/27836bb5e82daca1c6ceced795a7ec48dfd9a331] Assimilator: An error occurred assimilating media.
Jan 07, 2022 16:19:13.891 [0x16cedb000] DEBUG - [Grabber/27836bb5e82daca1c6ceced795a7ec48dfd9a331] Grabber: Operation for 'Lost in Space (2018) - E6 - Eulogy' completed with status error (An unknown error occurred)
Jan 07, 2022 16:19:13.891 [0x16cedb000] DEBUG - [Grabber/27836bb5e82daca1c6ceced795a7ec48dfd9a331] Activity: Ended activity 9edc46c8-0d3d-489f-b114-b2c1fd0feac7.
Jan 07, 2022 16:19:13.891 [0x16cedb000] DEBUG - [Grabber/27836bb5e82daca1c6ceced795a7ec48dfd9a331/ExternalRecorder] Removing download of 'https://192-168-0-2.6f4a9d0e0d9848e4ad42ba738ecad75f.plex.direct:32400/video/:/transcode/universal/start.mkv?session=1913f22bb30f7aaf0cba33eeee7d41c278971f3e&X-Plex-Token=xxxxxxxxxxxxxxxxxxxx' to '/private/var/mobile/Containers/Data/Application/F5A482AB-71A8-4CC6-A4BA-1B130045B2D7/Library/Application Support/Plex Media Server/Sync/1/2/.grab/27836bb5e82daca1c6ceced795a7ec48dfd9a331-A3E06C92-59B4-45F9-8FBF-AAFC492E0E8D/Lost in Space (2018) (2018) - S01E06 - Eulogy.mkv' from database

Thanks

Robin

See Update on new Downloads feature. This looks like issue #2.

It looks like issue #2 only occurs when ‘Genre id=“3”’ is present in the video’s xml data. That doesn’t look to be true for any of the files I’ve tried to download. Am I checking the correct file?:

<MediaContainer size="1" allowSync="1" identifier="com.plexapp.plugins.library" librarySectionID="2" librarySectionTitle="TV Shows" librarySectionUUID="0499838c-467c-4729-af06-191aa19f1159" mediaTagPrefix="/system/bundle/media/flags/" mediaTagVersion="1638943228">
<Video ratingKey="398942" key="/library/metadata/398942" parentRatingKey="319090" grandparentRatingKey="319089" guid="plex://episode/5de83dc76d8191001faa2416" parentGuid="plex://season/602e72bc66dfdb002c0b23c2" grandparentGuid="plex://show/5d9c08e9705e7a001e6e6658" type="episode" title="Eulogy" grandparentKey="/library/metadata/319089" parentKey="/library/metadata/319090" librarySectionTitle="TV Shows" librarySectionID="2" librarySectionKey="/library/sections/2" grandparentTitle="Lost in Space (2018)" parentTitle="Season 1" contentRating="TV-PG" summary="Maureen debates whether to share what she saw in the sky, Don leads a mission to find fuel, and the robot's presence stokes tensions within the group." index="6" parentIndex="1" audienceRating="7.5" viewOffset="1542478" lastViewedAt="1641399980" parentYear="2018" thumb="/library/metadata/398942/thumb/1637965919" art="/library/metadata/319089/art/1630265479" parentThumb="/library/metadata/319090/thumb/1637965919" grandparentThumb="/library/metadata/319089/thumb/1630265479" grandparentArt="/library/metadata/319089/art/1630265479" grandparentTheme="/library/metadata/319089/theme/1630265479" duration="3932262" originallyAvailableAt="2018-04-13" addedAt="1632311516" updatedAt="1637965919" audienceRatingImage="thetvdb://image.rating">
<Media id="638557" duration="3932262" bitrate="2522" width="1280" height="640" aspectRatio="1.85" audioChannels="6" audioCodec="eac3" videoCodec="h264" videoResolution="720" container="mkv" videoFrameRate="24p" videoProfile="high">
<Part accessible="1" exists="1" id="645921" key="/library/parts/645921/1589545071/file.mkv" duration="3932262" file="D:\ServerFolders\Video\Series\Lost in Space\Season01\Lost.in.Space.2018.S01E06.720p.WEBRip.x264-WEBTiFUL[eztv].mkv" size="1239755303" container="mkv" deepAnalysisVersion="6" requiredBandwidths="7380,4721,3244,2808,2714,2714,2714,2714" videoProfile="high">
<Stream id="1269372" streamType="1" default="1" codec="h264" index="0" bitrate="2522" bitDepth="8" chromaLocation="left" chromaSubsampling="4:2:0" codedHeight="640" codedWidth="1280" colorPrimaries="bt709" colorRange="tv" colorSpace="bt709" colorTrc="bt709" frameRate="23.976" hasScalingMatrix="0" height="640" level="41" profile="high" refFrames="5" requiredBandwidths="6930,4272,2796,2359,2266,2266,2266,2266" scanType="progressive" width="1280" displayTitle="720p (H.264)" extendedDisplayTitle="720p (H.264)"> </Stream>
<Stream id="1269373" streamType="2" selected="1" default="1" codec="eac3" index="1" channels="6" bitrate="448" language="English" languageTag="en" languageCode="eng" audioChannelLayout="5.1(side)" requiredBandwidths="448,448,448,448,448,448,448,448" samplingRate="48000" displayTitle="English (EAC3 5.1)" extendedDisplayTitle="English (EAC3 5.1)"> </Stream>
<Stream id="1269374" streamType="3" codec="ass" index="2" bitrate="0" language="English" languageTag="en" languageCode="eng" requiredBandwidths="1,1,1,1,1,1,1,1" title="English" displayTitle="English (ASS)" extendedDisplayTitle="English (ASS)"> </Stream>
<Stream id="1269375" streamType="3" codec="ass" index="3" bitrate="0" language="German" languageTag="de" languageCode="deu" requiredBandwidths="1,1,1,1,1,1,1,1" title="German" displayTitle="German (ASS)" extendedDisplayTitle="German (German ASS)"> </Stream>
<Stream id="1269376" streamType="3" codec="ass" index="4" bitrate="0" language="French" languageTag="fr" languageCode="fra" requiredBandwidths="1,1,1,1,1,1,1,1" title="French" displayTitle="French (ASS)" extendedDisplayTitle="French (French ASS)"> </Stream>
<Stream id="1269377" streamType="3" codec="ass" index="5" bitrate="0" language="Dutch" languageTag="nl" languageCode="nld" requiredBandwidths="1,1,1,1,1,1,1,1" title="Dutch" displayTitle="Dutch (ASS)" extendedDisplayTitle="Dutch (Dutch ASS)"> </Stream>
<Stream id="1269378" streamType="3" codec="ass" index="6" bitrate="0" language="Turkish" languageTag="tr" languageCode="tur" requiredBandwidths="1,1,1,1,1,1,1,1" title="Turkish" displayTitle="Turkish (ASS)" extendedDisplayTitle="Turkish (Turkish ASS)"> </Stream>
</Part>
</Media>
<Director id="18157" filter="director=18157" tag="Vincenzo Natali"/>
<Writer id="141837" filter="writer=141837" tag="Ed McCardie"/>
<Guid id="imdb://tt7012004"/>
<Guid id="tmdb://1437285"/>
<Guid id="tvdb://6625186"/>
<Role id="183360" filter="actor=183360" tag="Iain Belcher" role="Evan" thumb="https://metadata-static.plex.tv/8/people/8308068a2273967d4974d618f0d41d6c.jpg"/>
<Role id="28169" filter="actor=28169" tag="Cary-Hiroyuki Tagawa" role="Hiroki Watanabe" thumb="https://metadata-static.plex.tv/people/5d77682785719b001f3a0eb8.jpg"/>
<Role id="141824" filter="actor=141824" tag="Kiki Sukezane" role="Aiko Watanabe" thumb="https://metadata-static.plex.tv/people/5d776bcdfb0d55001f573373.jpg"/>
<Role id="141820" filter="actor=141820" tag="Ajay Friese" role="Vijay Dhar" thumb="https://metadata-static.plex.tv/b/people/b27e681eccc4e450df81e2001821a94f.jpg"/>
<Role id="183361" filter="actor=183361" tag="Adam Greydon Reid" role="Peter Beckert" thumb="https://metadata-static.plex.tv/3/people/35dff1cd40fc9497036761973bb603ff.jpg"/>
<Role id="141823" filter="actor=141823" tag="Sibongile Mlambo" role="Angela Goddard" thumb="https://metadata-static.plex.tv/people/5d77698496b655001fdd0dc6.jpg"/>
<Role id="141825" filter="actor=141825" tag="Yukari Komatsu" role="Naoko Watanabe" thumb="https://metadata-static.plex.tv/people/5e164c3c316a39003ef96307.jpg"/>
<Role id="183372" filter="actor=183372" tag="Viv Leacock" role="Reese" thumb="https://metadata-static.plex.tv/people/5d77683185719b001f3a2b87.jpg"/>
<Role id="6987" filter="actor=6987" tag="Raza Jaffrey" role="Victor Dhar" thumb="https://metadata-static.plex.tv/people/5d77682bf54112001f5bc5d3.jpg"/>
<Role id="183368" filter="actor=183368" tag="Amelia Burstyn" role="Diane"/>
<Role id="15423" filter="actor=15423" tag="Brian Steele" role="The Robot" thumb="https://metadata-static.plex.tv/people/5d7768286f4521001ea993b6.jpg"/>
<Role id="183362" filter="actor=183362" tag="Rowan Schlosberg" role="Connor" thumb="https://metadata-static.plex.tv/people/5d7768663ab0e7001f5002d5.jpg"/>
<Marker id="142475" type="intro" startTimeOffset="1485" endTimeOffset="71399">
<Attributes id="142475"/>
</Marker>
<Extras size="0"> </Extras>
<Related> </Related>
</Video>
</MediaContainer>

No. That’s for the episode. You need to look at the show. In the URL that appears, you’ll see near the front library/metadata/398942. Change that number to 319089, hit enter and recheck the results.

I’m having issues downloading TV or film as well, but music is fine. I’m using the latest iOS app that fixed DNS rebinding protections. Is there something else I can try? I turned on the old Plex Sync for now, and the downloads are working.

I can send more debug info as needed.

Just downloaded the latest iOS release and downloads are all sorted for me. Thank you to all those at Plex and @anon18523487 for making this happen

1 Like