Deploy failing with 'You hit a Fly API error'

We’ve started to see failing builds: we push an image to the ‘prereview’ app in the registry and then deploy it as both the ‘prereview’ and ‘prereview-sandbox’ apps (both deploys have the same failure).

The most recent failure is Use relative letter spacing rather than absolute · PREreview/prereview.org@7ffb9aa · GitHub.

The push step seems to have worked:

Run docker push registry.fly.io/prereview:7ffb9aa9230cd30206ae2982d9ea1a360719fbd2
The push refers to repository [registry.fly.io/prereview]
2682d041e395: Preparing
3cdec5bcec0b: Preparing
a86dbb3625eb: Preparing
4d6822106d88: Preparing
c063f2a4b58c: Preparing
14c584e3b123: Preparing
34d5ebaa5410: Preparing
14c584e3b123: Waiting
34d5ebaa5410: Waiting
4d6822106d88: Pushed
a86dbb3625eb: Pushed
2682d041e395: Pushed
c063f2a4b58c: Pushed
34d5ebaa5410: Pushed
3cdec5bcec0b: Pushed
14c584e3b123: Pushed
7ffb9aa9230cd30206ae2982d9ea1a360719fbd2: digest: sha256:6697caa317ee87bfe19ae64ebffe01c751a3901d0688565ebf6a6157fbef5a7f size: 1786

But the 2 deploy steps fail:

‘prereview’:

Run flyctl deploy --config fly.prod.toml --image registry.fly.io/prereview:7ffb9aa9230cd30206ae2982d9ea1a360719fbd2
==> Verifying app config
--> Verified app config
==> Building image
Searching for image 'registry.fly.io/prereview:7ffb9aa9230cd30206ae2982d9ea1a360719fbd2' locally...
Searching for image 'registry.fly.io/prereview:7ffb9aa9230cd30206ae2982d9ea1a360719fbd2' remotely...
Error failed to fetch an image or build from source: You hit a Fly API error with request ID: 01GCY7XP3KQZ3JB3B8KYTWA0G8-sjc

‘prereview-sandbox’:

Run flyctl deploy --config fly.sandbox.toml --image registry.fly.io/prereview:7ffb9aa9230cd30206ae2982d9ea1a360719fbd2
==> Verifying app config
--> Verified app config
==> Building image
Searching for image 'registry.fly.io/prereview:7ffb9aa9230cd30206ae2982d9ea1a360719fbd2' locally...
Searching for image 'registry.fly.io/prereview:7ffb9aa9230cd30206ae2982d9ea1a360719fbd2' remotely...
Error failed to fetch an image or build from source: You hit a Fly API error with request ID: 01GCY7XGP5M5W03T5NXKRA7NC1-iad

Do the request logs reveal what the problem is?

Checking out the logs, it seems like you might have hit a bug-- we pushed a fix out for it an hour ago. Are you still running into this? Let us know, and we can do a bit more digging for you.

Thanks @eli, I’ve just rerun the latest and they’ve both succeeded. That’s a quick resolution! :grinning:

1 Like