Open er1czhang opened 3 weeks ago
代理的问题,和wget没有关系
代理是没问题,我测试过 如果不更新wget,在docker里面通过wget下载文件会直接报错,还是截图那个错误;但是如果更新了wget,下载文件就正常了 代理是openclash里面的http代理
发自移动版 Gmail
Harold @.***>于2024年10月28日 周一15:03写道:
代理的问题,和wget没有关系
— Reply to this email directly, view it on GitHub https://github.com/power721/alist-tvbox/issues/516#issuecomment-2440709437, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACHOKPAOOL75BRX2PBXNBH3Z5XOVHAVCNFSM6AAAAABQVTZ3HOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINBQG4YDSNBTG4 . You are receiving this because you authored the thread.Message ID: @.***>
如下图,直接wget就报错,但是apk add wget,安装wget后,就可以正常下载了
修复了
您必须勾选以下所有内容,否则您的issue可能会被直接关闭。
描述 我在部署alist-tvbox时,使用http_proxy和https_proxy传递代理信息。 配置代理后,日志一直提示 Connecting to 192.168.50.101:7893 (192.168.50.101:7893) wget: server returned error: HTTP/1.1 502 Bad Gateway 即wget无法正常使用http代理 当我通过 docker exec -it xiaoya-tvbox /bin/bash 手动进入容器,并重新安装wget后(目前镜像的wget使用busybox),即可正常使用代理
期望的结果 后续大佬更新镜像时,正常安装wget,而非使用busybox
截图
日志 Install mode: xiaoya 666.1723 更新UI (#515) xiaoya version: v.1012.1426(B) 5.10.55+ x86_64 Linux Sun Oct 27 16:49:49 CST 2024 Connecting to 192.168.50.101:7893 (192.168.50.101:7893) wget: server returned error: HTTP/1.1 502 Bad Gateway Connecting to 192.168.50.101:7893 (192.168.50.101:7893) wget: server returned error: HTTP/1.1 502 Bad Gateway Connecting to 192.168.50.101:7893 (192.168.50.101:7893) wget: server returned error: HTTP/1.1 502 Bad Gateway Connecting to 192.168.50.101:7893 (192.168.50.101:7893) saving to 'tvbox.zip' tvbox.zip 100% |****| 1429k 0:00:00 ETA 'tvbox.zip' saved movie base version: 659.1438 659.1438 unzip cat.zip unzip pg.zip unzip zx.zip Connecting to 192.168.50.101:7893 (192.168.50.101:7893) wget: server returned error: HTTP/1.1 502 Bad Gateway Connecting to 192.168.50.101:7893 (192.168.50.101:7893) wget: server returned error: HTTP/1.1 502 Bad Gateway Connecting to 192.168.50.101:7893 (192.168.50.101:7893) wget: server returned error: HTTP/1.1 502 Bad Gateway Connecting to 192.168.50.101:7893 (192.168.50.101:7893) saving to 'update.zip' update.zip 100% |****| 783k 0:00:00 ETA 'update.zip' saved Sun Oct 27 16:49:52 CST 2024 total 177 records Sun Oct 27 16:49:53 CST 2024 update database successfully index version: 0.11.60 0.11.60 Sun Oct 27 16:49:53 CST 2024 current index file version is updated, no need to upgrade share index version: 568.0954 568.0954
环境