Shopify CLI command timeouts and errors

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.

Hi! I’m sorry that you are having those issues.

We are going to release soon a new version that should improve some authentication issues. Could you please try with the latest nightly version? You can install it with npm i -g @shopify/cli@nightly

Hi, thank you for a quick response.

I’ve tried out the nightly version of 0.0.0-nightly-20250611104445. It did seem that it is working better at start, but after testing for some time I’m still not able continue with the project. I’m still getting timeouts, and such errors most the of time, with a tiny amount of successes if I keep re-trying the commands.

Since it’s not version specific, I keep thinking maybe there is something that I’m overlooking that is tied not with the CLI in itself, maybe it’s something with my account or something else? I’m quite new to this so any suggestion would be appreciated.

In the meantime, I’ll keep trying to get some useful information.

Thank you for your time nonetheless.

I think this is related to Shopify CLI Repeatedly Requires Authentication, Frequent Logouts and 2FA Prompts (v3.80.7) - #3 by Ayush

It does seem so, even if I manage to somehow start up the development server, I get booted out pretty quickly. I guess the difference is that getting authenticated at all is a rare occasion.