tgdrive / teldrive

Telegram Drive
MIT License
1.72k stars 251 forks source link

Can't upload with rclone #308

Closed woodchope1 closed 2 months ago

woodchope1 commented 2 months ago

For some reason I can upload to teldrive with rclone-browser and rclone itself but its fast until 70mb in where it goes down to 400-600 kb/s. This has been happening since I have started using it, but I would combat it by uploading through the rclone mount, and it seemed to be at my normal speeds. However, I can't upload to rclone mount anymore, as it shows that its goiong at decent speeds in task manager, but nothing happens, it looks like it just keeps on restarting, and since the rclone copies are basically unusable with the very slow upload speeds, I can't do anything. How do I fix the issues of extremely slow copies and my rclone mount straight up not working?

SingingDalong commented 2 months ago

Try adding a bot in teldrive webui settings.

woodchope1 commented 2 months ago

I got 20 bots, I dont use them all tho cause my internets upload is like 3mb/s, so its pointless

woodchope1 commented 2 months ago

Capture

woodchope1 commented 2 months ago

I left it to upload overnight with the mount to see if there is a difference and I get this error: Failed to copy: multi-thread copy: failed to write chunk: error sending chunk 1: error sending chunk 1 2024/07/19 07:53:56 ERROR : file_instert_here: vfs cache: failed to upload try #2, will retry in 20s: vfs cache: failed to transfer file from cache to remote: multi-thread copy: failed to write chunk: error sending chunk 1: error sending chunk 1

Teldrive logs: 2024-07-19 10:49:16 19/07/2024 12:49 AM ERROR group: task readLoop: read: read: read intermediate: read length: EOF 2024-07-19 10:49:16 19/07/2024 12:49 AM INFO {"status": 500, "method": "POST", "path": "/api/uploads/167c5c23d8d162e78a526601f15dfc06", "query": "channelId=0&encrypted=false&fileName=file_yes&partName=4bf4e458d8e7ee21b9718a65ef44e445&partNo=1", "ip": "172.19.0.1", "user-agent": "rclone/v1.67.4", "latency": 1123.472102627, "time": "2024-07-19T00:49:16Z"} 2024-07-19 10:55:33 19/07/2024 12:55 AM DEBUG upload failed {"fileName": "file_yes", "partName": "c12b241d72c58e649fd9ee14387807b1", "chunkNo": 3} 2024-07-19 10:55:33 19/07/2024 12:55 AM ERROR callback: upload part: send upload part 313 RPC: retry middleware skip: invoke pool: rpcDoRequest: rpc error code 400: FILE_PART_SIZE_INVALI