Skip to content

[Bug] When telegram downloads a 4000M large file, sometimes the progress is stuck at 100% #877

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
mhdy2233 opened this issue Feb 14, 2025 · 9 comments
Assignees
Labels
bug Something isn't working

Comments

@mhdy2233
Copy link

Describe the bug

When telegram downloads a 4000M large file, sometimes the progress is stuck at 100%

Restart download by 'restart' flag
All files will be downloaded to './downloads' dir
CPU: 2.00% Memory: 32.83 MB Goroutines: 40
『秋实红叶』 硕果累累(1958124156):60 ->~ ... 100.0% [#######.] [3.91 GB in 23m6.523s; ~ETA: 14s; 2.88 MB/s]
[################################################.] [23m7s; 2.88 MB/s]

After a long period of time, the program will report an error and end running, unless it is terminated manually.

To Reproduce

tdl dl -u https://t.me/1958124156/60 --template {{.FileName}} -d ./downloads --restart

Restart download by 'restart' flag
All files will be downloaded to './downloads' dir
CPU: 2.00% Memory: 32.83 MB Goroutines: 40
『秋实红叶』 硕果累累(1958124156):60 ->~ ... 100.0% [#######.] [3.91 GB in 23m6.523s; ~ETA: 14s; 2.88 MB/s]
[################################################.] [23m7s; 2.88 MB/s]

Expected behavior

At this point the file has finished downloading and it should not be stuck at 100%

Version

Version: 0.18.5
Commit: 2321013
Date: 2025-01-25T11:11:37Z

go1.21.13 linux/amd64

Which OS are you running tdl on?

Linux

Additional context

No response

@mhdy2233 mhdy2233 added the bug Something isn't working label Feb 14, 2025
@titularmonarch
Copy link

hey can you help me out with setting up? im a newbie

@mhdy2233
Copy link
Author

嘿,您能帮我设置吗?我是新手

I'd love to help you, but I don't know much about it so I probably can't help you much.

@titularmonarch
Copy link

maybe you could download some files for me? 😅

@mhdy2233
Copy link
Author

maybe you could download some files for me? 😅

A small amount is ok

@titularmonarch
Copy link

Whats your instagram? 😁

@mhdy2233
Copy link
Author

Whats your instagram? 😁

I don't use instagram, I only use telegram and discord

@titularmonarch
Copy link

sharpie0426 on discord

@mhdy2233
Copy link
Author

sharpie0426 on discord

I have sent a friend request to sharpie0426

@AKL55
Copy link

AKL55 commented Mar 7, 2025

Same as #611

Reducing Threads (-t 2) decreases the chances of happening but it can still happen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants