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 #263

Closed fiservedpi closed 1 year ago

fiservedpi commented 1 year ago

When downloading anything I’m getting this error after about a minute nothing is downloading : [object XMLHttpRequestProgressEvent] IMG_8753

fiservedpi commented 1 year ago

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

fiservedpi commented 1 year ago

ERROR: [youtube] RuJAXE9rdo: Unable to download API page: <urlopen error [Errno -3] Try again> (caused by URLError(gaierror(-3, 'Try again'))) INFO:aiohttp.access: 192.168.1.192 [07/May/2023:16:47:34 +0000] "POST /add HTTP/1.1" 200 431 "https://xxxown.Xxx.xxx /" "Mozilla/5.0 (iPhone; CPU iPhone OS 16_5 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) EdgiOS/112.0.1722.64 Version/16.0 Mobile/15E148 Safari/ 604.1" INFO:aiohttp.access: 192.168.1.192 [07/May/2023:16:47:31 +0000] "GET /socket.io/?EI0=4&transport=websocket& sid= bavsikdfnfbskdj HTTP/1.1' 101 o' "-_" "Mozilla/5.0 (iPhone; CPU iPhone OS 16_5 like Mac OS X) Apple WebKit/605.1.15 (KHTML, Setting umask to 000 like Gecko) Edgi0S/112.0.1722.64 Version/16.0 Mobile/15E148 Safari/604.1" Creating download directory /downloads and state

PikuZheng commented 1 year ago

video not exists. image

fiservedpi commented 1 year ago

That’s odd I’ve confirmed with this one example (9rdo) the URL is accurate when copying from YT mobile app even tried via desktop same thing with any link I grab.

here is the example: in YT click share then copy link https://youtu.be/R4uJAXE9rdo

IMG_8759 IMG_8758

PikuZheng commented 1 year ago

so... what's the issue? image

fiservedpi commented 1 year ago

Mine doesn’t work, it fails with error above

fiservedpi commented 1 year ago

DEMO: https://streamable.com/ufndtd

kblock1 commented 1 year ago

I partially replicated this, it downloaded but threw a 400 error. Deleted and readded now it won't download but does not error. I'll try to get some logs when I'm not on mobile

fiservedpi commented 1 year ago

I’ve narrowed it down to a docker network issue I’m using Unraid >Docker > NGINX with Authelia over top if I use a bridge network all is well, if I use a custom docker network I get the error above. This custom network was working up until about 3 weeks ago. I have no clue what changed but for now I’ll use it in bridge mode. thank you to all for looking into it.

PikuZheng commented 1 year ago

I'm using a custom nat network (due to container affinity) and never had a problem. Maybe you need to consider something like ipv6 or dns issue. My suggestion is to inspect the container and investigate if any network configuration issues