Solved

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

hacun3jr
Shopify Partner
23 2 18

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 18

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 3 (3)

hacun3jr
Shopify Partner
23 2 18

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:

yishun
Shopify Partner
3 0 1

Seems to be causing the connection to fail

微信图片_20240326183320.png

appdev2023
Shopify Partner
20 2 3

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