Error failed to fetch an image or build from source

While trying to deploy my first app, I keep on running into this error:

==> Building image with Buildpacks
--> docker host: 20.10.12 linux x86_64
base: Pulling from paketobuildpacks/builder
Digest: sha256:9b4800ae141fba72437d61e808f74e2513a5aa506b724d13e9008f3f328d42cd
Status: Image is up to date for paketobuildpacks/builder:base
base-cnb: Pulling from paketobuildpacks/run
Digest: sha256:608961fe861413c820047e7463d2ec26ab9c7b0b7dd0167f9877d8a38aeca53a
Status: Image is up to date for paketobuildpacks/run:base-cnb
Error failed to fetch an image or build from source: executing lifecycle: io: read/write on closed pipe

Below is my fly.toml

app = "mappinglowellma"
kill_signal = "SIGINT"
kill_timeout = 5
processes = []

  builder = "cloudfoundry/cnb:latest"

  PORT = "8080"

  allowed_public_ports = []
  auto_rollback = true

  http_checks = []
  internal_port = 8080
  processes = ["app"]
  protocol = "tcp"
  script_checks = []
    hard_limit = 25
    soft_limit = 20
    type = "connections"

    force_https = true
    handlers = ["http"]
    port = 80

    handlers = ["tls", "http"]
    port = 443

    grace_period = "1s"
    interval = "15s"
    restart_limit = 0
    timeout = "2s"

and my Procfile

web: gunicorn app:server

Should I be trying a different buildpack (already tried a few) or is there another problem?


Hi @LowellVCM !

I don’t think the buildpacks are the issues here. It maybe something to do with the remote builder

But to rule out any remote builder issues, can you try deploying your app locally with

fly deploy —local-only