Getting `Oops, something went wrong! Could you try that again?` when attempting tutorial launch

I am stepping through the speedlaunch tutorial but keep getting the following error:

Oops, something went wrong! Could you try that again?

after invoking flyctl launch. The system does create an app in my org, that I can see in the admin panels, but it’s stuck in pending along with (I think) a helper app.

user@host:~$ flyctl apps list
NAME                            OWNER           STATUS  LATEST DEPLOY
billowing-dream-541             personal        pending
fly-builder-summer-shape-4169   personal        pending

I’ve tried running this several times, but it’s always the same outcome. Is there someplace else to look for details about the error?

  • my email is verified
  • my billing is connected
  • my flyctl is from today
user@host:~$ flyctl version
flyctl v0.0.262 linux/amd64 Commit: 0d150b0 BuildDate: 2021-12-08T12:04:40Z

Will you try running LOG_LEVEL=debug flyctl launch and paste the output here?

It might be trying to use local Docker and failing with a bad error. The logs should help us figure that out.

After upgrading I’m able to login but I get the same error when I do flyctl launch. I’m able to answer the questions but after the "Created app […] in organization personal" message it fails with"Oops, something went wrong! Could you try that again?" and my local folder is empty.

I also tried:

  • Adding --verbose but doesn’t print anything different
  • Selecting a different region and name
  • Passing the --image flyio/hellofly:latest

All produce the same error with no new files in the directory. In the fly.io dashboard I see the app with status “Pending”, no activity and no IP assigned.

@dmf I moved your post here because it appears to be the same issue. Will you try running LOG_LEVEL=debug fly launch and paste the log output here?

This might be the issue you’re hitting. What kind of apps are you trying to run fly launch against?

@kurt here’s the output:

whopper@burgerking:~$ LOG_LEVEL=debug flyctl launch
DEBUG Loaded flyctl config from/home/whopper/.fly/config.yml
DEBUG determined hostname: "burgerking"
DEBUG determined working directory: "/home/whopper"
DEBUG determined user home directory: "/home/whopper"
DEBUG determined config directory: "/home/whopper/.fly"
DEBUG cache loaded.
DEBUG config initialized.
DEBUG initialized task manager.
DEBUG started querying for new release
DEBUG client initialized.
DEBUG Working Directory: /home/whopper
DEBUG App Config File:
Creating app in /home/whopper
Scanning source code
Could not find a Dockerfile, nor detect a runtime or framework from source code. Continuing with a blank app.
DEBUG --> POST https://api.fly.io/graphql {{"query":"query($slug: String!) { organization(slug: $slug) { id internalNumericId slug name type } }","variables":{"slug":"personal"}}
}
? App Name (leave blank to use an auto-generated name): DEBUG querying for release resulted to v0.0.263
DEBUG <-- 200 https://api.fly.io/graphql (283.45ms) {"data":{"organization":{"id":"G1B7JG6wPDBq0I8b8yRl4q9RlQUO77","internalNumericId":"28936","slug":"personal","name":"J Hwang","type":"PERSONAL"}}}
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 { slug } } } }","variables":{"input":{"appName":null,"organizationId":"G1B7JG6wPDBq0I8b8yRl4q9RlQUO77"}}}
}
DEBUG <-- 200 https://api.fly.io/graphql (264.05ms) {"data":{"ensureMachineRemoteBuilder":{"machine":{"id":"d99ec220","state":"starting","ips":{"nodes":[{"family":"v6","kind":"privatenet","ip":"fdaa:0:3d60:a7b:ad0:0:6522:2"},{"family":"v6","kind":"public","ip":"2604:1380:45e1:3002::6522:3"},{"family":"v4","kind":"private","ip":"172.19.2.130"}]}},"app":{"name":"fly-builder-summer-shape-4169","organization":{"slug":"personal"}}}}}
? App Name (leave blank to use an auto-generated name):
DEBUG --> POST https://api.fly.io/graphql {{"query":"query($orgType: OrganizationType) { organizations(type: $orgType) { nodes { id slug name type } } }","variables":null}
}
DEBUG <-- 200 https://api.fly.io/graphql (125.66ms) {"data":{"organizations":{"nodes":[{"id":"G1B7JG6wPDBq0I8b8yRl4q9RlQUO77","slug":"personal","name":"J Hwang","type":"PERSONAL"}]}}}
Automatically selected personal organization: J Hwang
DEBUG --> POST https://api.fly.io/graphql {{"query":"query { platform { requestRegion regions { name code gatewayAvailable } } }","variables":null}
}
DEBUG <-- 200 https://api.fly.io/graphql (115.83ms) {"data":{"platform":{"requestRegion":"sjc","regions":[{"name":"Amsterdam, Netherlands","code":"ams","gatewayAvailable":true},{"name":"Paris, France","code":"cdg","gatewayAvailable":true},{"name":"Dallas, Texas (US)","code":"dfw","gatewayAvailable":true},{"name":"Secaucus, NJ (US)","code":"ewr","gatewayAvailable":false},{"name":"Frankfurt, Germany","code":"fra","gatewayAvailable":true},{"name":"São Paulo","code":"gru","gatewayAvailable":false},{"name":"Hong Kong","code":"hkg","gatewayAvailable":true},{"name":"Ashburn, Virginia (US)","code":"iad","gatewayAvailable":true},{"name":"Los Angeles, California (US)","code":"lax","gatewayAvailable":true},{"name":"London, United Kingdom","code":"lhr","gatewayAvailable":true},{"name":"Chennai (Madras), India","code":"maa","gatewayAvailable":true},{"name":"Madrid, Spain","code":"mad","gatewayAvailable":false},{"name":"Miami, Florida (US)","code":"mia","gatewayAvailable":false},{"name":"Tokyo, Japan","code":"nrt","gatewayAvailable":true},{"name":"Chicago, Illinois (US)","code":"ord","gatewayAvailable":true},{"name":"Santiago, Chile","code":"scl","gatewayAvailable":true},{"name":"Seattle, Washington (US)","code":"sea","gatewayAvailable":true},{"name":"Singapore","code":"sin","gatewayAvailable":true},{"name":"Sunnyvale, California (US)","code":"sjc","gatewayAvailable":true},{"name":"Sydney, Australia","code":"syd","gatewayAvailable":true},{"name":"Toronto, Canada","code":"yyz","gatewayAvailable":true}]}}}
? Select region: sjc (Sunnyvale, California (US))
DEBUG --> POST https://api.fly.io/graphql {{"query":"mutation($input: CreateAppInput!) { createApp(input: $input) { app { id name organization { slug } config { definition } regions { name code } } } }","variables":{"input":{"organizationId":"G1B7JG6wPDBq0I8b8yRl4q9RlQUO77","runtime":"FIRECRACKER","name":"","preferredRegion":"sjc"}}}
}
DEBUG <-- 200 https://api.fly.io/graphql (447.43ms) {"data":{"createApp":{"app":{"id":"young-haze-685","name":"young-haze-685","organization":{"slug":"personal"},"config":{"definition":{"kill_timeout":5,"kill_signal":"SIGINT","processes":[],"experimental":{"allowed_public_ports":[],"auto_rollback":true},"services":[{"processes":["app"],"protocol":"tcp","internal_port":8080,"concurrency":{"soft_limit":20,"hard_limit":25,"type":"connections"},"ports":[{"port":80,"handlers":["http"]},{"port":443,"handlers":["tls","http"]}],"tcp_checks":[{"interval":"15s","timeout":"2s","grace_period":"1s","restart_limit":0}],"http_checks":[],"script_checks":[]}],"env":{}}},"regions":[{"name":"Sunnyvale, California (US)","code":"sjc"}]}}}}
Created app young-haze-685 in organization personal
Oops, something went wrong! Could you try that again?

I do have an existing instance of docker running, as well as an existing Tailscale (Wireguard) instance.

whopper@burgerking:~$ uname -a
Linux burgerking 4.15.0-153-generic #160-Ubuntu SMP Thu Jul 29 06:54:29 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
whopper@burgerking:~$ sudo docker --version
Docker version 20.10.1, build 831ebea
whopper@burgerking:~$ tailscale --version
1.16.2
  tailscale commit: f449111792f662c8552514cf3691c3c1bd7f38e4
  other commit: 3853a3b920c7ec33da2b8ba8454e9ca8b3772774
  go version: go1.17.1-ts097d1284f9

I get the same debug messages.

Regarding the kind of app, I was simply following the Getting Started. I also tried the image from here:

❯ LOG_LEVEL=debug flyctl launch --image flyio/hellofly:latest
DEBUG Loaded flyctl config from/Users/dmf/.fly/config.yml
DEBUG determined hostname: "redacted.lan"
DEBUG determined working directory: "/Users/dmf/Projects/fly-example"
DEBUG determined user home directory: "/Users/dmf"
DEBUG determined config directory: "/Users/dmf/.fly"
DEBUG cache loaded.
DEBUG config initialized.
DEBUG initialized task manager.
DEBUG started querying for new release
DEBUG client initialized.
DEBUG Working Directory: /Users/dmf/Projects/fly-example
DEBUG App Config File:
Creating app in /Users/dmf/Projects/fly-example
Using image flyio/hellofly:latest
? App Name (leave blank to use an auto-generated name):
DEBUG --> POST https://api.fly.io/graphql {{"query":"query($orgType: OrganizationType) { organizations(type: $orgType) { nodes { id slug name type } } }","variables":null}
}
DEBUG <-- 200 https://api.fly.io/graphql (160.11ms) {"data":{"organizations":{"nodes":[{"id":"MA8702JP9v8awFz5z67ep3b7eRTeON","slug":"personal","name":"Redacted","type":"PERSONAL"}]}}}
Automatically selected personal organization: Redacted
DEBUG --> POST https://api.fly.io/graphql {{"query":"query { platform { requestRegion regions { name code gatewayAvailable } } }","variables":null}
}
DEBUG <-- 200 https://api.fly.io/graphql (148.69ms) {"data":{"platform":{"requestRegion":"lhr","regions":[{"name":"Amsterdam, Netherlands","code":"ams","gatewayAvailable":true},{"name":"Paris, France","code":"cdg","gatewayAvailable":true},{"name":"Dallas, Texas (US)","code":"dfw","gatewayAvailable":true},{"name":"Secaucus, NJ (US)","code":"ewr","gatewayAvailable":false},{"name":"Frankfurt, Germany","code":"fra","gatewayAvailable":true},{"name":"São Paulo","code":"gru","gatewayAvailable":false},{"name":"Hong Kong","code":"hkg","gatewayAvailable":true},{"name":"Ashburn, Virginia (US)","code":"iad","gatewayAvailable":true},{"name":"Los Angeles, California (US)","code":"lax","gatewayAvailable":true},{"name":"London, United Kingdom","code":"lhr","gatewayAvailable":true},{"name":"Chennai (Madras), India","code":"maa","gatewayAvailable":true},{"name":"Madrid, Spain","code":"mad","gatewayAvailable":false},{"name":"Miami, Florida (US)","code":"mia","gatewayAvailable":false},{"name":"Tokyo, Japan","code":"nrt","gatewayAvailable":true},{"name":"Chicago, Illinois (US)","code":"ord","gatewayAvailable":true},{"name":"Santiago, Chile","code":"scl","gatewayAvailable":true},{"name":"Seattle, Washington (US)","code":"sea","gatewayAvailable":true},{"name":"Singapore","code":"sin","gatewayAvailable":true},{"name":"Sunnyvale, California (US)","code":"sjc","gatewayAvailable":true},{"name":"Sydney, Australia","code":"syd","gatewayAvailable":true},{"name":"Toronto, Canada","code":"yyz","gatewayAvailable":true}]}}}
? Select region: lhr (London, United Kingdom)
DEBUG --> POST https://api.fly.io/graphql {{"query":"mutation($input: CreateAppInput!) { createApp(input: $input) { app { id name organization { slug } config { definition } regions { name code } } } }","variables":{"input":{"organizationId":"MA8702JP9v8awFz5z67ep3b7eRTeON","runtime":"FIRECRACKER","name":"","preferredRegion":"lhr"}}}
}
DEBUG <-- 200 https://api.fly.io/graphql (436.85ms) {"data":{"createApp":{"app":{"id":"billowing-pond-9884","name":"billowing-pond-9884","organization":{"slug":"personal"},"config":{"definition":{"kill_timeout":5,"kill_signal":"SIGINT","processes":[],"experimental":{"allowed_public_ports":[],"auto_rollback":true},"services":[{"processes":["app"],"protocol":"tcp","internal_port":8080,"concurrency":{"soft_limit":20,"hard_limit":25,"type":"connections"},"ports":[{"port":80,"handlers":["http"]},{"port":443,"handlers":["tls","http"]}],"tcp_checks":[{"interval":"15s","timeout":"2s","grace_period":"1s","restart_limit":0}],"http_checks":[],"script_checks":[]}],"env":{}}},"regions":[{"name":"London, United Kingdom","code":"lhr"}]}}}}
Created app billowing-pond-9884 in organization personal
Oops, something went wrong! Could you try that again?

This was a bug in the last release of our CLI. It’s fixed in the latest, so if you run flyctl version update you should be good to go!

I was using 0.0.262. With 0.0.265 it works, thank you :slight_smile:

1 Like

Thanks, yes using 0.0.265 solved it.

1 Like