Difference between revisions of "Failed to download the file"

From ISoft Wiki
Jump to navigationJump to search
 
(4 intermediate revisions by 2 users not shown)
Line 6: Line 6:
[[Image:FailedToDownloadTheFile.png]]
[[Image:FailedToDownloadTheFile.png]]


Current incarnation is the server returning Error 409 (indicates broken http stream or file resource conflict, or web server denying due to file rules), and bears further investigation.
Current incarnation is the server returning Error 409 (indicates broken http stream or file resource conflict, or web server denying due to file rules).


==Solution==
==Solution==
Open update.log and see what the error message was.  If it doesn't include a number, ask a dev.
* On slow connections you may hit the AU's timeout before the module is done downloading. Try going into the [updater] section of host.ini and increasing the value of the "auto_check_delay" setting.
 
* Obtain an up-to-date base set of binaries for your product and overwrite your installed versions with them. Newer versions of ITrack.exe have a fix in them to correct the two-update issue. Once the up-to-date files are in, update the product as usual using the AU.
If you ever run into this error, let Brian know, according to him: "That error may be generally related to a query error."
* Another thing to check is that your updater settings are correct in host.ini. In the [general] section, the line should be updatedir=.\Updates. If there is a path to a directory in that setting, then ITrack may not be loading updates correctly because of spaces in the directory path.
 
There is no real solution to this problem at this time.
 
In some rare cases, disabling/uninstalling firewall/anti-virus software has fixed the issue.
 
==The Workaround==
It makes me sad to have to write this: For now, turn the user off in the Auto Updater and manually copy the latest binaries to their machine. Next time they call and bitch about things being broken, do it again. Do this until their is a real solution to this problem.

Latest revision as of 08:20, 10 July 2020

Problem

Upon turning a user on in the Auto Updater system, they get the follow error when ITrack attempts to download an update:

"Failed to download the file <filename> 2 times (No error provided.). Keep trying?"

FailedToDownloadTheFile.png

Current incarnation is the server returning Error 409 (indicates broken http stream or file resource conflict, or web server denying due to file rules).

Solution

  • On slow connections you may hit the AU's timeout before the module is done downloading. Try going into the [updater] section of host.ini and increasing the value of the "auto_check_delay" setting.
  • Obtain an up-to-date base set of binaries for your product and overwrite your installed versions with them. Newer versions of ITrack.exe have a fix in them to correct the two-update issue. Once the up-to-date files are in, update the product as usual using the AU.
  • Another thing to check is that your updater settings are correct in host.ini. In the [general] section, the line should be updatedir=.\Updates. If there is a path to a directory in that setting, then ITrack may not be loading updates correctly because of spaces in the directory path.