C9Glax / tranga

Docker-Container to monitor (Manga) Scanlation-Sites for download new chapters.
GNU General Public License v3.0
156 stars 15 forks source link

[It broke]: Downloading successfully, but hanging and cancelling every job after #279

Closed Jacksaur closed 2 weeks ago

Jacksaur commented 3 weeks ago

What is broken?

Tried to download Dragon Goes House-Hunting from Manga4Life. Each chapter downloads fine, it appears on my download folder as a proper CBZ file and everything. Unfortunately, Tranga doesn't seem to recognize this and just hangs on the last step until it's forced to cancel the job and continue to the next chapter by the five minute timeout. As said, the files are downloaded and readable and perfectly fine. It's just extremely slow, and my notification is never sent out, because every chapter has to time out before the next one is downloaded.

Log-output

[11/05/2024 22:52:54.395]     MangaLife | /Manga/Dragon Goes House-Hunting/Dragon Goes House-Hunting - Vol.1 Ch.1.cbz 043/043 OK
[11/05/2024 22:52:54.395]     MangaLife | Downloading image 043/043
[11/05/2024 22:52:54.395] ChromiumDownl | Waiting 0.9994601 seconds
[11/05/2024 22:52:55.428]     MangaLife | /Manga/Dragon Goes House-Hunting/Dragon Goes House-Hunting - Vol.1 Ch.1.cbz 044/043 OK
[11/05/2024 22:52:55.430]     MangaLife | Creating archive /Manga/Dragon Goes House-Hunting/Dragon Goes House-Hunting - Vol.1 Ch.1.cbz
[11/05/2024 22:57:55.513]       JobBoss | Tranga.Jobs.DownloadChapter-638664438550406078-1 Chapter: Chapter Dragon Goes House-Hunting 638664438550406078 1  inactive for more than 5 minutes. Cancelling.
[11/05/2024 22:57:55.513] DownloadChapt | Cancelling Tranga.Jobs.DownloadChapter-638664438550406078-1 Chapter: Chapter Dragon Goes House-Hunting 638664438550406078 1 
[11/05/2024 22:57:55.614]       JobBoss | Removing Tranga.Jobs.DownloadChapter-638664438550406078-1 Chapter: Chapter Dragon Goes House-Hunting 638664438550406078 1 
[11/05/2024 22:57:55.614] DownloadChapt | Cancelling Tranga.Jobs.DownloadChapter-638664438550406078-1 Chapter: Chapter Dragon Goes House-Hunting 638664438550406078 1 
[11/05/2024 22:57:55.614]       JobBoss | Deleting Job-file /usr/share/tranga-api/jobs/Tranga.Jobs.DownloadChapter-638664438550406078-1.json
[11/05/2024 22:57:55.615]       JobBoss | Next job in -00:00:00.0000002 Tranga.Jobs.DownloadChapter-638664438550406078-3
[11/05/2024 22:57:55.716]       JobBoss | Deleting Job-file /usr/share/tranga-api/jobs/Tranga.Jobs.DownloadChapter-638664438550406078-2.json
[11/05/2024 22:57:55.716]       JobBoss | Exporting Job /usr/share/tranga-api/jobs/Tranga.Jobs.DownloadChapter-638664438550406078-2.json
[11/05/2024 22:57:55.716]     MangaLife | Copy cover Publication Dragon Goes House-Hunting 638664438550406078
[11/05/2024 22:57:55.729]     MangaLife | Cover exists Publication Dragon Goes House-Hunting 638664438550406078
[11/05/2024 22:57:55.729]     MangaLife | Retrieving chapter-info Chapter Dragon Goes House-Hunting 638664438550406078 2  Publication Dragon Goes House-Hunting 638664438550406078
[11/05/2024 22:57:59.837] ChromiumDownl | Page loaded.
[11/05/2024 22:57:59.880]     MangaLife | Downloading Images for /Manga/Dragon Goes House-Hunting/Dragon Goes House-Hunting - Vol.1 Ch.2.cbz
[11/05/2024 22:57:59.883]     MangaLife | Downloading image 001/033
[11/05/2024 22:58:00.190]     MangaLife | /Manga/Dragon Goes House-Hunting/Dragon Goes House-Hunting - Vol.1 Ch.2.cbz 002/033 OK

Additional stuff

No response

C9Glax commented 2 weeks ago

Hello there! Some quick questions: What version are you running? latest or cuttingedge? I pushed some changes to cuttingedge to better understand what is happening. If you could pull that version and give some more details, that would help me tremendously to narrow down the issue. After Creating archive [...] there should now be Created archive and Download complete.

Jacksaur commented 2 weeks ago

Was already on cuttingedge apparently. I pulled and restarted my container before testing, renamed the existing downloaded manga, and tried to download again through the same provider. All downloads went through fine, no errors, no delays, in sequence. With the Created Archive and Download complete alerts showing in log properly too.

Not sure if this was just a temporary random bug, or something else you may have added lately fixed it, but either way it's nice and fast again. Thanks!