Same problem here a few minutes ago. I put together a custom dockerfile, but it exposes port 8080, I can run the docker image and hit the server it runs from a browser on the host machine. fly launch worked, but fly deploy reports the same error as above, with a different request ID.
Hi! I had a same problem after re-creating my app builder.
I removed my app then tried flyctl launch but it doesn’t solve my problem.
Also I tried repeating flyctl deploy , the error message remains.
@Cadulogy Thanks for your advice.
I take a look in this reply and check the
flyctl logs -a MY_FLY-builder
It shows “Deadline reached without docker build”
I think the problem is like the reply as ‘LuxuryMode’
since my deploy error also shows
2022-10-09T06:53:04.000 [info] return _bootstrap._gcd_import(name[level:], package, level)
2022-10-09T06:53:04.000 [info] File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
2022-10-09T06:53:04.000 [info] File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
2022-10-09T06:53:04.000 [info] File "<frozen importlib._bootstrap>", line 1004, in _find_and_load_unlocked
2022-10-09T06:53:04.000 [info] ModuleNotFoundError: No module named 'server'
2022-10-09T06:53:04.000 [info] [2022-10-09 06:53:04 +0000] [538] [INFO] Worker exiting (pid: 538)
2022-10-09T06:53:04.000 [info] [2022-10-09 06:53:04 +0000] [520] [INFO] Shutting down: Master
2022-10-09T06:53:04.000 [info] [2022-10-09 06:53:04 +0000] [520] [INFO] Reason: Worker failed to boot.
2022-10-09T06:53:05.000 [info] Starting clean up.
I am still having this same issue. I managed to deploy the app once by spamming flyctl launch and flyctl deploy until it finally succeeded.
After that I unfortunately accidentally removed the project and now I have been spamming those commands over 10 times and I am still unable to deploy the project…
Oh wait, just now it finally succeeded again. Only thing that I did differently was to open my project in the fly.io dashboard and open the monitoring tab while deploying.
Since 2-3 hours, I am seeing the same error in FRA & AMS (have not tried other regions yet):
image: registry.fly.io/vauXXX99:deployment-01GFNFZ35QH8JF3ZEHDKGX2BC4
image size: 221 MB
==> Creating release
Error You hit a Fly API error with request ID: 01GFNFZ6HN3Z750PDVRA5MEJTD-fra
flyctl upgrade, agent restart, launch/deploy did not help. Neither fly deploy --verbose, nor log provides any additional info.