Skip to content

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

@mhdy2233

Description

@mhdy2233

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions