tgdrive / teldrive

Telegram Drive
MIT License
1.8k stars 266 forks source link

Stuck on uploading 20+ pdf books #227

Closed fireinrain closed 5 months ago

fireinrain commented 5 months ago

Hi, thanks for your works. Recently i use teldrive to upload 20+ pdf books to tg channel, and it stuck when upload 4 books successfully. Here is the network monitor of chrome dev tool:

image

I dont know why, my network is fine.

does this may be a bug?

fireinrain commented 5 months ago

I have change my dev tool to no throttling

image

it still happens stuck on uploding...

i can sure this may be a bug.

divyam234 commented 5 months ago

Did you see any error on console btw you can use rclone which is preferred way of uploading files

fireinrain commented 5 months ago

Did you see any error on console btw you can use rclone which is preferred way of uploading files

I dont see any error on console, and i have test the case with many small pdf, it success, but with many large pdf, such as 150MB pdf, it will be stuck while uploading.

fireinrain commented 5 months ago

Did you see any error on console btw you can use rclone which is preferred way of uploading files

I dont see any error on console, and i have test the case with many small pdf, it success, but with many large pdf, such as 150MB pdf, it will be stuck while uploading.

Here is the pic of stuck uploading:

image

it tells me pay load too large, i want to know how to fix this. and you say i can use rclone for uploading files, as far as i know, rclone need drive support webdav, does teledrive support webdav? hope you can reply, thanks very much.

divyam234 commented 5 months ago

@fireinrain teldrive has native rclone support read docs carefully also the error you have shown is not of teldrive rather its your own misconfiguration you are using clouflare dns which limits upload size to 100MB one way to fix this is to turn off dns proxy in clouflare dashboard and use nginx or caddy for hosting.

fireinrain commented 5 months ago

clouflare

thanks very much divyam234.