Related to shopify app Error refused to connect.

areesha
Shopify Partner
3 0 0

I am facing an issue that wasn't occurring before but is now happening. When using the Shopify CLI, I'm getting the error message 'alphabetical-liability-invite-artists.trycloudflare.com refused to connect.' Additionally, in the console, I'm seeing the error 'Error forwarding web request: Error: connect ECONNREFUSED ::1:49643.'

I have checked the port, and it's free. Previously, the issue was due to the port, but now I'm not sure why it's causing a problem. Please, could you kindly assist in resolving this issue as soon as possible? My work is being delayed because of this. Thank you for your cooperation

Replies 5 (5)

SomeUsernameHe
Shopify Partner
455 49 83

Could I get a little more info on this issue? What are you doing with the Shopify CLI when you get this error?

Have I helped? Consider putting coffee in my mouth!
Buy Me a Coffee
areesha
Shopify Partner
3 0 0

I'm developing a Shopify app, and I'm encountering an issue. I'm working on Remix. 

areesha
Shopify Partner
3 0 0

I get this error while running the command "npm run dev"

SomeUsernameHe
Shopify Partner
455 49 83

Here are a few general troubleshooting steps you can consider:

  1. Ensure that your Shopify CLI is updated to the latest version.
  2. Try logging out and then logging back in using the Shopify CLI to refresh your authentication.
  3. Check if your development environment meets all the necessary requirements for the Shopify CLI.
  4. If the issue started after updating to a new version, look for any known issues in the release notes or consider temporarily downgrading to a previous stable version if feasible.

Given the variability of these issues, if the problem persists, I would recommend reaching out to Shopify support

Have I helped? Consider putting coffee in my mouth!
Buy Me a Coffee
SomeUsernameHe
Shopify Partner
455 49 83

I would also try running the command "npm run dev --reset" to reset the connection. Make sure when you reconnect that you choose yes to update URLs.

Have I helped? Consider putting coffee in my mouth!
Buy Me a Coffee