Troubleshooting downloads

From Ketarin
Revision as of 17:09, 20 October 2010 by Floele (talk | contribs) (Error: Timeouts when downloading)

When trying to download files with Ketarin instead with your browser, you may encounter difficulties, as Ketarin behaves a bit differently than a web browser and some websites may try to prevent download tools from downloading files.

Error: Timeouts when downloading

  • Reasons: Most likely due to agressive connection settings or because download server is offline/inaccessible.
  • Solutions: Adjust connection preferences for Ketarin from FileSettingsConnection.Increase Connection timeout and number of retries and reduce number of threads. Alternatively if download still get´s timeout after few days and even with safe connection settings - contact website owner or hoster or ask for help in our forum. Alternatively try enabling the option "Do not download this application simultaneously with other applications" for this application.

Error: The downloaded file is not a binary file type

  • Reasons: This error can have various reasons. In many cases, it may just indicate a "file not found" error. In this case you should check that the file you are trying to download still exists.The website denies the download because of a missing HTTP referer.The website requires a different user agent (rare).
  • Solutions: Try setting "Spoof HTTP referer" to an URL of the website you are downloading from, possibly the page which lists the available downloads is required. Try setting the application specific user agent to a commonly used user agent or to something completely random.

Error: 404 Not Found

  • Reasons: The requested file was not found on the server.This could be because of number of reasons such as the file was deleted/renamed/moved on the server and your download link no longer corresponds to actual file.Also the website may have significantly changed it´s layout and if you use a variable such as {version} to insert a version number into the download URL then the wrong text is entered.Please refer to Basics Example 3 how to properly create the {version} variable and have it scan the website for the correct text.You may have a simple spelling error where some number/letter is incorrect in your download URL.
  • Solutions: Go to the website and download the file manually.This allows you to capture the new download URL that you can enter into Ketarin.Open Rightclick EditVariables{version} for the problematic application and select the correct new start and end parameters where to extract the nessesary text from.In case if you use Regex code instead of start/end please adjust your code so it works again.Check and fix any spelling errors in application download URL.

Error: 403 Forbidden

  • Reasons: This is most likely due to some changes in the website and there is not much you can do about it.
  • Solutions: Wait a few days and see if the problem is resolved.If not then try setting "Spoof HTTP referer" to an URL of the website you are downloading from, possibly the page which lists the available downloads is required.Try setting the application specific user agent to a commonly used user agent or to something completely random.

Other issues

  • Ketarin does not reliably determine if there are updates for an application. This may happen if the webserver submits incorrect "last modified" information and also does not reveal the expected file size. In this case, use Use the following variable as indicator for changes to let a variable (for example, a version number) decide whether or not an update needs to be downloaded.
  • If you cannot make sense of the error you get, or you need further details about the server response, you can use an HTTP Web Sniffer.