alexta69 / metube

Self-hosted YouTube downloader (web UI for youtube-dl / yt-dlp)
GNU Affero General Public License v3.0
4k stars 263 forks source link

Error adding URL #267

Closed Hannibal7777 closed 1 year ago

Hannibal7777 commented 1 year ago

No download possible for a few weeks:

Error adding URL: ERROR: [youtube] dQw4w9WgXcQ: Unable to download API page: <urlopen error [Errno -3] Try again> (caused by URLError(gaierror(-3, 'Try again')))

PikuZheng commented 1 year ago

Looks fine unless you provide more information image

vacances commented 1 year ago

I get the same error message on any yt video.

ERROR: 
[download] Got error: <urlopen error [SSL: TLSV1_UNRECOGNIZED_NAME] tlsv1 unrecognized name (_ssl.c:1131)>

I tried to troubleshoot that. I host my own DNS and blocked (wildcard) the address of googlevideo.com example: rr2---sn-oxup5-3ufz.googlevideo.com It is indeed preventing the download. Can we bypass that disgusting thing somehow? Youtube works fine on all of the devices at home. It was working fine few weeks ago as @Hannibal7777 mentioned above.

PikuZheng commented 1 year ago

I tried to troubleshoot that. I host my own DNS and blocked (wildcard) the address of googlevideo.com example: rr2---sn-oxup5-3ufz.googlevideo.com It is indeed preventing the download.

After Google knows your IP, it will allocate this server according to the recognized geographical location. Perhaps there are different servers inside and outside the container. I think you should to investigate networking issues inside the container.

alexta69 commented 1 year ago

Either way, it's not a problem we can solve in MeTube. If a solution is necessary, it'd be in yt-dlp, so the issue needs to be reopened on that project. Closing here.

Hannibal7777 commented 1 year ago

Indeed the network seems to be the problem. Quick workaround, is to change the network of the container to host. This works for me fine. Thanks for helping!

vacances commented 1 year ago

Switching from host to bridge in docker fixed the issue (lol). Now i just have to grow old to get some yt-dl merges coming for other websites aswell. Thanks.