Failed to start remote builder heartbeat - CDG

Hi,

Since yesterday I’m facing an issue when deploying using flyctl on CDG.

WARN Failed to start remote builder heartbeat: server returned a non-200 status code: 500

Error: failed to fetch an image or build from source: error connecting to docker: server returned a non-200 status code: 500

I figured out how to solve this by building locally the image

fly deploy --local-only

It works great this way but it seems that remote builders are in trouble.

I am facing the same issue:

✓ Configuration is valid
--> Verified app config
==> Building image
WARN Failed to start remote builder heartbeat: server returned a non-200 status code: 500

Error: failed to fetch an image or build from source: error connecting to docker: server returned a non-200 status code: 500

The status page suggests everything is fine. However I see the following on running fly apps list:

❯ fly apps list
NAME                       	OWNER 	STATUS  	LATEST DEPLOY
fly-builder-misty-hill-8062	vectro	pending

So the builder is constantly in pending state. Can someone help? My CI is broken

Try deleting the remote builder app. E.g., fly apps destroy fly-builder-misty-hill-8062

After that a new remote builder will automatically be created the next time it’s need.