AlistGo / alist

🗂️A file list/WebDAV program that supports multiple storages, powered by Gin and Solidjs. / 一个支持多存储的文件列表/WebDAV程序,使用 Gin 和 Solidjs。
https://alist.nn.ci
GNU Affero General Public License v3.0
43.35k stars 5.62k forks source link

使用webdav在terabox無法上傳大檔案 #7417

Open manwesSUS opened 3 days ago

manwesSUS commented 3 days ago

Please make sure of the following things

AList Version / AList 版本

v3.38.0

Driver used / 使用的存储驱动

Terabox(海外百度)

Describe the bug / 问题描述

上一次解決了在raidrive無法編輯檔的問題, 改用了windows內建的webdav功能, 並且成功連接至alist, 但仍然多了個問題 就是無論在raidrive或windows上也無法上傳大型壓縮檔1.10GB, 其實是一些minecraft server的文件, 所以檔內最高層有幾個文件夾然後入面有很多檔案 我沒有試過其他類型的大檔案, 但是在上傳的時候alist的server彈了一些東西, 在reproduction寫出來了 奇怪的是在alist用網頁ui上傳又可以正常上傳到terabox, 估計是webdav到alist出現一些問題, 並且問題出在alist本身

我確定壓縮檔是沒有問題的, 可以正常讀取和解壓縮, 然後使用raidrive或windows webdav正常連接到alist, 我在香港網絡也確保可以連接到terabox, 試過可以在alist的webui上傳這個壓縮檔. 但在使用webdav上傳期間alist server彈出了取消訊息, 然後無法使用webdav正確上傳檔案, 所以推斷是alist的問題.

因為我的用途是自動程式放入指定windows目錄, 所以必須透過windows drive去連接alist, 除非alist本身可以設定自動上傳功能

感謝製造這麼好的程式給我們免費使用, 希望可以說明或解決這個問題

Reproduction / 复现链接

alist彈了: 2024/10/26 18:47:42.575773 WARN RESTY Post "https://c-jp.terabox.com/rest/2.0/pcs/superfile2?app_id=250528&channel=dubox&clienttype=0&method=upload&partseq=32&path=%252FMinecraft%2520Server%2520Daily%2520Backup%252F20241026t.zip&uploadid=P1-MTAuMjUyLjE0NC4xNDk6MTcyOTkzOTYwNzozNTI3MzQ0ODAxODMxMDc0NA%3D%3D&web=1": context deadline exceeded (Client.Timeout exceeded while awaiting headers), Attempt 1 2024/10/26 18:47:55.588773 WARN RESTY Post "https://c-jp.terabox.com/rest/2.0/pcs/superfile2?app_id=250528&channel=dubox&clienttype=0&method=upload&partseq=56&path=%252FMinecraft%2520Server%2520Daily%2520Backup%252F20241026t.zip&uploadid=P1-MTAuMjUyLjE0NC4xNDk6MTcyOTkzOTYwNzozNTI3MzQ0ODAxODMxMDc0NA%3D%3D&web=1": context canceled, Attempt 1 2024/10/26 18:47:55.588773 ERROR RESTY Post "https://c-jp.terabox.com/rest/2.0/pcs/superfile2?app_id=250528&channel=dubox&clienttype=0&method=upload&partseq=56&path=%252FMinecraft%2520Server%2520Daily%2520Backup%252F20241026t.zip&uploadid=P1-MTAuMjUyLjE0NC4xNDk6MTcyOTkzOTYwNzozNTI3MzQ0ODAxODMxMDc0NA%3D%3D&web=1": context canceled

Config / 配置

配置文件 config.json alist截圖 image 壓縮檔文件屬性 image 大約檔案數量 image 壓縮檔根目錄 image

Logs / 日志

INFO[2024-10-26 18:28:15] reading config file: data\config.json INFO[2024-10-26 18:28:15] load config from env with prefix: ALIST_ INFO[2024-10-26 18:28:15] init logrus... INFO[2024-10-26 18:28:15] init tool pikpak success: ok WARN[2024-10-26 18:28:15] init tool qBittorrent failed: Post "http://localhost:8080/api/v2/auth/login": dial tcp [::1]:8080: connectex: No connection could be made because the target machine actively refused it. WARN[2024-10-26 18:28:15] init tool transmission failed: failed get transmission version: can't get session values: 'session-get' rpc method failed: failed to execute HTTP request: Post "http://localhost:9091/transmission/rpc": dial tcp [::1]:9091: connectex: No connection could be made because the target machine actively refused it. INFO[2024-10-26 18:28:15] init tool 115 Cloud success: ok WARN[2024-10-26 18:28:15] init tool aria2 failed: failed get aria2 version: Post "http://localhost:6800/jsonrpc": dial tcp [::1]:6800: connectex: No connection could be made because the target machine actively refused it. INFO[2024-10-26 18:28:15] init tool SimpleHttp success: ok INFO[2024-10-26 18:28:15] success load storage: [/InfiniCLOUD-manwesSUS_45GB], driver: [WebDav], order: [0] INFO[2024-10-26 18:28:15] start HTTP server @ 0.0.0.0:5244 INFO[2024-10-26 18:28:16] success load storage: [/DISKSTATION_20TB], driver: [SMB], order: [0] INFO[2024-10-26 18:28:16] success load storage: [/C.YIMA-DELL-OP5050_1TB], driver: [Local], order: [0] INFO[2024-10-26 18:28:20] success load storage: [/MEGA-manwesC7.2_20GB], driver: [Mega_nz], order: [0] INFO[2024-10-26 18:28:22] success load storage: [/MEGA-manwesSUS_20GB], driver: [Mega_nz], order: [0] INFO[2024-10-26 18:28:22] success load storage: [/InfiniCLOUD-manwes_25GB], driver: [WebDav], order: [0] INFO[2024-10-26 18:28:27] success load storage: [/MEGA-CloudUSER_20GB], driver: [Mega_nz], order: [0] INFO[2024-10-26 18:28:27] success load storage: [/TeraBox-CHMM_1TB], driver: [Terabox], order: [0] INFO[2024-10-26 18:28:29] success load storage: [/Yandex.Disk-13237040090_5GB], driver: [YandexDisk], order: [0] INFO[2024-10-26 18:28:29] success load storage: [/InfiniCLOUD-CHMM-25GB], driver: [WebDav], order: [0] INFO[2024-10-26 18:28:29] success load storage: [/Manwes-s23+], driver: [FTP], order: [0] INFO[2024-10-26 18:28:29] success load storage: [/TeraBox-manwesSUS_1TB], driver: [Terabox], order: [0] INFO[2024-10-26 18:28:29] success load storage: [/TeraBox-manwesC7.2_210GB], driver: [Terabox], order: [0] INFO[2024-10-26 18:28:29] success load storage: [/Guest-Share/Minecraft Server Local Backup], driver: [Local], order: [0] INFO[2024-10-26 18:28:29] success load storage: [/Manwes-ZB-W11], driver: [AList V3], order: [0] 2024/10/26 18:47:42.575773 WARN RESTY Post "https://c-jp.terabox.com/rest/2.0/pcs/superfile2?app_id=250528&channel=dubox&clienttype=0&method=upload&partseq=32&path=%252FMinecraft%2520Server%2520Daily%2520Backup%252F20241026t.zip&uploadid=P1-MTAuMjUyLjE0NC4xNDk6MTcyOTkzOTYwNzozNTI3MzQ0ODAxODMxMDc0NA%3D%3D&web=1": context deadline exceeded (Client.Timeout exceeded while awaiting headers), Attempt 1 2024/10/26 18:47:55.588773 WARN RESTY Post "https://c-jp.terabox.com/rest/2.0/pcs/superfile2?app_id=250528&channel=dubox&clienttype=0&method=upload&partseq=56&path=%252FMinecraft%2520Server%2520Daily%2520Backup%252F20241026t.zip&uploadid=P1-MTAuMjUyLjE0NC4xNDk6MTcyOTkzOTYwNzozNTI3MzQ0ODAxODMxMDc0NA%3D%3D&web=1": context canceled, Attempt 1 2024/10/26 18:47:55.588773 ERROR RESTY Post "https://c-jp.terabox.com/rest/2.0/pcs/superfile2?app_id=250528&channel=dubox&clienttype=0&method=upload&partseq=56&path=%252FMinecraft%2520Server%2520Daily%2520Backup%252F20241026t.zip&uploadid=P1-MTAuMjUyLjE0NC4xNDk6MTcyOTkzOTYwNzozNTI3MzQ0ODAxODMxMDc0NA%3D%3D&web=1": context canceled

pongfcnkl commented 3 days ago

那就添加本机存储,然后网页端复制上传

manwesSUS commented 3 days ago

@pongfcnkl 其實我想要製造自動backup程式, 代碼已經編寫好, 並且確保可以自動定時把對應文件放入壓縮檔並存入指定目錄, 但是在上傳到alist發生問題 因為是自動程式的原因, 所以最終也只能通過windows去進行上傳, 也未發現有自動設定可以在web ui自動上傳檔案

pongfcnkl commented 2 days ago

@pongfcnkl 其實我想要製造自動backup程式, 代碼已經編寫好, 並且確保可以自動定時把對應文件放入壓縮檔並存入指定目錄, 但是在上傳到alist發生問題 因為是自動程式的原因, 所以最終也只能通過windows去進行上傳, 也未發現有自動設定可以在web ui自動上傳檔案

调用rclone 用相同的webdav名称就可以自动复制了

bk1412 commented 19 hours ago

aria2离线下载到terabox也遇到同样的问题,transferring几百M的大文件很容易报这个错误,只能多次重试看运气是否能跑通上传