SOLVED: Failed: context deadline exceeded

I’ve got restic working on a few systems. Some backing up to a Minio S3 and some to a Backblaze B2.

I’m struggling with one of them backing up to B2.

When I try running any restic command to talk to B2 it comes back with “failed: context deadline exceeded

System is Linux Manjaro

Can’t open or query the existing bucket at all.

source /etc/restic-env

restic list snapshots
Fatal: unable to open repository at b2:restic-2022: context deadline exceeded

restic list keys
Fatal: unable to open repository at b2:restic-2022: context deadline exceeded

Even tried creating a new bucket and new application key.

restic --verbose=2 init
Fatal: create repository at b2:restic-2024 failed: context deadline exceeded

I have another Manjaro system at the same location and that’s using a different bucket in the same account and that’s working fine.

Thanks in advance for any assistance offered.

Edit: By way of further information I can access B2 using b2

b2 list-buckets
f61087xxxxxxxxxx720913  allPrivate  home
b6305xxxxxxxxxxxx20913  allPrivate  b-restic-2023
f6e067xxxxxxxxxx020913  allPrivate  dec
e6b00xxxxxxxxxx1220913  allPrivate  restic-2022
26408xxxxxxxxxx1c20913  allPrivate  restic-2024

SOLVED

“Have you tried turning it off and on again?”

1 Like

For future reference, it might be useful to create a debug log using DEBUG_LOG=restic.log restic ... to see what’s going on.