The operation was aborted error when using CLI

I have reproduced the issue on the latest CLI version.

Yes, I am on the latest version

I have searched existing posts and this report is not a duplicate.

Yes, this isn’t a duplicate

In which of these areas are you experiencing a problem?

App
Theme

Expected behavior

I should be able to run the dev command without issues.

Actual behavior

The request times out and shows the error “The operation was aborted.”.

The same happens when I try to run shopify auth login or shopify theme dev

Reproduction steps

Run shopify app dev in an extension only app.

Verbose output

> shopify app dev -c dev --verbose

2025-11-04T08:59:36.957Z: Checking if there's a version of @shopify/cli newer than 3.86.1
2025-11-04T08:59:36.958Z: Getting the latest version of NPM package: @shopify/cli
2025-11-04T08:59:36.973Z: Running command app dev
2025-11-04T08:59:36.978Z: Running system process in background:
  · Command: /home/djordje/.nvm/versions/node/v22.16.0/bin/node /home/djordje/.nvm/versions/node/v22.16.0/bin/shopify notifications list --ignore-errors
  · Working directory: /home/djordje/code/ap/veloretti-checkout-extensions

2025-11-04T08:59:36.987Z: Notifications to show: 0
2025-11-04T08:59:37.003Z: Reading cached app information for directory /home/djordje/code/ap/veloretti-checkout-extensions...
2025-11-04T08:59:37.004Z: Reading the content of file at shopify.app.dev.toml...
2025-11-04T08:59:37.008Z: Reading the content of file at shopify.app.dev.toml...
2025-11-04T08:59:37.010Z: Ensuring that the user is authenticated with the App Management API with the following scopes:
[]

2025-11-04T08:59:37.011Z: Getting session store...
2025-11-04T08:59:37.012Z: Getting current session ID...
2025-11-04T08:59:37.012Z: Validating existing session against the scopes:
[
  "openid",
  "https://api.shopify.com/auth/shop.admin.graphql",
  "https://api.shopify.com/auth/shop.admin.themes",
  "https://api.shopify.com/auth/partners.collaborator-relationships.readonly",
  "https://api.shopify.com/auth/shop.storefront-renderer.devtools",
  "https://api.shopify.com/auth/partners.app.cli.access",
  "https://api.shopify.com/auth/destinations.readonly",
  "https://api.shopify.com/auth/organization.store-management",
  "https://api.shopify.com/auth/organization.on-demand-user-access",
  "https://api.shopify.com/auth/organization.apps.manage"
]
For applications:
{
  "appManagementApi": {
    "scopes": []
  },
  "businessPlatformApi": {
    "scopes": []
  }
}

2025-11-04T08:59:37.013Z: - Token validation -> It's expired: true
2025-11-04T08:59:37.013Z: The current session is valid but needs refresh. Refreshing...
2025-11-04T08:59:37.013Z: Sending POST request to URL https://accounts.shopify.com/oauth/token?grant_type=refresh_token&access_token=atkn_CjQIs56iyAYQ09aiyAZSJggBEhAeS6MUknxN07-ZDKWwd3wYGhA2Uhcfg-FKhJpHKWlqYLxoEkA_nA7J8YGdQEuM3vr_awA-bLwW54hJTY-ZHV5P4D6_m7s6JQu_xTMqz2Y4n_FIfMXKfH_hGiHdgpZHMYb5_WcN&refresh_token=atkn_CiEIs56iyAYQs7jAyQaiARIKEDZSFx-D4UqEmkcpaWpgvGgSQLyVizCxBsZ-LDkPkNcwsq83zl9OllBjiZwGNkiESlkzbruXlkLGDLATATXFIaEjrwIK8ydsN72jm8GO0uaRPwE&client_id=fbdb2649-e327-4907-8f67-908d24cfd7e3
With request headers:


2025-11-04T09:00:07.017Z: Retrying request to https://accounts.shopify.com/oauth/token?grant_type=refresh_token&access_token=atkn_CjQIs56iyAYQ09aiyAZSJggBEhAeS6MUknxN07-ZDKWwd3wYGhA2Uhcfg-FKhJpHKWlqYLxoEkA_nA7J8YGdQEuM3vr_awA-bLwW54hJTY-ZHV5P4D6_m7s6JQu_xTMqz2Y4n_FIfMXKfH_hGiHdgpZHMYb5_WcN&refresh_token=atkn_CiEIs56iyAYQs7jAyQaiARIKEDZSFx-D4UqEmkcpaWpgvGgSQLyVizCxBsZ-LDkPkNcwsq83zl9OllBjiZwGNkiESlkzbruXlkLGDLATATXFIaEjrwIK8ydsN72jm8GO0uaRPwE&client_id=fbdb2649-e327-4907-8f67-908d24cfd7e3 due to network error AbortError2: The operation was aborted.
2025-11-04T09:00:07.017Z: Request to https://accounts.shopify.com/oauth/token?grant_type=refresh_token&access_token=atkn_CjQIs56iyAYQ09aiyAZSJggBEhAeS6MUknxN07-ZDKWwd3wYGhA2Uhcfg-FKhJpHKWlqYLxoEkA_nA7J8YGdQEuM3vr_awA-bLwW54hJTY-ZHV5P4D6_m7s6JQu_xTMqz2Y4n_FIfMXKfH_hGiHdgpZHMYb5_WcN&refresh_token=atkn_CiEIs56iyAYQs7jAyQaiARIKEDZSFx-D4UqEmkcpaWpgvGgSQLyVizCxBsZ-LDkPkNcwsq83zl9OllBjiZwGNkiESlkzbruXlkLGDLATATXFIaEjrwIK8ydsN72jm8GO0uaRPwE&client_id=fbdb2649-e327-4907-8f67-908d24cfd7e3 completed in 30003 ms
With response headers:

    
╭─ error ────────────────────────────────────────────────────────────────────────────────────────╮
│                                                                                                │
│  The operation was aborted.                                                                    │
│                                                                                                │
╰────────────────────────────────────────────────────────────────────────────────────────────────╯

2025-11-04T09:00:07.043Z: Running system process:
  · Command: npm prefix
  · Working directory: /home/djordje/code/ap/veloretti-checkout-extensions

2025-11-04T09:00:07.128Z: Obtaining the dependency manager in directory /home/djordje/code/ap/veloretti-checkout-extensions...
2025-11-04T09:00:07.213Z: Getting current session ID...
2025-11-04T09:00:07.215Z: Getting current session ID...
Error: Request Timeout
    at ClientRequest.<anonymous> (file:///home/djordje/.nvm/versions/node/v22.16.0/lib/node_modules/@shopify/cli/dist/chunk-A5RXDG36.js:14848:14)
    at Object.onceWrapper (node:events:632:28)
    at ClientRequest.emit (node:events:518:28)
    at ClientRequest.emit (node:domain:489:12)
    at TLSSocket.emitRequestTimeout (node:_http_client:863:9)
    at Object.onceWrapper (node:events:632:28)
    at TLSSocket.emit (node:events:530:35)
    at TLSSocket.emit (node:domain:489:12)
    at Socket._onTimeout (node:net:609:8)
    at listOnTimeout (node:internal/timers:588:17)

Operating system

Windows 11 on WSL2

CLI version

3.86.1

Shell

bash

Nodejs version

v22.16.0

Looks like this was a network issue on my end caused by Cloudflare WARP.

Exiting the app solved the issue.

1 Like