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

@Fullmakt That is interesting. Can you send me your PMS logs for that time period?

I believe @bearer PM’ed you logs of the exact same thing previously. But I suppose I can enable logs again and make a new set if need be.

Indeed both server and client logs were PM’ed a while back, but this was using the new beta client I guess.

Some changes have been noted, downloading a single episode from a single has on a few occasions resulted in one and only one download. Increasing the number of episodes to be downloaded for the same show results in numerous duplicates. Currently 6 active downloads and 13 pending when changing downloads from 1 to 3 episodes. (Is is a step in the wrong direction as previously only saw 3-5x overhead, whith this trendign towards 10x)

Restarting Plex client also does seem to affect the download queue as presented on disk in the temp folder, usually clearing out partial and duplicate downloads on restart.

If you need additional logs I think that should probably wait for the current mess to settle down and a clear test case can be executed.

With the risk of repeating myself; Please update the docs on uninstalling Plex to include cleaning up any lingering downloads asap.

Oh, this was also an intersting feature of the new Beta 8.0 (2166) progress kept jumping up and down … keeps things interesting i guess!

.mp4 attachment not allowed? Dropbox - 682312975.mp4 - Simplify your life

Seems a little drunk indeed.

Would be good to know if all these download issues actually are being worked on though.

Increased transparency towards the community in general would be greatly beneficial, and establish a better cooperation between plex and it’s users imho.

Removed all downloads from client, restarted client, rebooted Macbook uninstalled client, rebooted Macbook installed non-testflight client.

System has 50gb+ of phanthom downloads on disk.

āžœ  com.plexapp.plex ls -lh ; ls -l | wc -l
total 118687264
-rw-------@ 1 user  staff   2.4G Mar 20 10:55 CFNetworkDownload_A4MTrj.tmp
-rw-------@ 1 user  staff   4.4G Mar 20 16:46 CFNetworkDownload_GDLf75.tmp
-rw-------@ 1 user  staff   4.4G Mar 20 23:56 CFNetworkDownload_ME1BZI.tmp
-rw-------@ 1 user  staff   4.4G Mar 20 16:49 CFNetworkDownload_O7nkLI.tmp
-rw-------@ 1 user  staff   4.4G Mar 20 21:28 CFNetworkDownload_TRxhwg.tmp
-rw-------@ 1 user  staff   4.4G Mar 21 00:00 CFNetworkDownload_Y7thJx.tmp
-rw-------@ 1 user  staff   4.4G Mar 20 16:19 CFNetworkDownload_ZYDOvH.tmp
-rw-------@ 1 user  staff   4.4G Mar 21 01:08 CFNetworkDownload_cloKY1.tmp
-rw-------@ 1 user  staff   4.4G Mar 20 16:20 CFNetworkDownload_fGTMEQ.tmp
-rw-------@ 1 user  staff   4.4G Mar 20 21:52 CFNetworkDownload_nCrsCb.tmp
-rw-------@ 1 user  staff   2.5G Mar 20 10:55 CFNetworkDownload_oyr8xv.tmp
-rw-------@ 1 user  staff   4.4G Mar 20 17:21 CFNetworkDownload_u9jflE.tmp
-rw-------@ 1 user  staff   1.9G Mar 20 10:55 CFNetworkDownload_uV72ac.tmp
-rw-------@ 1 user  staff   1.6G Mar 20 17:51 CFNetworkDownload_vGCLAB.tmp
-rw-------@ 1 user  staff   4.4G Mar 20 20:48 CFNetworkDownload_vvVHcD.tmp
      16
āžœ  com.plexapp.plex

50gb is a lot of space and a lot of bandwidth in my neck of the woods. Have found a small web series with imdb entries for further testing from a local plex server running on a pi as I’m 12gb away from being limited to 128kb/s for the rest of March. If at all possible to update those uninstall instructions I could have reclaimed some disk space and saved some bandwidth…

Can i delete these file or will the uninstalled client re-initiate the download?

(edit: PM’ed client and server logs along with a description of the test case using version 8.0 from appstore showing problem persists)

((edit2; it seems like downloading single movies or single episodes, does work as of version 8.0; but as soon as I try to download the ā€œnext unwatched episodeā€ of an series, despite it also being a single episode i still see duplicate downloads
No. 6 of 7 downlaods succeeded as a single episode, one did result in a total of 3 duplicates after client showing first attemt was successful))

@anon18523487 . I’m having huge issues, which may be related to what’s being reported in this thread. I’m not certain. I’ve got a bunch of music downloaded to the iOS client. ā€œSmallā€ subsets of it are constantly are being forgotten and redownloaded. A couple of days ago, I got so fed up, I uninstalled the Plex app on the phone, then reinstalled and downloaded 10.2 Gigabytes of offline music over the local network. Took much of the day. All files and albums reported downloading successfully. (There were a few glitches along the way but they all resolved when the app was restarted.)

Yet yesterday, this morning, and again right now, the app is redownloading music. When I went to write this post, I had only 9.5 Gb of music showing, with 86 songs being downloaded again. That’s approximately 3/4ths of a Gb that’s just vanishing. I can look at the dashboard in PMS and see that yes, the files really are being downloaded again (or at least the bandwidth is spiking during the time the app reports downloading.)

It’s extremely frustrating, especially since it’s been happening for so long. I didn’t even quite realize what was going until recently.

Would it be helpful to roll up my sleeves and try to get logs, send them to you, etc. Is there a better way to help Plex identify the problem and get support? I bought the Lifetime Plex Pass specifically for downloads. It’s really disappointing to have them so broken, but if there’s something uniuqe to my setup or I can help Plex fix the problem, I’m happy to do so.

Thanks.

2 Likes

So I’m down to 7.0 GB of offline music. I’ve literally watched 3.25 GB ~ 1/3rd of all my downloaded music, just magically disappear from Plex on my phone over the last 5 days. It now reports that it’s trying to download 432 songs (that were all previously downloaded.) My wife has the same problem. The feature is pretty much useless. I’m not only shocked, I’m really pretty angry that the problem has existed for months and months without a fix. How do I get support and how does this get fixed?

1 Like

Please provide the logs from the client app. We’re still unable to identify why this is happening. Every little bit of info helps.

Downloads is almost completely unusable. I can upload logs or whatever you need. Can you tell me what I need to provide for you to help debug the issue? I’m on iPhone 13 Max Pro. Plex Server is on a Synology DS220+ NAS.

1 Like

I have the exact same issue and equally frustrated as was also the main reason I subscribed to Plex Lifetime Pass. Is there a fix for this?

have to +1 this whole conversation. Plex transcodes and plays all my media just fine, but when it comes to transcoding and downloading, it gets anywhere from 2-85% complete and then quits with a [TranscodeOutputStream] Reached end of file message.

4 hour plane ride tomorrow with 3 kids - please help!! :pray:

server is the official plex docker on unraid. Client is iPad (iOS).

This seems to be the relevant section of the PMS logs. Full logs attached

May 13, 2022 14:30:00.449 [0x149afd07bb38] DEBUG - Activity: updated activity e4f0c358-ed2f-402c-b33e-677de8c8f850 - completed 84.8% - Media download by Kids
May 13, 2022 14:30:00.552 [0x149afd07bb38] DEBUG - Activity: updated activity e4f0c358-ed2f-402c-b33e-677de8c8f850 - completed 84.9% - Media download by Kids
May 13, 2022 14:30:00.652 [0x149afd09eb38] DEBUG - Activity: updated activity e4f0c358-ed2f-402c-b33e-677de8c8f850 - completed 84.9% - Media download by Kids
May 13, 2022 14:30:00.957 [0x149afd07bb38] DEBUG - Activity: updated activity e4f0c358-ed2f-402c-b33e-677de8c8f850 - completed 85.2% - Media download by Kids
May 13, 2022 14:30:01.260 [0x149afd07bb38] DEBUG - Activity: updated activity e4f0c358-ed2f-402c-b33e-677de8c8f850 - completed 85.3% - Media download by Kids
May 13, 2022 14:30:01.461 [0x149afd09eb38] DEBUG - Activity: updated activity e4f0c358-ed2f-402c-b33e-677de8c8f850 - completed 85.2% - Media download by Kids
May 13, 2022 14:30:01.564 [0x149afd07bb38] DEBUG - Activity: updated activity e4f0c358-ed2f-402c-b33e-677de8c8f850 - completed 85.3% - Media download by Kids
May 13, 2022 14:30:01.968 [0x149afd07bb38] DEBUG - Activity: updated activity e4f0c358-ed2f-402c-b33e-677de8c8f850 - completed 85.4% - Media download by Kids
May 13, 2022 14:30:02.271 [0x149afd07bb38] DEBUG - Activity: updated activity e4f0c358-ed2f-402c-b33e-677de8c8f850 - completed 85.5% - Media download by Kids
May 13, 2022 14:30:02.426 [0x149afc902b38] DEBUG - [TranscodeOutputStream] Input processing thread exited after writing 1068236800 bytes, m_closed=0, m_endOfFileReached=1, session->isStopped()=0
May 13, 2022 14:30:02.473 [0x149afd07bb38] DEBUG - Activity: updated activity e4f0c358-ed2f-402c-b33e-677de8c8f850 - completed 85.7% - Media download by Kids
May 13, 2022 14:30:02.475 [0x149afd07bb38] DEBUG - [TranscodeOutputStream] Reached end of file
May 13, 2022 14:30:02.475 [0x149afd07bb38] DEBUG - Removed transcode data consumer, active count 1 => 0
May 13, 2022 14:30:02.475 [0x149afd07bb38] DEBUG - Completed: [192.168.5.226:49356] 200 GET /video/:/transcode/universal/start.mkv?session=21d3b8181989f813df87de7df751aed911880da2 (10 live) TLS GZIP 247125ms 1068383505 bytes
May 13, 2022 14:30:02.502 [0x149afd07bb38] DEBUG - Activity: Ended activity e4f0c358-ed2f-402c-b33e-677de8c8f850.
May 13, 2022 14:30:02.717 [0x149afd07bb38] DEBUG - Auth: authenticated user 5509126 as Kids
May 13, 2022 14:30:02.717 [0x149afc98db38] DEBUG - Request: [192.168.5.226:49360 (Subnet)] GET /transcode/sessions/21d3b8181989f813df87de7df751aed911880da2 (10 live) TLS GZIP Signed-in Token (Kids)
May 13, 2022 14:30:02.717 [0x149afd07bb38] DEBUG - Completed: [192.168.5.226:49360] 200 GET /transcode/sessions/21d3b8181989f813df87de7df751aed911880da2 (10 live) TLS GZIP 0ms 680 bytes (pipelined: 1)
May 13, 2022 14:30:02.732 [0x149afd09eb38] DEBUG - Auth: authenticated user 5509126 as Kids
May 13, 2022 14:30:02.732 [0x149afcafbb38] DEBUG - Request: [192.168.5.226:61429 (Subnet)] GET /video/:/transcode/universal/stop?session=21d3b8181989f813df87de7df751aed911880da2 (10 live) TLS GZIP Signed-in Token (Kids)
May 13, 2022 14:30:02.732 [0x149afc4dcb38] DEBUG - [Transcode] Killing job.
May 13, 2022 14:30:02.732 [0x149afc4dcb38] DEBUG - [Transcode] Signalling job ID 601 with 9
May 13, 2022 14:30:02.732 [0x149afc4dcb38] DEBUG - [Transcode] Job was already killed, not killing again.
May 13, 2022 14:30:02.732 [0x149afc4dcb38] DEBUG - [Transcode] Stopping transcode session 21d3b8181989f813df87de7df751aed911880da2
May 13, 2022 14:30:02.732 [0x149afd09eb38] DEBUG - Completed: [192.168.5.226:61429] 200 GET /video/:/transcode/universal/stop?session=21d3b8181989f813df87de7df751aed911880da2 (10 live) TLS GZIP 0ms 195 bytes (pipelined: 31)
May 13, 2022 14:30:02.733 [0x149afc4dcb38] DEBUG - [Transcode] Activity: Ended activity 4dcde216-2db6-45d4-9bc2-e96d98022263.
May 13, 2022 14:30:02.736 [0x149afc4dcb38] DEBUG - [Transcode] Streaming Resource: Terminating session 0x149afbf45808:21d3b8181989f813df87de7df751aed911880da2 which is using static transcoder slot.  Used slots is now 0
May 13, 2022 14:30:02.737 [0x149afc4dcb38] DEBUG - [Transcode] Streaming Resource: Terminated session 0x149afbf45808:21d3b8181989f813df87de7df751aed911880da2 with reason Client stopped playback.
May 13, 2022 14:30:02.737 [0x149afc4dcb38] DEBUG - [Transcode] Streaming Resource: Removing session 0x149afbf45808:21d3b8181989f813df87de7df751aed911880da2
May 13, 2022 14:30:02.737 [0x149afc4dcb38] DEBUG - [Transcode] Transcoder: Cleaning old transcode directories.
May 13, 2022 14:30:02.737 [0x149afc4dcb38] DEBUG - [Transcode] Transcoder: Cleaning old transcode directory: "/config/Plex Media Server/Cache/Transcode/Sessions/plex-transcode-21d3b8181989f813df87de7df751aed911880da2-34a3faf0-7cb7-40d2-98b4-5302aee8b8d4"
May 13, 2022 14:30:02.739 [0x149afc4dcb38] ERROR - [Transcode] Transcoder: Failed to delete session directory (boost::filesystem::remove: Directory not empty: "/config/Plex Media Server/Cache/Transcode/Sessions/plex-transcode-21d3b8181989f813df87de7df751aed911880da2-34a3faf0-7cb7-40d2-98b4-5302aee8b8d4")
May 13, 2022 14:30:02.739 [0x149afc4dcb38] DEBUG - [Transcode] Whacked session 21d3b8181989f813df87de7df751aed911880da2, 0 remaining.
May 13, 2022 14:30:02.755 [0x149afded3b38] DEBUG - Jobs: '/usr/lib/plexmediaserver/Plex Transcoder' exit code for process 601 is -9 (signal: Killed)
May 13, 2022 14:30:02.755 [0x149afc1e9b38] DEBUG - Cleaning directory for session 21d3b8181989f813df87de7df751aed911880da2 (/config/Plex Media Server/Cache/Transcode/Sessions/plex-transcode-21d3b8181989f813df87de7df751aed911880da2-34a3faf0-7cb7-40d2-98b4-5302aee8b8d4)
May 13, 2022 14:30:02.795 [0x149afc98db38] DEBUG - Request: [192.168.5.117:57921 (Subnet)] GET /status/sessions/background (9 live) TLS GZIP Signed-in Token (johnny2678) (johnhill-ltm2.internal.salesforce.com)
May 13, 2022 14:30:02.795 [0x149afd09eb38] DEBUG - Completed: [192.168.5.117:57921] 200 GET /status/sessions/background (9 live) TLS GZIP 0ms 397 bytes (pipelined: 45)
May 13, 2022 14:30:07.786 [0x149afd07bb38] DEBUG - Completed: [192.168.5.117:56972] 200 GET /player/proxy/poll?deviceClass=pc&protocolVersion=3&protocolCapabilities=timeline%2Cplayback%2Cnavigation%2Cmirror%2Cplayqueues&timeout=1 (9 live) TLS GZIP 20001ms 5 bytes (pipelined: 115)

The client just reports download verification failed @14:30 timestamp - same time PMS reports Reached end of file

This happens on ALL downloads. Not just some. Downloading without transcoding works fine, but defeats the purpose of the feature.

2022/05/13 14:30:02.814 (196 MB) (1461129) šŸ”§ PMKLogging.m:29 | Download verification failed

Plex Media Server Logs_2022-05-13_14-30-26.zip (365.3 KB)
PlexDebugInfo-8.2-2517 (2022-05-13 14.31.16 -0400).zip (659.3 KB)

My workaround workflow is to ā€œOptimizeā€ the desired media into a separate folder and then add that folder as a new library. Then set client download settings back to ā€œOriginalā€ and download from the ā€œOptimizedā€ folder. :face_vomiting:

My downloads always fail at the end too. I upload here debug info with extended debug option enabled.

It looks like the issue is in this line:
2022/05/18 12:27:14.280 (158 MB) (614568) :x: PMKLogging.m:14 | Error verifying download: Impossibile trovare un server con il nome host specificato.

PlexDebugInfo-francosolerio-8.2-2517 (2022-05-18 12.27.25 +0200).zip (375.3 KB)

I was able to fix this issue for myself by disabling DNS Rebind Check on my pfSense firewall. this was mentioned above and it instantly resolved my download issue for all my iOS-based clients.

My router (FritzBox) doesn’t allow to disable DNS Rebind, it would remove a defense against a common attack. It allows to add exceptions by hostname, but I don’t know which hostname should I add to let Plex clients download movies.

It looks like a Plex bug to me, if Plex clients can stream videos without disabling DNS rebind, they should be able to download them too.

EDIT: the correct hostname to add is plex.direct, adding this the downloads complete. Still looks like a bug to me: common users have no way to know they have to make such modifications to their router config, and will not look for a solution in a 216 posts support forum page.

Having the same problem, my wife wants some episodes downloading to her iPad and they just sit there and say failed after a while, the Plex server ā€œthinksā€ it’s transcoding something but nothing ever seems to happen.

I have an ASUS router and can’t see where to set plex.direct anywhere in the settings. Running the latest PMS on an Nvidia Shield and version of the app on the iPad.

I’ve had a read through the thread but so many things going on I don’t know where to start with it.

For me the issue was a new Apple feature called Private Relay that I had enabled. Once disabled in IOS settings I was able to download from Plex server without issue.

1 Like

Thanks I’ll give that a try.

Hi, I’m having this same issue with my wife’s iPad 4 mini. Every single download fails but if I try the same download to my iPhone 12 Pro Max then they work fine.

What information do you need to try and see what the issue might be?

Logs if anyone can help? 117.8 KB file on MEGA