When running flyctl deploy -c fly.staging.toml
(on an app that usually deploys fine), I received this error part way through:
==> Verifying app config
--> Verified app config
==> Building image
Remote builder fly-builder-cold-flower-3697 ready
==> Creating build context
--> Creating build context done
==> Building image with Docker
--> docker host: 20.10.12 linux x86_64
[+] Building 61.7s (0/1)
=> [internal] load remote build context 61.7s
ERRO[0067] Can't add file /Users/FOO/node_modules/@popperjs/core/dist/umd/popper-lite.min.js.map to tar: io: read/write on closed pipe
ERRO[0067] Can't close tar writer: io: read/write on closed pipe
Error failed to fetch an image or build from source: error building: unexpected EOF
Now, on subsequent deploys, I receive this:
==> Verifying app config
--> Verified app config
==> Building image
WARN Remote builder did not start in time. Check remote builder logs with `flyctl logs -a fly-builder-cold-flower-3697`
Error failed to fetch an image or build from source: error connecting to docker: remote builder app unavailable
Upon running flyctl logs -a fly-builder-cold-flower-3697
, I get:
2022-08-08T02:20:16Z runner[73d8dd69f12189] dfw [info]machine exited with exit code 0, not restarting
2022-08-08T03:39:01Z runner[73d8dd69f12189] dfw [info]machine exited with exit code 0, not restarting
2022-08-08T04:57:12Z runner[73d8dd69f12189] dfw [info]machine exited with exit code 0, not restarting
2022-08-09T02:07:30Z runner[73d8dd69f12189] dfw [info]machine exited with exit code 0, not restarting
After a few minutes, it all starts working again. This happens when deploying from both CLI and Github actions. Is there something I need to change on my end to make this more stable? Happy to run my own workers if that’s the best way.