marcopeocchi / yt-dlp-web-ui

A terrible web ui for yt-dlp. Designed to be self-hosted.
Mozilla Public License 2.0
657 stars 67 forks source link

error while fetching: TypeError: Failed to fetch #111

Closed RenMu-V closed 6 months ago

RenMu-V commented 6 months ago

Can be used but cannot log in and reports an error VeryCapture_20231203011812 ssh: docker run -d -p 3033:3033 -v /home/down:/downloads - JWT_SECRET=randomsecret -v /home/yt-dlp-webui/config:/config marcobaobao/yt-dlp-webui --auth --user shenmu --pass xxxxxxxxx

“--auth‘’ and ‘’JWT_SECRET=randomsecret‘’ I don't quite understand this part I'm still a novice at this. Can you give me an answer? grateful!!!

marcopeocchi commented 6 months ago

I discovered a bug in the cors Middleware. Until I fix it disabling authentication should resolve your issue. Just remove the --auth flag.

marcopeocchi commented 6 months ago

@RenMu-V, everything's fixed! Pull the latest docker image and let me know!

RenMu-V commented 6 months ago

Thanks♪(・ω・)ノ

RenMu-V commented 6 months ago

cancel --auth log in restore normal But still anyone can use my web It does not play the role of encrypting web pages

RenMu-V commented 6 months ago

docker run -d -p 3033:3033 -v /home/115sy/115auto:/downloads -v /home/yt-dlp-webui/config:/config marcobaobao/yt-dlp-webui --user shenmu --pass xxxxxxxxxxx

This is the parameter I re-pulled

marcopeocchi commented 6 months ago

@RenMu-V have you re-pulled the image? (Just checking)

RenMu-V commented 6 months ago

@RenMu-V你重新拉取镜像了吗?(只是检查)

yes!

RenMu-V commented 6 months ago

@RenMu-V have you re-pulled the image? (Just checking)

image

RenMu-V commented 6 months ago

@RenMu-V have you re-pulled the image? (Just checking)

http://74.50.90.11:3033/#/ This was just built You can have a look

marcopeocchi commented 6 months ago

Ok, in order to enable auth you need to add --auth flag. If there's nothing else you may close the issue.

Thanks!