Failed to download the configuration file from the storage: unexpected EOF

Hi,

checking last report from last night for my schedule: backup/check/prune/check i noted an error in the prune section:

Running prune command from /cache/localhost/all
Options: [-log prune -storage xxx-a -threads 10 -keep 0:90 -keep 14:30 -keep 7:7 -keep 1:1]
2022-01-25 01:02:30.032 INFO STORAGE_SET Storage set to b2://xxx
2022-01-25 01:02:31.175 INFO BACKBLAZE_URL download URL is: https://xxx
2022-01-25 01:02:32.352 ERROR STORAGE_CONFIG Failed to download the configuration file from the storage: unexpected EOF
Failed to download the configuration file from the storage: unexpected EOF

The other steps, backups and the other check after were fine.

Tried to manually launch the schedule and this same error appears 99% of the time, not always in the prune section but sometimes in the check or backup.

Could be a temporary issue on B2 side?

“Unexpected EOF” is returned by B2 Api. Could be anything on their end — from hitting some quotas to authentication latency.

Maybe duplicacy shall retry on these errors with flaky backends like these.

1 Like

Can you add the -d option to see if there are more detailed log messages?

Where should i enable the -d option? In all steps of my schedule? backups, prune and checks.
I’m running Web Edition.

EDIT: oh it’s a global option so i should add it to all my tasks in the schedule?

I see no more errors, but tried with -d.

Anyway I always see something i do not understand in all the processes, backup, check, prune:

TRACE BACKBLAZE_CALL [0] URL request 'HEAD https://f003.backblazeb2.com/file/bucket_name/nesting' returned status code 404
DEBUG BACKBLAZE_LIST https://f003.backblazeb2.com/file/bucket_name/nesting did not return headers

What this means?

Bumping out of curiosity.

I have this same issue. Was working fine a week ago but the last few days I just get the same error. I realize it’s probably something on backblaze’s side but I wonder how I can debug it a bit further so I even know what say to them if I open a support case… from their web UI I can download any files normally, and there aren’t any relevant alerts or logs that I can find. At least I would like to reproduce it without duplicacy involved, if anyone knows how to do that…

Storage set to b2://mybkup-duplicacy
Reading the environment variable DUPLICACY_B2_ID
Reading b2_id from preferences
Reading the environment variable DUPLICACY_B2_KEY
Reading b2_key from preferences
download URL is: https://f002.backblazeb2.com
Reading the environment variable DUPLICACY_B2_ID
Reading b2_id from preferences
Reading the environment variable DUPLICACY_B2_KEY
Reading b2_key from preferences
Reading the environment variable DUPLICACY_PASSWORD
Reading password from preferences
[0] URL request ‘https://f002.backblazeb2.com/file/mybkup-duplicacy/config’ returned an error: Head https://f002.backblazeb2.com/file/mybkup-duplicacy/config: EOF
[0] URL request ‘https://f002.backblazeb2.com/file/mybkup-duplicacy/config’ returned an error: Head https://f002.backblazeb2.com/file/mybkup-duplicacy/config: EOF
[0] URL request ‘https://f002.backblazeb2.com/file/mybkup-duplicacy/config’ returned an error: Head https://f002.backblazeb2.com/file/mybkup-duplicacy/config: EOF
…(eventually it gives up)