Iāve been having the same problem in LHR for the last few days. Tried destroying the builder with fly app destroy fly-builder-foobar
.
LOG_LEVEL=debug flyctl deploy --build-arg ********=****************************** --remote-only
DEBUG Loaded flyctl config from******************************
DEBUG determined hostname: "********"
DEBUG determined working directory: "******************************"
DEBUG determined user home directory: "******************************"
DEBUG determined config directory: "******************************"
DEBUG ensured config directory exists.
DEBUG ensured config directory perms.
DEBUG cache loaded.
DEBUG config initialized.
DEBUG skipped querying for new release
DEBUG client initialized.
DEBUG app config loaded from ******************************/fly.toml
DEBUG --> POST https://api.fly.io/graphql
DEBUG {
"query": "query ($appName: String!) { appbasic:app(name: $appName) { id name platformVersion organization { id slug paidPlan } } }",
"variables": {
"appName": "********"
}
}
DEBUG {}
DEBUG <-- 200 https://api.fly.io/graphql (1.54s)
DEBUG {
"data": {
"appbasic": {
"id": "********",
"name": "********",
"platformVersion": "machines",
"organization": {
"id": "VJeZXwpBobe7OTv1Xk80P6a5V0CoVZN7",
"slug": "********",
"paidPlan": false
}
}
}
}
==> Verifying app config
Validating ******************************/fly.toml
Platform: machines
ā Configuration is valid
--> Verified app config
DEBUG Starting task manager
DEBUG Config has metrics token
DEBUG --> POST https://api.fly.io/graphql
DEBUG {
"query": "query ($appName: String!) { appcompact:app(name: $appName) { id name hostname deployed status appUrl platformVersion organization { id slug paidPlan } postgresAppRole: role { name } imageDetails { repository version } } }",
"variables": {
"appName": "********"
}
}
DEBUG {}
DEBUG failed to connect metrics websocket: websocket.Dial wss://flyctl-metrics.fly.dev/socket: dial tcp [2a09:8280:1::1c:3475]:443: connect: network is unreachable
DEBUG <-- 200 https://api.fly.io/graphql (646.74ms)
DEBUG {
"data": {
"appcompact": {
"id": "********",
"name": "********",
"hostname": "********.fly.dev",
"deployed": true,
"status": "deployed",
"appUrl": "https://2a09:8280:1::f:851",
"platformVersion": "machines",
"organization": {
"id": "VJeZXwpBobe7OTv1Xk80P6a5V0CoVZN7",
"slug": "********",
"paidPlan": false
},
"postgresAppRole": null,
"imageDetails": {
"repository": "unknown",
"version": "unknown"
}
}
}
}
WARN ******** may be a potentially sensitive environment variable. Consider setting it as a secret, and removing it from the [env] section: https://fly.io/docs/reference/secrets/
==> Building image
DEBUG trying remote docker daemon
DEBUG --> POST https://api.fly.io/graphql
DEBUG {
"query": "mutation($input: EnsureMachineRemoteBuilderInput!) { ensureMachineRemoteBuilder(input: $input) { machine { id state ips { nodes { family kind ip } } }, app { name organization { id slug } } } }",
"variables": {
"input": {
"appName": "********",
"organizationId": null
}
}
}
DEBUG {}
DEBUG <-- 500 https://api.fly.io/graphql (661.58ms)
DEBUG {
"errors": [
{
"message": "You hit a Fly API error with request ID: 01HD0ZZEADKQRHPQ1EKY125C74-mel",
"extensions": {
"code": "SERVER_ERROR",
"fly_request_id": "01HD0ZZEADKQRHPQ1EKY125C74-mel"
}
}
],
"data": {}
}
WARN Failed to start remote builder heartbeat: server returned a non-200 status code: 500
DEBUG Config has metrics token
DEBUG --> POST https://api.fly.io/graphql
DEBUG {
"query": "\n# @genqlient\nmutation ResolverCreateBuild ($input: CreateBuildInput!) {\n\tcreateBuild(input: $input) {\n\t\tid\n\t\tstatus\n\t}\n}\n",
"variables": {
"input": {
"appName": "********",
"builderType": "remote",
"clientMutationId": "",
"imageOpts": {
"buildArgs": {
"********": "******************************"
},
"buildPacks": null,
"builder": "",
"builtIn": "",
"builtInSettings": null,
"dockerfilePath": "",
"extraBuildArgs": null,
"imageLabel": "",
"imageRef": "",
"noCache": false,
"publish": true,
"tag": "registry.fly.io/********:deployment-01HD0ZZET9QCX3YGX8G8WVGWZW",
"target": ""
},
"machineId": "",
"strategiesAvailable": [
"Buildpacks",
"Dockerfile",
"Builtin"
]
}
},
"operationName": "ResolverCreateBuild"
}
DEBUG {0xc000c08a50}
DEBUG failed to connect metrics websocket: websocket.Dial wss://flyctl-metrics.fly.dev/socket: dial tcp [2a09:8280:1::1c:3475]:443: connect: network is unreachable
DEBUG Config has metrics token
DEBUG failed to connect metrics websocket: websocket.Dial wss://flyctl-metrics.fly.dev/socket: dial tcp [2a09:8280:1::1c:3475]:443: connect: network is unreachable
DEBUG <-- 200 https://api.fly.io/graphql (572.74ms)
DEBUG {
"data": {
"createBuild": {
"id": "3925677",
"status": "started"
}
}
}
DEBUG Trying 'Buildpacks' strategy
DEBUG no buildpack builder configured, skipping
DEBUG result image:<nil> error:<nil>
DEBUG Trying 'Dockerfile' strategy
DEBUG --> POST https://api.fly.io/graphql
DEBUG {
"query": "mutation($input: EnsureMachineRemoteBuilderInput!) { ensureMachineRemoteBuilder(input: $input) { machine { id state ips { nodes { family kind ip } } }, app { name organization { id slug } } } }",
"variables": {
"input": {
"appName": "********",
"organizationId": null
}
}
}
DEBUG {}
DEBUG <-- 500 https://api.fly.io/graphql (633.05ms)
DEBUG {
"errors": [
{
"message": "You hit a Fly API error with request ID: 01HD0ZZFH4QT8D34CH44GBV2W5-mel",
"extensions": {
"code": "SERVER_ERROR",
"fly_request_id": "01HD0ZZFH4QT8D34CH44GBV2W5-mel"
}
}
],
"data": {}
}
DEBUG result image:<nil> error:error connecting to docker: server returned a non-200 status code: 500
DEBUG Config has metrics token
DEBUG --> POST https://api.fly.io/graphql
DEBUG {
"query": "\n# @genqlient\nmutation ResolverFinishBuild ($input: FinishBuildInput!) {\n\tfinishBuild(input: $input) {\n\t\tid\n\t\tstatus\n\t\twallclockTimeMs\n\t}\n}\n",
"variables": {
"input": {
"appName": "********",
"buildId": "3925677",
"builderMeta": {
"builderType": "",
"buildkitEnabled": false,
"dockerVersion": "",
"platform": "",
"remoteAppName": "",
"remoteMachineId": ""
},
"clientMutationId": "",
"finalImage": {
"id": "",
"sizeBytes": 0,
"tag": ""
},
"logs": "error connecting to docker: server returned a non-200 status code: 500",
"machineId": "",
"status": "failed",
"strategiesAttempted": [
{
"error": "",
"note": "no buildpack builder configured, skipping",
"result": "failed",
"strategy": "Buildpacks"
},
{
"error": "error connecting to docker: server returned a non-200 status code: 500",
"note": "",
"result": "failed",
"strategy": "Dockerfile"
}
],
"timings": {
"buildAndPushMs": 634,
"buildMs": 634,
"builderInitMs": 634,
"contextBuildMs": -1,
"imageBuildMs": -1,
"pushMs": -1
}
}
},
"operationName": "ResolverFinishBuild"
}
DEBUG {0xc00068bc50}
DEBUG failed to connect metrics websocket: websocket.Dial wss://flyctl-metrics.fly.dev/socket: dial tcp [2a09:8280:1::1c:3475]:443: connect: network is unreachable
DEBUG <-- 200 https://api.fly.io/graphql (610.84ms)
DEBUG {
"data": {
"finishBuild": {
"id": "3925677",
"status": "failed",
"wallclockTimeMs": 1239
}
}
}
DEBUG Task manager done
DEBUG Config has metrics token
DEBUG failed to connect metrics websocket: websocket.Dial wss://flyctl-metrics.fly.dev/socket: dial tcp [2a09:8280:1::1c:3475]:443: connect: network is unreachable
DEBUG Config has metrics token
DEBUG failed to connect metrics websocket: websocket.Dial wss://flyctl-metrics.fly.dev/socket: dial tcp [2a09:8280:1::1c:3475]:443: connect: network is unreachable
Error: failed to fetch an image or build from source: error connecting to docker: server returned a non-200 status code: 500
fly apps list
shows the builder with the status pending
- not sure if that is normal.