-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: getting tunnel url: didn't find tunnels that were expected to be created #92
Comments
That error message should definitely be improved. Is it possible you're already running ngrok somewhere? Can you paste the output of The code should be changed though so that it looks for the tunnel running on 4141 and then it will work with multiple tunnels running at the same time. |
@NeckBeardPrince... 😆 I pushed 0.3.6 which should work for you (or at least give a better error): https://github.com/runatlantis/atlantis/releases/tag/v0.3.6 |
@lkysow Sorry for the delay. Updated to 0.3.6 $ atlantis bootstrap This mode walks you through setting up and using Atlantis. We will
Press Ctrl-c at any time to exit GitHub username: neckbeardprince To continue, we need you to create a GitHub personal access token Follow these instructions to create a token (we don't store any tokens):
GitHub access token (will be hidden): $ curl localhost:4040/api/tunnels $ curl localhost:4041/api/tunnels $ ps aux | grep ngrok |
Hmm okay there's something else then. Can you manually run the ngrok command we're running? We must not be capturing the error there properly: cat >> config.yml <<EOF
web_addr: localhost:41414
tunnels:
atlantis:
addr: 4141
bind_tls: true
proto: http
EOF
/tmp/ngrok start atlantis --config config.yml If it says there's no ngrok in Also what OS are you on? Thanks! |
@lkysow Again, sorry for the delay. Here is the stout log from ngrok
After the few errors it did end up connecting. Here is the config
OSX 10.13.3 |
Okay thanks, so I think I need to follow the logs and wait until we see For my reference, need to run with Thanks for your help, I'll get to this asap. |
@lkysow Awesome, glad I could break stuff for you :) |
Previously, we started ngrok/atlantis server in the background and then did a sleep to ensure the processes were running or just assumed they were up. Now, we wait for a specific output to ensure those processes are running before continuing on with the rest of the script. Fixes #92.
* readme improvements * Return plan errors back to the user * README
$ atlantis version
atlantis 0.3.5
$ atlantis bootstrap
Welcome to Atlantis bootstrap!
This mode walks you through setting up and using Atlantis. We will
Press Ctrl-c at any time to exit
GitHub username: NeckBeardPrince
To continue, we need you to create a GitHub personal access token
with "repo" scope so we can fork an example terraform project.
Follow these instructions to create a token (we don't store any tokens):
https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/#creating-a-token
GitHub access token (will be hidden):
=> forking repo
=> fork completed!
=> terraform found in $PATH!
=> downloading ngrok
=> downloaded ngrok successfully!
=> creating secure tunnel
=> started tunnel!
Error: getting tunnel url: didn't find tunnels that were expected to be created
Usage:
atlantis bootstrap [flags]
Flags:
-h, --help help for bootstrap
The text was updated successfully, but these errors were encountered: