sp-api > fly doctor
Testing authentication token... PASSED
Testing flyctl agent... PASSED
Testing local Docker instance... Nope
Pinging WireGuard gateway (give us a sec)... PASSED
sp-api > LOG_LEVEL=debug fly deploy --remote-only
DEBUG Loaded flyctl config from/Users/choc/.fly/config.yml
DEBUG determined hostname: "chocs-MacBook-Pro.local"
DEBUG determined working directory: "/Users/choc/code/sp-api"
DEBUG determined user home directory: "/Users/choc"
DEBUG determined config directory: "/Users/choc/.fly"
DEBUG ensured config directory exists.
DEBUG ensured config directory perms.
DEBUG cache loaded.
DEBUG config initialized.
DEBUG initialized task manager.
DEBUG started querying for new release
DEBUG client initialized.
DEBUG app config loaded from /Users/choc/code/sp-api/fly.toml
==> Verifying app config
--> Verified app config
==> Building image
DEBUG trying remote docker daemon
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 {{"query":"mutation($input: EnsureMachineRemoteBuilderInput!) { ensureMachineRemoteBuilder(input: $input) { machine { id state ips { nodes { family kind ip } } }, app { name organization { id slug } } } }","variables":{"input":{"appName":"sp-api","organizationId":null}}}
}
DEBUG querying for release resulted to v0.0.325
DEBUG <-- 200 https://api.fly.io/graphql (502.07ms) {"data":{"ensureMachineRemoteBuilder":{"machine":{"id":"0140b65e","state":"starting","ips":{"nodes":[{"family":"v6","kind":"privatenet","ip":"fdaa:0:4ab8:a7b:2984:0:cb20:2"},{"family":"v6","kind":"public","ip":"2604:1380:4070:805::cb20:3"},{"family":"v4","kind":"private","ip":"172.19.7.42"}]}},"app":{"name":"fly-builder-spring-darkness-1924","organization":{"id":"MA8702JP9v8awFz5z67ep3b7eRTB0Q","slug":"personal"}}}}}
DEBUG checking ip &{Family:v6 Kind:privatenet IP:fdaa:0:4ab8:a7b:2984:0:cb20:2 MaskSize:0}
Waiting for remote builder fly-builder-spring-darkness-1924... ⣾ DEBUG --> POST https://api.fly.io/graphql {{"query":"query ($appName: String!) { app(name: $appName) { id name hostname deployed status version appUrl platformVersion currentRelease { evaluationId status inProgress version } config { definition } organization { id slug } services { description protocol internalPort ports { port handlers } } ipAddresses { nodes { id address type createdAt } } imageDetails { repository version } machines{ nodes { id name config state region createdAt app { name } ips { nodes { family kind ip maskSize } } host { id } } } postgresAppRole: role { name } } }","variables":{"appName":"sp-api"}}
}
Waiting for remote builder fly-builder-spring-darkness-1924... ⣻ DEBUG <-- 200 https://api.fly.io/graphql (537.02ms) {"data":{"app":{"id":"sp-api","name":"sp-api","hostname":"sp-api.fly.dev","deployed":true,"version":74,"appUrl":"https://188.93.145.243","platformVersion":"nomad","currentRelease":{"evaluationId":null,"status":"succeeded","inProgress":false,"version":74},"config":{"definition":{"kill_timeout":5,"kill_signal":"SIGINT","processes":[],"experimental":{"allowed_public_ports":[],"entrypoint":[],"cmd":[],"exec":[],"auto_rollback":true},"services":[{"processes":["app"],"protocol":"tcp","internal_port":8080,"concurrency":{"soft_limit":100,"hard_limit":1000,"type":"connections"},"ports":[{"port":80,"handlers":["http"],"force_https":true},{"port":443,"handlers":["tls","http"]}],"tcp_checks":[],"http_checks":[{"interval":"10s","timeout":"2s","grace_period":"5s","restart_limit":0,"method":"get","protocol":"http","path":"/","tls_skip_verify":false,"headers":{}}],"script_checks":[]}],"env":{}}},"organization":{"id":"MA8702JP9v8awFz5z67ep3b7eRTB0Q","slug":"personal"},"services":[{"description":"TCP 80/443 ⇢ 8080","protocol":"TCP","internalPort":8080,"ports":[{"port":80,"handlers":["HTTP"]},{"port":443,"handlers":["TLS","HTTP"]}]}],"imageDetails":{"repository":"sp-api","version":null},"postgresAppRole":null,"ipAddresses":{"nodes":[{"id":"2jyLOwPOQ8JYKC7mRaMxbk73xbI16JL1Y","address":"188.93.145.243","type":"v4","createdAt":"2022-04-15T12:53:50Z"},{"id":"QnVDKg5KJQ0A7H1V6Dqm7j1Mm7TBK19JK","address":"2a09:8280:1::3:30bc","type":"v6","createdAt":"2022-04-15T12:53:51Z"}]},"machines":{"nodes":[]},"status":"running"}}}
DEBUG --> POST https://api.fly.io/graphql {{"query":"mutation($input: ValidateWireGuardPeersInput!) { validateWireGuardPeers(input: $input) { invalidPeerIps } }","variables":{"input":{"peerIps":["fdaa:0:4ab8:a7b:d6b:0:a:2"]}}}
}
Waiting for remote builder fly-builder-spring-darkness-1924... ⢿ DEBUG <-- 200 https://api.fly.io/graphql (290.31ms) {"data":{"validateWireGuardPeers":{"invalidPeerIps":[]}}}
Waiting for remote builder fly-builder-spring-darkness-1924... ⣻ DEBUG Remote builder unavailable, retrying in 50ms (err: Get "http://[fdaa:0:4ab8:a7b:2984:0:cb20:2]:2375/_ping": context deadline exceeded)
WARN Remote builder did not start in time. Check remote builder logs with `flyctl logs -a fly-builder-spring-darkness-1924`
DEBUG result image:<nil> error:error connecting to docker: remote builder app unavailable
Error failed to fetch an image or build from source: error connecting to docker: remote builder app unavailable