Cloudflare Tunnel error: "Could not start Cloudflare tunnel, max retries reached."

Solved

Cloudflare Tunnel error: "Could not start Cloudflare tunnel, max retries reached."

hacun3jr
Shopify Partner
23 2 19

I haven't changed anything in my app code since yesterday and today when I try to do npm run dev i get the following error:

error 
│ Could not start Cloudflare tunnel, max retries reached. │
│ │
│ What to try: │
│ • Run the command again │
│ • Add the flag `--tunnel-url {URL}` to use a custom tunnel URL

I notice that cloudflare has some tunnel issues currently according to https://www.cloudflarestatus.com/, but I really need to work on my app. Is there a way to get around this or use an alternative?

Accepted Solution (1)

hacun3jr
Shopify Partner
23 2 19

This is an accepted solution.

As a workaround, you can manually create a tunnel with another provider and pass the URL. For example, with Ngrok:

View solution in original post

Reply 1 (1)

hacun3jr
Shopify Partner
23 2 19

This is an accepted solution.

As a workaround, you can manually create a tunnel with another provider and pass the URL. For example, with Ngrok: