knadh / tg-archive

A tool for exporting Telegram group chats into static websites like mailing list archives.
MIT License
903 stars 139 forks source link

flood wait forever #97

Closed enrico1203 closed 1 year ago

enrico1203 commented 1 year ago

After downloading 2 media correctly i get in this flood waiting loop: 2023-03-06 11:05:31,684: cryptg detected, it will be used for encryption 2023-03-06 11:05:31,781: starting Telegram sync (batch_size=2000, limit=0, wait=5, mode=standard) 2023-03-06 11:05:31,791: Connecting to ------------:443/TcpFull... 2023-03-06 11:05:31,800: Connection to -------------:443/TcpFull complete! 2023-03-06 11:05:32,289: fetching from last message id=0 (None) 2023-03-06 11:05:37,098: downloading media #3442 2023-03-06 11:05:37,207: downloading media #3444 2023-03-06 11:05:41,995: Sleeping for 3s (0:00:03) on GetFileRequest flood wait 2023-03-06 11:05:48,870: Sleeping for 3s (0:00:03) on GetFileRequest flood wait 2023-03-06 11:05:55,709: Sleeping for 3s (0:00:03) on GetFileRequest flood wait 2023-03-06 11:06:02,501: Sleeping for 3s (0:00:03) on GetFileRequest flood wait 2023-03-06 11:06:09,524: Sleeping for 3s (0:00:03) on GetFileRequest flood wait 2023-03-06 11:06:21,367: Sleeping for 3s (0:00:03) on GetFileRequest flood wait 2023-03-06 11:06:28,390: Sleeping for 3s (0:00:03) on GetFileRequest flood wait 2023-03-06 11:06:40,520: Sleeping for 3s (0:00:03) on GetFileRequest flood wait 2023-03-06 11:06:47,958: Sleeping for 3s (0:00:03) on GetFileRequest flood wait 2023-03-06 11:06:55,607: Sleeping for 3s (0:00:03) on GetFileRequest flood wait 2023-03-06 11:07:08,028: Sleeping for 3s (0:00:03) on GetFileRequest flood wait 2023-03-06 11:07:15,479: Sleeping for 3s (0:00:03) on GetFileRequest flood wait 2023-03-06 11:07:22,982: Sleeping for 3s (0:00:03) on GetFileRequest flood wait 2023-03-06 11:07:30,644: Sleeping for 3s (0:00:03) on GetFileRequest flood wait 2023-03-06 11:07:42,940: Sleeping for 3s (0:00:03) on GetFileRequest flood wait 2023-03-06 11:07:50,704: Sleeping for 3s (0:00:03) on GetFileRequest flood wait 2023-03-06 11:07:58,379: Sleeping for 3s (0:00:03) on GetFileRequest flood wait 2023-03-06 11:08:05,883: Sleeping for 3s (0:00:03) on GetFileRequest flood wait 2023-03-06 11:08:13,741: Sleeping for 3s (0:00:03) on GetFileRequest flood wait 2023-03-06 11:08:31,189: Sleeping for 3s (0:00:03) on GetFileRequest flood wait 2023-03-06 11:08:38,562: Sleeping for 3s (0:00:03) on GetFileRequest flood wait 2023-03-06 11:08:45,964: Sleeping for 3s (0:00:03) on GetFileRequest flood wait 2023-03-06 11:08:53,400: Sleeping for 3s (0:00:03) on GetFileRequest flood wait 2023-03-06 11:09:01,376: Sleeping for 3s (0:00:03) on GetFileRequest flood wait 2023-03-06 11:09:09,259: Sleeping for 3s (0:00:03) on GetFileRequest flood wait 2023-03-06 11:09:16,767: Sleeping for 3s (0:00:03) on GetFileRequest flood wait 2023-03-06 11:09:24,108: Sleeping for 3s (0:00:03) on GetFileRequest flood wait 2023-03-06 11:09:31,463: Sleeping for 3s (0:00:03) on GetFileRequest flood wait 2023-03-06 11:09:38,960: Sleeping for 3s (0:00:03) on GetFileRequest flood wait

enrico1203 commented 1 year ago

I tried with a proxy and it works. could be my ip banned?

knadh commented 1 year ago

That's possible. The message GetFileRequest flood wait clearly says that the IP is being rate limited for too many requests.