I am encountering an issue related to pulling a si...
# magmap
b
I am encountering an issue related to pulling a singularity image: ERROR ~ Error executing process > ‘NFCORE_MAGMAPMAGMAPPROKKA_VERSION’ Caused by: Failed to pull Singularity image command: singularity pull --name community-cr-prod.seqera.io-docker-registry-v2-blobs-sha256-7b-7bc89d4083c0a4baaaca0ef9ac0ba65e0feaebd8d88fe1c16c47041cbc67f360-data.img.pulling.1795897787892 community-cr-prod.seqera.io/docker/…/data > /dev/null status : 255 hint : Try and increase singularity.pullTimeout in the config (current is “2h”) message: INFO: Downloading network image INFO: Cleaning up incomplete download: /gxfs_home/.singularity/cache/net/tmp_2793835259 FATAL: context deadline exceeded (Client.Timeout or context cancellation while reading body) -- Check ‘.nextflow.log’ file for details I tried to access
https://community-cr-prod.seqera.io/
, which worked. Also, I could access the image endpoint (~1.5 GB):
Copy code
curl -L -v --max-time 120 \
  -o /dev/null \
  "https://community-cr-prod.seqera.io/docker/registry/v2/blobs/sha256/7b/7bc89d4083c0a4baaaca0ef9ac0ba65e0feaebd8d88fe1c16c47041cbc67f360/data"
d
I haven’t encountered this. Have you tried again? (Can be temporary.) Have you tried the hint “Try and increase singularity.pullTimeout in the config (current is “2h”)“?
Copy code
singularity.pullTimeout = '24h'
Your setting of two hours seems like a very long time however. You could possible download the image manually and place it in the directory it’s supposed to be in. This is either
work/singularity
(I think) or whatever you set with the environment variable
NXF_SINGULARITY_CACHEDIR
b
I tried to pull it manually and received the same error message after ~49%. I had to use curl instead:
Copy code
URL="https://community-cr-prod.seqera.io/docker/registry/v2/blobs/sha256/7b/7bc89d4083c0a4baaaca0ef9ac0ba65e0feaebd8d88fe1c16c47041cbc67f360/data"

FILE="community-cr-prod.seqera.io-docker-registry-v2-blobs-sha256-7b-7bc89d4083c0a4baaaca0ef9ac0ba65e0feaebd8d88fe1c16c47041cbc67f360-data.img"

curl -L \
  --retry 10 \
  --retry-delay 10 \
  --connect-timeout 60 \
  -C - \
  -o "$FILE" \
  "$URL"
Its probably a HTTP timeout issue!?
d
Possibly. Did you get it to work?
👍 1