[Bug]: Downloader dosen't work on Dual Wan Router #1791
Labels
No labels
awaiting-reply
breaking changes
bug
cannot-reproduce
dependencies
documentation
duplicate
electron-issue
enhancement
fix-available
good first issue
help wanted
invalid
javascript
need more information
need rebase
official-youtube-music-issue
plugin request
question
release
security
stale
Status: blocked
typo
wontfix
ytmd-issue
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: YTMD/youtube-music#1791
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Preflight Checklist
YouTube Music (Application) Version
3.3.2.0
Checklists
What operating system are you using?
Windows
Operating System Version
Windows 11 23H2
What CPU architecture are you using?
x64
Last Known Working YouTube Music (Application) version
No response
Reproduction steps
Expected Behavior
I expect to be able to download a song.
Actual Behavior
Sometimes the downloader works, but about 75% of the time it fails with the message Argh! Apologies Download Failed...
nct::ERR_FAILED
Seems to happen randomly. Sometimes i am able to download several songs no problem. Then, i hit this error, and i keep trying again and again till eventually it works
Enabled plugins
Ad blocker
Downloader
In app menu
Navigation
Additional Information
I would provide a log, but it is unclear to me how to do so...
Are you using a proxy?
No. I'm not using a proxy. I do have a dual wan load balancing edgerouter set up. I can try disabling one of the wan's but I'm not sure if that will help. Can you explain to me on how to do a debug log???
As a general advice, when you want to see logs of GUI applications, you usually launch them from the command line.
In my case, I do:
You just locate where the executable of Youtube Music is, and launch it like I did
Step-by-step video:
https://github.com/th-ch/youtube-music/assets/53124886/ef94a4f2-a143-4aeb-90bb-41b4861f8b75
Ah ok. I thought there was something else you had to do. I didn't realize all I needed to do was run it from cli. I'm not able to test this right now, but should be able to in a few hours. I'll post the output once I get a chance
This is the error/output I get. Let me know what I should try

Same problem here too! When downloading my Liked Songs playlist, once it hits around 250 songs, the program crashes without any notice but shows up on the logs.
Trying to continue downloading the songs on where it stopped results in an error message like above at first, but then when I restart the program it works again. Very weird.
This issue was fixed at
fd6ba1eda1
@JellyBrick Slightly different error this time after compiling from source, happens on both .mp3 and Source preset.


Also noticed that this message shows up when I select the .mp3 preset.
@NotShige Are you using a 32-bit version of Windows?
@NotShige Are you experiencing the same issue after
55c934a
?OK, so I decided to try and disable wan2 of my dual wan setup. The Problem immediately went away. I was able to download 20 songs in my liked music, with 0 problems. I reenabled wan2, ran the same test, and sure enough about 6 songs into downloading the error came back... @JellyBrick is there any way to get this working with a dual wan setup? I know dual wan is not a common thing in most homes, but I would greatly appreciate it if you could figure it out
I am experiencing the same issue as @briantho. I am not using dual wan. My internet is Carrier-grade NAT with t-mobile home internet.

ah, very interesting. I forgot to mention, the wan2 on my router is using starlink, which is in turn using cgnat. now it all makes sense, since I'm using load balancing some packets go through my local isp cable provider, and some go through starlink. In my test, i tried disabling wan2, aka starlink. I'll try disabling wan1, aka my local ISP cable provider tomorrow, and see if downloading works though starlink only. If that's the case, then it's not a dual wan issue, but a issue with CGnat. I'll test tomorrow and report back.
Same problem :/
did anyone get the exact solution

Youtube music 1.2 used to be my work around, but now I'm getting this same error on any versions on any of my laptops this is really vexing TwT
Now if I try to download an album t'l say error: playlist is empty

When I try making a playlist, some, albeit very little songs will download, for the rest this error'll always pop out

I get same issue. It's not just playlists, some songs just ERR when downloading through this program
yt-dlp can grab it fine though
This also happens on the latest version. At the first try of downloading a song, it will throw an error with
net::ERR_FAILED
. Repeating the download will succeed afterwards.Using
getNetFetchAsFetch
causes the error. Using nativefetch
(leaving it empty) does not cause an error on my end.@JellyBrick is there any drawback of not using net fetch for the downloader plugin?
I hoped for something that would be able to download entire playlist for later use in offline but, while downloading songs one by one works fine, downloading playlist fails with a number of error popup windows like below:
Trying to start the download of the playlist again I got "Folder already exists" error - and indeed I found it among youtube-music files instead in my Downloads folder, but it's incomplete - only wo songs were fetched out of 13...
What's wrong? Hot to fix it?
Just tried it today and I also experience issues on windows 11
Perhaps an idea to add support for synchronizing the full library automaticly with the downloads folder?
Info


It supports the automatic management of system proxy configuration