meganz / sdk

MEGA C++ SDK
BSD 2-Clause "Simplified" License
1.34k stars 508 forks source link

File stuck on "Downloading..." #2691

Open TheArgentinian opened 1 month ago

TheArgentinian commented 1 month ago

image

The log says:

10/14-12:43:50.460213 4348 DTL Transfer update: progress to update = 0, transfer size = 4427183462, transferred bytes = 3334995968, progress reported = 3334995968, progress completed = 3334995968 [speed: 0 KB/s] [mean speed: 0 KB/s] [megaapi_impl.cpp:17160]

10/14-12:43:50.584203 4348 ERR Wrong chunk size for new raid, not padded to RAIDLINE: pos = 3279421440, npos = 3283615744, size = 4194304, RAIDLINE = 80, mod = 64 [raid.cpp:990]

I tried unchecking "Use HTTS for transfers..." and it didn't fix it.

Windows 11

PJAmerica commented 3 weeks ago

I experienced this last night. Had to shut it down and then re-upload via browser. it never uploaded via MegaSync and disappeared after I relaunched the app.

technikker commented 2 weeks ago

Which version are you on? I'm having a similar issue, but still haven't found a way to resolve it.

TheArgentinian commented 1 week ago

Which version are you on? I'm having a similar issue, but still haven't found a way to resolve it.

5.6.0.

I had to restart the download to finish it. Wasted gigabytes >:

sergiohs84 commented 6 days ago

Thanks for reporting @TheArgentinian.

The issue has been moved to the SDK's repository, since that part of the logic sits on the SDK, not in the app :)

We will investigate your issue. By any chance, do you have full logs covering the download since its start to the moment it gets stuck? Thanks in advance for your help.

sergiohs84 commented 1 day ago

A few more questions:

  1. Did you change the number of connections in the settings? if so, what's your setup?
  2. How many times have you triggered this issue (and what file sizes)?

As a quick workaround, Federico, you can clean the temporary file that stores the data already downloaded. It will result on the transfer having to download again part of the file, but it should solve your problem. The temporary file is name .getxfer with a suffix to identify the transfer. Better to pause the transfer (or close the app) before you proceed to delete the file.

Thanks