Questions and discussions about using the Shopify CLI and Shopify-built libraries.
I'm currently developing a public app on my local system, and everything was running smoothly. However, I recently encountered an error, which is illustrated in this screenshot: https://prnt.sc/tq_qCVNfm5AT. I've attempted various troubleshooting approaches, including updating both Node and the Shopify CLI to their latest versions, as indicated in the screenshot. Unfortunately, these efforts have not resolved the issue. I've also changed my ngrok account, but the problem persists. I would greatly appreciate a prompt solution to this matter.
Same here, it looks like Cloudflare's having an incident right now: https://www.cloudflarestatus.com/incidents/hm7491k53ppg
Any solution for that? We just cant work on our apps now?
Best we escalate through Shopify Partner support.
I found this : https://github.com/Shopify/cli/issues/3060#issuecomment-1792161672
I think im close to makining it work, i will update, you should try as well, terns out you can map ports with vscode
This seems like some kind of a rate limit issue to me, on Cloudflare's end, because it'll be working fine, and then all of the sudden will stop working. Generally seems to happen after restarting the dev server several times. I've been trying to debug an issue with the dev server not connecting to the store, so I've been restarting it a lot.
- Used `shopify run dev` in multiple projects, and each time would get `Could not start Cloudflare tunnel: max retries reached.`
- Switched on a VPN, `shopify run dev` would work correctly
- Switched off VPN, `Could not start Cloudflare tunnel: max retries reached.`
I am using this workaround: https://community.shopify.com/c/shopify-apps/cloudflare-tunnel-error-quot-could-not-start-cloudflare...
Agreed, we have had the same issue and upon a lot of retry, it still gives the same error. Could not understand the issue as it just tells you to retry the command or use a custom tunnel, a more detailed message would be much more helpful.
However, I could not find the rate limits anywhere. So, still, ngrok would be the only option to alternatively work on this.
There's also Cloudflare's tunnel (https://developers.cloudflare.com/pages/how-to/preview-with-cloudflare-tunnel/). Shopify's CLI does some kind of auth to create a tunnel, which can then end up in this rate limited state.
If you create a Cloudflare tunnel yourself and then use it manually like you would `ngrok` that works though.