iExecBlockchainComputing/iexec-worker

APP_IMAGE_DOWNLOAD_FAILED on timeout

Closed this issue · 1 comments

Some images are too large to be downloaded within the limit of 1 minute. This triggers an APP_IMAGE_DOWNLOAD_FAILED status without any more details.

https://github.com/iExecBlockchainComputing/iexec-common/blob/85a43b29e22345c7aea9c9230263f014971a9254/src/main/java/com/iexec/common/docker/client/DockerClientInstance.java#L292

There are a few ways to fix the issue:

  • Increase the timeout value to a greater constant. That may still be an issue for low connections and/or very large image.
  • Let the worker owners decide how much time they want to wait before the download completion. That's better as any worker owner can tune the setting so that it matches what they want.
  • Set a dedicated status when timeout is reached and keep the actual value or pick one of the two first solutions.

Fixed since v7.0.1 (https://github.com/iExecBlockchainComputing/iexec-worker/releases/tag/v7.0.1). Please reopen this ticket if you have any issue.