Hello, recently I’ve encountered an issue with Shopify CLI. Running commands such as login
, app dev
, app init
started to fail out of the blue. The most confusing aspect of this that the issue is inconsistent. For example:
Running shopify app dev
most commonly fails with The user aborted a request.
. I’ve found that other developers encountered this and it was because of the newly introduced timeout. I’ve tried downgrading to 3.70.0
and upgrading to the latest 3.80.7
yet the issue persisted. Manually upping the timeout resulted in a failed request to https://accounts.shopify.com/oauth/token
due to a timeout, which is new too.
Yet sometimes, after re-installing dependencies or clearing caches of multiple contexts the timeout does not occur and and the login prompt pops up. After completing login process in the browser page the process fails either before a confirmation of logging in with The operation was aborted.
or Unable to authenticate with Shopify. Please report this issue.
, or after logging in with The user aborted a request.
The setup is just the default stack of Remix. The project is pretty plain. I’ve tried checking the port availability, flushing caches, including DNS, not using a VPN, re-installing dependencies, multiple CLI versions. --verbose
flag does not show much.
I’ve tried to reproduce it in a fresh project but the init
command fails too.
Thank you for your time.