`fly deploy` stuck on "Waiting for remote builder"

It’s impossible for me to deploy for the last few hours. It gets stuck on “Waiting for remote builder”.

After a while it errors with:

Error failed to fetch an image or build from source: error connecting to docker: remote builder app unavailable

I ran fly destroy a few times on the builder but it doesn’t change anything.

2 Likes

hey, thank you for letting us know. It looks like this builder got into a weird state – this one should be good to go now, and we’re working on a general fix for this as well. Please let us know if you run into this error moving forward !

1 Like

Thank you!

@eli - found this thread, so, quickly replying you here. Hope this is fine. Actually I am also facing same issue today. Please find screenshot attached. Could you help me with it please?
Flyio-error

@eli I face the same issue right now. Destroyed the app, destroyed the builder, still hangs forever. Thanks in advance

@eli Hi! I found this thread. I have a same problem :disappointed_relieved:

I had the same issue as well so I destroyed the builder with
fly apps destroy fly-builder-name

Now when I try to deploy I get:

Error failed to fetch an image or build from source: error connecting to docker│
: You hit a Fly API error with request ID: REDACTED

Are we sure there’s not an outage of some sort @eli?

Seems to be happening again:

❯ fly deploy --remote-only
==> Verifying app config
--> Verified app config
==> Building image
Error failed to fetch an image or build from source: error connecting to docker: You hit a Fly API error with request ID: 01GE54E86KC51C0AKW36RTDF17-hkg

Same…

This is getting frustrating :frowning:

Same :frowning:

Would love an acknowledgment at least that y’all have seen this and are on it if possible? Desperately trying anything I can on my end to deploy my app lol :sweat_smile:

2 Likes

Error failed to fetch an image or build from source: error connecting to docker: upstream service is unavailable

Tried running with LOG_LEVEL=debug:

{
  "data": {
    "ensureMachineRemoteBuilder": null
  },
  "errors": [
    {
      "message": "upstream service is unavailable",
      "locations": [
        {
          "line": 1,
          "column": 54
        }
      ],
      "path": [
        "ensureMachineRemoteBuilder"
      ],
      "extensions": {
        "code": "SERVICE_UNAVAILABLE"
      }
    }
  ]
}
2 Likes

Seems like it’s being looked at! The status page just updated:

2 Likes

Not sure if this could be related, but I first tried to resolve by destroying my free builder. A new one was automatically created, but the storage on it is growing out of control
image

That’s kind of fun! I’m not sure that’s accurate (honestly have no idea), but the builders work off the machines API and there’s an open issue right now (https://status.flyio.net) so hang tight!

1 Like

Hey folks! This incident should be resolved now, and we just released v0.0.399 of the flyctl which should help with some of the inconsistencies waiting for your builder.

Still hanging for me, and fly version update does nothing (it says 0.0.399 is available, but then brew tries to install 0.0.398)

Ah brew versions take a little bit of time to update.

You could use this other install method if you prefer which receives new versions a little quicker GitHub - superfly/flyctl: Command line tools for fly.io services