Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Downloader dosen't work on Dual Wan Router #1791

Open
4 of 5 tasks
briantho opened this issue Feb 23, 2024 · 18 comments
Open
4 of 5 tasks

[Bug]: Downloader dosen't work on Dual Wan Router #1791

briantho opened this issue Feb 23, 2024 · 18 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@briantho
Copy link

Preflight Checklist

  • I use the latest version of YouTube Music (Application).
  • I have searched the issue tracker for a bug report that matches the one I want to file, without success.
  • I understand that th-ch/youtube-music has NO affiliation with Google or YouTube

YouTube Music (Application) Version

3.3.2.0

Checklists

  • I use the portable version of the YouTube Music Application.
  • I can reproduce this issue in the official YTM web version.

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

  1. Have the downloader plugin enabled.
  2. Play a song
  3. Click the 3 vertical dots menu to bring up the context menu.
  4. Click the download button

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

image

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...

@briantho briantho changed the title [Bug]: [Bug]: Downloader dosen't work about 75% of the time Feb 23, 2024
@JellyBrick JellyBrick added the cannot-reproduce Bug cannot be reproduced label Feb 23, 2024
@JellyBrick
Copy link
Collaborator

Are you using a proxy?

@briantho
Copy link
Author

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???

@ArjixWasTaken
Copy link
Contributor

ArjixWasTaken commented Feb 23, 2024

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:

cd %USERPROFILE%\AppData\Local\Programs\youtube-music
".\YouTube Music.exe"

image

You just locate where the executable of Youtube Music is, and launch it like I did

@ArjixWasTaken
Copy link
Contributor

Step-by-step video:

how-to-get-logs.mp4

@briantho
Copy link
Author

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

@briantho
Copy link
Author

This is the error/output I get. Let me know what I should try
image

@NotShige
Copy link

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.

cmd_rld7BntwvV

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.

@JellyBrick
Copy link
Collaborator

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.

cmd_rld7BntwvV

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 fd6ba1e

@NotShige
Copy link

@JellyBrick Slightly different error this time after compiling from source, happens on both .mp3 and Source preset.
image
image

Also noticed that this message shows up when I select the .mp3 preset.

cmd_Kui5b0OjUj

@JellyBrick
Copy link
Collaborator

@NotShige Are you using a 32-bit version of Windows?

@JellyBrick
Copy link
Collaborator

JellyBrick commented Feb 26, 2024

@NotShige Are you experiencing the same issue after 55c934a?

@JellyBrick JellyBrick added bug Something isn't working help wanted Extra attention is needed and removed cannot-reproduce Bug cannot be reproduced labels Feb 26, 2024
@briantho
Copy link
Author

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

@briantho briantho changed the title [Bug]: Downloader dosen't work about 75% of the time [Bug]: Downloader dosen't work on Dual Wan Router Mar 4, 2024
@CheeseFort
Copy link

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.
image

@briantho
Copy link
Author

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. image

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.

@Temtaime

This comment was marked as duplicate.

@rahulsah18
Copy link

did anyone get the exact solution
Screenshot 2024-06-13 083940

@seanhalim
Copy link

seanhalim commented Jul 20, 2024

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
image

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

@dejl
Copy link

dejl commented Jul 30, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

9 participants