New Shopify Certification now available: Liquid Storefronts for Theme Developers

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

Solved
hacun3jr
Shopify Partner
18 2 10

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
18 2 10

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

Replies 2 (2)
hacun3jr
Shopify Partner
18 2 10

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:

appdev2023
Shopify Partner
18 1 3

+1: Shopify please stop using Cloudflare as the default tunnel