All things Shopify and commerce
I am currently experiencing an issue with a Shopify app I have developed. The app is continuously refreshing, and I have identified the following error in the console:WebSocket connection to 'wss://kai-application-candidates-yeast.trycloudflare.com/' failed: setupWebSocketDespite creating a new app, the issue persists. I have ensured that all configurations are correctly set up, but the problem continues to affect the app's functionality.Could any body please assist me in identifying the root cause of this issue and provide guidance on how to resolve it? Your help in this matter would be greatly appreciated.
Solved! Go to the solution
This is an accepted solution.
This is an accepted solution.
This is an accepted solution.
It seems it's working now, using standard Cloudflare tunnel, not ngrok.
This is an accepted solution.
Hi folks,
I have a solution for this issue. If you're experiencing continuous refreshing of your app and encountering WebSocket connection errors like "WebSocket connection to 'wss://kai-application-candidates-yeast.trycloudflare.com/' failed: setupWebSocket," ensure that your toml file and ".env" file have consistent credentials. This issue can often occur due to mismatched credentials between these files. Refreshing your app may resolve the issue temporarily, but syncing the credentials in both files should provide a more permanent fix.
Hope this helps!
Yes facing the same issue since this morning ...............
"I've been dealing with the same issue since this morning as well. It's been quite frustrating any updates or solutions yet?
I also facing same issue since morning did you find any solution ?
Tried to clear cache and cookies, restart dev server etc, nothing helps. The app page keeps refreshing all the time showing Websocket connection failed for cloudflare app URL.
I applied this solution but in my case this is not working. But thanks for solution.
Has anyone resolved this issue?
Wrong thread, Post it as a new comment.
I am still facing
It is an issue that needs to be resolved urgently. We expect very fast support.
I'm experiencing the same issue since yesterday. Looking for a solution.
I encountered this issue yesterday, but after clearing my browser cache, my project started working again without any problems. Everything was running smoothly until this morning when the issue resurfaced. I tried several solutions, but unfortunately, none of them worked this time.
Same thing here, dev team wasted many hours already
same
Same problem here.....
This is an accepted solution.
Temporary Solution for this
https://community.shopify.com/c/extensions/my-app-suddenly-can-t-find-extensions-in-app-preview/m-p/...
This is an accepted solution.
run
shopify auth logout
and then try again.
This is an accepted solution.
It seems it's working now, using standard Cloudflare tunnel, not ngrok.
This is an accepted solution.
Hi folks,
I have a solution for this issue. If you're experiencing continuous refreshing of your app and encountering WebSocket connection errors like "WebSocket connection to 'wss://kai-application-candidates-yeast.trycloudflare.com/' failed: setupWebSocket," ensure that your toml file and ".env" file have consistent credentials. This issue can often occur due to mismatched credentials between these files. Refreshing your app may resolve the issue temporarily, but syncing the credentials in both files should provide a more permanent fix.
Hope this helps!
We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024The Hydrogen Visual Editor is now available to merchants in Shopify Editions | Summer '...
By JasonH Sep 2, 2024