Open PraetorAugustus opened 4 weeks ago
I don't have changed any line of code of the network implementation. Those are errors from CURL, network transfer errors OMM have no direct handle on. Short research tend to indicate those errors are server related:
https://stackoverflow.com/questions/28086925/curl-error-56-failure-when-receiving-data-from-the-peer-while-sending-tar-gz https://stackoverflow.com/questions/67330645/curl-download-giving-error-curle-partial-file-for-large-file-download
I was afraid of that.
The downloads eventually finish if I restart them (sometimes it takes several restarts).
Can OMM restart a failed download after 10s or 15s?
I'm afraid my server host (InMotion) is going to say it's an app issue with OMM. Do you have any info in the debug log I can use to point to a problem on their end?
At this point you will not find better info than the libcurl documentation:
https://curl.se/libcurl/c/libcurl-errors.html
CURLE_PARTIAL_FILE (18) A file transfer was shorter or larger than expected. This happens when the server first reports an expected transfer size, and then delivers data that does not match the previously given size.
CURLE_RECV_ERROR (56) Failure with receiving network data.
Large packages (> 1 GB) fail to download on the first try. They often fail on the second or third tries too. The files will eventually download, but only after several attempts and sometimes a restart (OMM).
Here are the error notifications:
The file sizes: 2a. Air Assets = 2,099,584 KB 3a. A-4E-C Skyhawk = 1,018,815 KB
This isn't unique to those files. It happens on most files larger than 1 GB.
I've tried repackaging the mods and reuploading to the server, but that hasn't fixed it.
Another piece of data: OMM will almost always fail when I download a Quick Install package with multiple dependencies of large files. OMM starts the parallel downloads but then fails, usually on the first big file (other files were still trying to download).
Let me know what kind of debug data I can send you. I can install a test/debug version of OMM if you want.
DM me and I'll give you the server details if you want to try for yourself in a live environment.
ETA: This only started happening recently, with v1.3.1. We've had big files in our repo for a while, > 10 GB, and they used to download fine in earlier versions.
Also, I found the debug log. Dunno how useful it'll be, but I can send more.
[11:45:21] Manager.openHub: E:\Dropbox\Documents\DCS\OpenModMan\Mod Builder\hub.omx [11:45:21] ModHub[Mod Builder].ModChan[Stingrays core].open: OK [11:45:21] ModHub[Mod Builder].ModChan[Stingrays special].open: OK [11:45:21] ModHub[Mod Builder].ModChan[Stingrays extras].open: OK [11:45:22] ModHub[Mod Builder].ModChan[Stingrays mps].open: OK [11:45:22] ModHub[Mod Builder].open: OK [11:45:22] Manager.openHub: E:\Dropbox\Documents\DCS\OpenModMan\DCS Open Beta\hub.omx [11:45:22] ModHub[DCS World].ModChan[Fox3 Server].open: OK [11:45:22] ModHub[DCS World].ModChan[Stingrays Special].open: OK [11:45:22] ModHub[DCS World].ModChan[Stingrays Mods].open: OK [11:45:22] ModHub[DCS World].open: OK [11:45:22] Manager.init: OK [11:45:28] ModHub[DCS World].ModChan[Stingrays Mods].NetPack[3a._A-4E-C_Skyhawk_v2.2].startDownload: "https://mods.fightingstingrays.com/files/3a._A-4E-C_Skyhawk_v2.2.ozp" [11:46:12] ModHub[DCS World].ModChan[Stingrays Mods].NetPack[3a._A-4E-C_Skyhawk_v2.2].finalizeDownload: download successfully finalized [11:46:14] ModHub[DCS World].ModChan[Stingrays Mods].NetPack[3c._UH-60L_Black_Hawk_v1.4].startDownload: "https://mods.fightingstingrays.com/files/3c._UH-60L_Black_Hawk_v1.4.ozp" [11:46:33] X ModHub[DCS World].ModChan[Stingrays Mods].NetPack[3c._UH-60L_Black_Hawk_v1.4]._dnl_result_fn: Transferred a partial file [11:56:40] ModHub[DCS World].ModChan[Stingrays Mods].NetPack[3c._UH-60L_Black_Hawk_v1.4].startDownload: "https://mods.fightingstingrays.com/files/3c._UH-60L_Black_Hawk_v1.4.ozp" [11:56:55] X ModHub[DCS World].ModChan[Stingrays Mods].NetPack[3c._UH-60L_Black_Hawk_v1.4]._dnl_result_fn: Transferred a partial file [11:57:03] ModHub[DCS World].ModChan[Stingrays Mods].NetPack[4a._Med-Black_Sea_Cruise_2024_Liveries_v1.0].startDownload: "https://mods.fightingstingrays.com/files/4a._Med-Black_Sea_Cruise_2024_Liveries_v1.0.ozp" [11:57:15] ModHub[DCS World].ModChan[Stingrays Mods].NetPack[4a._Med-Black_Sea_Cruise_2024_Liveries_v1.0].finalizeDownload: download successfully finalized