failed to fetch an image or build from source: error connecting to docker: You hit a Fly API error with request ID: 01H4XBY8K7S162TWHVZYVYWASE-nrt

Hey! (I am from Rails)

I am also having this problem since yesterday. I commented over here:

I have already deleted the apps and images many times. I deleted the apps from the website dashboard.

After I do that, I do fly launch (using the same Dockerfile and fly.toml file… but the results are the same.

@greg , Here is me doing exactly what you said:

fly apps list
NAME                       	OWNER   	STATUS 	PLATFORM	LATEST DEPLOY
fly-builder-divine-sky-4238	personal	pending	machines	             	
spg                        	personal	pending	machines	             	

fly apps destroy spg
Destroying an app is not reversible.
? Destroy app spg? Yes
Destroyed app spg
fly deploy
==> Verifying app config
Validating /Users/dilraj/Documents/SPG/spg2/fly.toml
WARNING: Failed to fetch platform version: Could not find App "spg"
WARN the http_service section is ignored for Nomad apps
✓ Configuration is valid
--> Verified app config
Error: Could not find App "spg"

fly launch
Creating app in /Users/dilraj/Documents/SPG/spg2
An existing fly.toml file was found for app spg
? Would you like to copy its configuration to the new app? Yes
Scanning source code
Detected a Rails app
? Choose an app name (leaving blank will default to 'spg')
automatically selected personal organization: Dilraj Singh
App will use 'yyz' region as primary

Created app 'spg' in organization 'personal'
Admin URL: https://fly.io/apps/spg
Hostname: spg.fly.dev
Set secrets on spg: RAILS_MASTER_KEY
? Would you like to set up a Postgresql database now? No
? Would you like to set up an Upstash Redis database now? No
Wrote config file fly.toml
Validating /Users/dilraj/Documents/SPG/spg2/fly.toml
Platform: machines
✓ Configuration is valid

Your Rails app is prepared for deployment.

Before proceeding, please review the posted Rails FAQ:
https://fly.io/docs/rails/getting-started/dockerfiles/.

Once ready: run 'fly deploy' to deploy your Rails app.

fly deploy
==> Verifying app config
Validating /Users/dilraj/Documents/SPG/spg2/fly.toml
Platform: machines
✓ Configuration is valid
--> Verified app config
==> Building image
WARN Failed to start remote builder heartbeat: You hit a Fly API error with request ID: 01H52VKGKFFTBZXFW4Y7GQNQXM-yyz

Error: failed to fetch an image or build from source: error connecting to docker: You hit a Fly API error with request ID: 01H52VKH30HGGBXWMY9PBKQ3MQ-yyz