Skip to main content
This page shows how to find and fix errors in a launcher or download manager (DLM).

Find the error in the debug log

  1. Run the client in debug mode and open host.developer.log.
  2. Search for error. You can also search for failed or unable.
For example, a missing file:
The Repository error line has:
  • Source: where the error came from. See the source codes in Repository configuration. In this example, 6 is storageremote, the CDN or delivery server.
  • Index: the piece number in the repository.
  • Count: the number of download attempts. It goes up with each retry.
  • Code: the main error code. Here the source is a web server, so it’s an HTTP status code.
  • CodeEx: the extended error code. See Core error codes. For example, a common extended code for a 987 JSON error is 10, “Failed to authenticate web signature.”
  • Retry: time until the next attempt.

Retry intervals

The client retries immediately after an error. After that, it waits 15 seconds and doubles the wait each time:
The client uses at least two concurrent requests when it syncs a repository, so if one hits an error the other keeps downloading. The UI only shows an error if no pieces have downloaded for 30 seconds.

Common errors

Repository not found

UI error: “Failed to contact the alias service”
  • Source 1: REPOSITORY_SOURCE_ALIAS
  • Code 976: WEBGET_ERROR_INVALIDCONTENT
The repository isn’t in the alias file, because of a typo or an environment that doesn’t exist yet. To fix it, check the repository name in your workflow. It’s case-sensitive.
If it’s right, use alias.py to display your alias file, then create or promote the environment to match your workflow.

Metafile can’t be validated

UI error: “Failed to access remote metafile”
  • Source 4: REPOSITORY_SOURCE_METAFILEREMOTE
  • Code 987: WEBGET_ERROR_JSON
  • CodeEx 9: JSON_ERROR_JWSDECODE. The metafile isn’t signed. A CodeEx of 10 means it’s signed but not trusted.
The metafile isn’t signed, or is signed by a certificate neither the operating system nor the client trusts. To fix it, make sure your deployment scripts use a production code-signing certificate, or a test certificate your test machines trust. Then deploy the release again. See Options for securing metadata.

Operating system error

UI error: “Failed to access content on disk”
  • Source 5: REPOSITORY_SOURCE_STORAGELOCAL (the local operating system)
  • Code 964: WEBGET_ERROR_OS
  • CodeEx 5: ERROR_ACCESS_DENIED. See Windows system error codes.
The client can’t read or write a file because it lacks elevation or write permission. To fix it, install to a folder that doesn’t need administrator rights, or elevate only when an update is needed.

Domain not allowed

UI error: “Failed to access X”, where X is the component whose domain isn’t allowed.
  • Source 4: REPOSITORY_SOURCE_METAFILEREMOTE
  • Code 963: WEBGET_ERROR_VALIDATION
To fix it, if the domain is the one you expect, add it from the Hostname not found in whitelist line to hostnameWhitelist in app.json. See Host configuration.