Auto-deploy stuck on "Waiting for depot builder" for Shopify App

Issue

App shopify-app-post-purchase-gamification (region: sin) auto-deploy has been failing since Sep 30, 03:13 UTC.

Last successful deploy: 02:56 UTC

Successful build (just once):

Waiting for depot builder...
--> build: ()
#1 [internal] load build definition from Dockerfile
#1 transferring dockerfile: 527B 0.1s done
#1 DONE 0.1s

Unsuccessful Build: (most attempts)

Waiting for depot builder...
(hangs indefinitely, then times out with)
Error: failed to fetch an image or build from source: error building: timed out connecting to machine: failed to list workers: Unavailable: connection error: desc = "transport: authentication handshake failed: EOF"

Context

  • Multiple deployment attempts all fail

  • No changes to code or fly.toml between successful and failed deploys

  • Deployments work intermittently with identical code (suggesting infrastructure issue)

  • Timing correlates with the NA network incident (06:29-07:20 UTC)

  • fly.toml has no Depot configuration

This is blocking production deployments. Any help appreciated!

:wave: In general, the trifecta of quick-fixes when deployments hang on Waiting for depot builder... is:

  1. Try resetting your builder first. You can do this from your organization’s dashboard > Settings > App Builders > Reset
  2. If that doesn’t work, try changing your builder’s region (from the same App Builders section)
  3. If that doesn’t work, switch to a non-Depot builder. You can do this with fly deploy --depot=false or opt in to our newer Buildkit-based builders: fly deploy --buildkit

It sounds like you’re deploying using our Github integration where it’s not currently possible to configure the fly deploy command being run. In this case, the best available options to unblock your auto-deployments are resetting/updating your org’s Depot builder.

1 Like

Thanks. Resetting the builder worked for me.