From 2334257438073784bb5c070fd6f1dd6613a23825 Mon Sep 17 00:00:00 2001 From: Keavon Chambers Date: Tue, 18 Oct 2022 23:46:38 -0700 Subject: [PATCH] Add hint why a quick tunnel isn't working if config.yaml is present --- cmd/cloudflared/tunnel/cmd.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/cloudflared/tunnel/cmd.go b/cmd/cloudflared/tunnel/cmd.go index 6acafe4b..cd02e1db 100644 --- a/cmd/cloudflared/tunnel/cmd.go +++ b/cmd/cloudflared/tunnel/cmd.go @@ -170,7 +170,7 @@ func TunnelCommand(c *cli.Context) error { return runAdhocNamedTunnel(sc, name, c.String(CredFileFlag)) } if ref := config.GetConfiguration().TunnelID; ref != "" { - return fmt.Errorf("Use `cloudflared tunnel run` to start tunnel %s", ref) + return fmt.Errorf("Use `cloudflared tunnel run` to start tunnel %s. If you are trying to start a TryCloudflare quick tunnel, the `config.yaml` file must not be present (consider temporarily renaming it).", ref) } // Unauthenticated named tunnel on ..com