Solved

Is it possible to use my own ngrok tunnel, skipping the flaky cloudflared?

den232
Shopify Partner
186 8 51

Using the latest CLI 3.50, today it is not possible to "npm run dev".   I get messages that are variants of this:

 

│ failed to request quick Tunnel: Post │
│ "https://api.trycloudflare.com/tunnel": context deadline exceeded │
│ (Client.Timeout exceeded while awaiting headers) │

 

---also like this:

 

failed to parse quick Tunnel ID: invalid UUID length: 0

---also like this:

14:50:10 │ webhooks │ App isn't responding yet, retrying in 5 seconds
14:50:12 │ web-frontend │ error when starting dev server:

 

 

Accepted Solution (1)

den232
Shopify Partner
186 8 51

This is an accepted solution.

In one of the variations, I was told to 

rmdir web\frontend\node_modules\.vite\deps

When I did this, all of a sudden, like magic, the app started up, using ngrok.   Great ... but what the heck?  What is that, why did I have to do it, will it work the next time I do a build?

 

Yikes!

View solution in original post

Replies 2 (2)

den232
Shopify Partner
186 8 51

This is an accepted solution.

In one of the variations, I was told to 

rmdir web\frontend\node_modules\.vite\deps

When I did this, all of a sudden, like magic, the app started up, using ngrok.   Great ... but what the heck?  What is that, why did I have to do it, will it work the next time I do a build?

 

Yikes!

den232
Shopify Partner
186 8 51

I marked that as a solution, but I would like to know those questions!  Thanks jb