Shopify CLI error when calling “npm run dev”

I was working on an app, but since yesterday I’ve suddenly started getting this error. Since then, I haven’t been able to run the dev server.

My internet connection is working fine, and I can log in through Shopify CLI without any issue. However, the dev server still fails with this error.

╭─ error ──────────────────────────────────────────────────────────────────────╮
│ │
│ Network error connecting to your store xxx.myshopify.com: request to │
https://xxx.myshopify.com/admin/api/unstable/graphql.json failed, │
│ reason: │
│ │
│ Check your internet connection and try again. │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯

Hey @dev-talha-anwar the error says REASON . (blank) ____ meaning the request is being blocked silently , not a real network issue . Try these fix

  1. use VPN — your ISP or region may be blocking Shopify API end point
  2. Switch network —try mobile hotspot instead of your current WIFI / ISP
  3. Run shopify auth logout ----> then shopify auth login to refresh tokens

try these options to fix your issue if it will then don’t forget to like and mark as solution on it

Try logging out and back in with shopify auth logout then shopify auth login. If that doesn’t work, switch to a different network or use a VPN your ISP might be blocking the API endpoint. Also, check if any firewall or antivirus is interfering.

Key clue the others skipped: your CLI auth works and only the call to your store’s admin API (xxx.myshopify.com/admin/api/unstable/graphql.json) is failing, with a blank reason. That tells you it’s not your tokens, so logout and login probably won’t help, and it’s not general internet, since auth hits Shopify’s accounts servers fine. A blank reason means the connection is dying at the TLS or socket layer before any HTTP response comes back, so it’s specifically the route to the myshopify.com admin host. Check these in order:

First, open https://xxx.myshopify.com/admin in a browser right now, because if the store is paused, frozen, or sitting behind a password or maintenance state, that’s your cause, not your machine.

Second, confirm your system clock is correct, since a skewed clock silently breaks the TLS handshake to myshopify.com and throws exactly this empty reason error.

Third, update the CLI (npm i @shopify/cli@latest, or your global install) and make sure Node is on a supported LTS like 20 or 22, as an outdated CLI or undici version throws blank reason socket failures to that endpoint. Only after those, try a hotspot or different network, since a firewall, proxy, or antivirus filtering the myshopify.com host specifically is the remaining suspect. Run npm run dev – --verbose to surface the underlying fetch error, that’ll point you to which one of these it is fast.


Hope that helps! If it did, a Like and Marking it as Solution goes a long way and helps others find the fix faster too.

Best,
Moeed

Here is some more context:

Everything was working fine before the Shopify services outage. Since the outage, this issue has started appearing.

I also tried running it on other devices. Sometimes it works on those devices, but other times they show the same error.

I also tried switching to a different Wi-Fi network, but that did not resolve the issue. I tried using a VPN as well, but the problem still remained.

I am able to open:

https://xxx.myshopify.com/admin

However, it has been very slow since the outage.

I also tried installing Shopify CLI globally and updating it to the latest version, but I am still facing the same problem.

My system clock is correct. I was using Node 24, which was working correctly before with the same setup. I also tried switching to Node 22, but I still get the same error.

here is full log of shopify app dev – --verbose

[email removed] shopify app dev --verbose
2026-06-09T11:37:16.919Z: Running command app dev
2026-06-09T11:37:16.923Z: Running system process in background:
· Command: /home/user/.config/FlyEnv/app/nodejs/v24.x/bin/node /home/user/.config/FlyEnv/env/node/bin/shopify notifications list --ignore-errors
· Working directory: /home/user/path/to/shopify-app

2026-06-09T11:37:16.928Z: Notifications to show: 0
2026-06-09T11:37:16.936Z: Reading the content of file at shopify.app.redacted.toml…
2026-06-09T11:37:16.936Z: Reading the content of file at shopify.app.redacted.toml…
2026-06-09T11:37:16.936Z: Reading the content of file at shopify.app.redacted.toml…
2026-06-09T11:37:16.936Z: Reading the content of file at shopify.app.toml…
2026-06-09T11:37:16.936Z: Reading the content of file at shopify.app.redacted.toml…
2026-06-09T11:37:16.939Z: Reading the content of file at extensions/redacted-extension/shopify.extension.toml…
2026-06-09T11:37:16.939Z: Reading the content of file at extensions/redacted-extension/shopify.extension.toml…
2026-06-09T11:37:16.941Z: Reading the content of file at web/shopify.web.toml…
2026-06-09T11:37:16.941Z: Reading the content of file at web/frontend/shopify.web.toml…
2026-06-09T11:37:16.941Z: Looking for a lockfile in /home/user/path/to/shopify-app…
2026-06-09T11:37:16.941Z: Reading the content of file at package.json…
2026-06-09T11:37:16.941Z: Reading the content of file at package.json…
2026-06-09T11:37:16.942Z: Reading the .env file at .env
2026-06-09T11:37:16.942Z: Reading the content of file at .env…
2026-06-09T11:37:16.942Z: Reading the content of file at .shopify/project.json…
2026-06-09T11:37:16.942Z: Reading cached app information for directory /home/user/path/to/shopify-app…
2026-06-09T11:37:16.943Z: Ensuring that the user is authenticated with the App Management API with the following scopes:

2026-06-09T11:37:16.943Z: Getting session store…
2026-06-09T11:37:16.943Z: Getting current session ID…
2026-06-09T11:37:16.944Z: Validating existing session against the scopes:
[
“openid”,
“[URL_REMOVED]”,
“[URL_REMOVED]”,
“[URL_REMOVED]”,
“[URL_REMOVED]”,
“[URL_REMOVED]”,
“[URL_REMOVED]”,
“[URL_REMOVED]”,
“[URL_REMOVED]”,
“[URL_REMOVED]”
]
For applications:
{
“appManagementApi”: {
“scopes”:
},
“businessPlatformApi”: {
“scopes”:
}
}

2026-06-09T11:37:16.944Z: - Token validation → It’s expired: false
2026-06-09T11:37:16.945Z: Sending “BusinessPlatform” GraphQL request:
query UserInfo {
currentUserAccount {
uuid
email
organizations(first: 2) {
nodes {
name
__typename
}
__typename
}
__typename
}
}

With request headers:

  • User-Agent: Shopify CLI; v=4.1.0
  • Keep-Alive: timeout=30
  • Sec-CH-UA-PLATFORM: linux
  • Content-Type: application/json

to [URL_REMOVED]
2026-06-09T11:37:16.950Z: Sending “App Management” GraphQL request:
query ActiveAppReleaseFromApiKey($apiKey: String!) {
app: appByKey(key: $apiKey) {
…AppVersionInfo
__typename
}
}

fragment ReleasedAppModule on AppModule {
uuid
userIdentifier
handle
config
target
specification {
identifier
externalIdentifier
name
experience
managementExperience
}
}

fragment AppVersionInfo on App {
id
key
organizationId
activeRoot {
clientCredentials {
secrets {
key
}
}
grantedShopifyApprovalScopes
}
activeRelease {
id
version {
name
appModules {
…ReleasedAppModule
}
}
}
}

With variables:
{
“apiKey”: “REDACTED_API_KEY”
}

With request headers:

  • User-Agent: Shopify CLI; v=4.1.0
  • Keep-Alive: timeout=30
  • Sec-CH-UA-PLATFORM: linux
  • Content-Type: application/json

to [URL_REMOVED]
2026-06-09T11:37:18.014Z: Request to [URL_REMOVED] completed in 1065 ms
With response headers:

  • content-type: application/json; charset=utf-8
  • server-timing: processing;dur=203, verdict_flag_enabled;desc=“count=2”;dur=0.141, _y;desc=“REDACTED_UUID”, _s;desc=“REDACTED_UUID”
  • x-request-id: REDACTED_UUID

2026-06-09T11:37:18.016Z: Sending “BusinessPlatform” GraphQL request:
query FindOrganizations($organizationId: OrganizationID!) {
currentUserAccount {
organization(id: $organizationId) {
id
name
__typename
}
__typename
}
}

With variables:
{
“organizationId”: “gid://organization/Organization/REDACTED_ORG_ID=”
}

With request headers:

  • User-Agent: Shopify CLI; v=4.1.0
  • Keep-Alive: timeout=30
  • Sec-CH-UA-PLATFORM: linux
  • Content-Type: application/json

to [URL_REMOVED]
2026-06-09T11:37:18.020Z: Sending “App Management” GraphQL request:
query fetchSpecifications($organizationId: ID!) {
specifications(organizationId: $organizationId) {
name
identifier
externalIdentifier
experience
features
uidStrategy {
__typename
appModuleLimit
isClientProvided
}
validationSchema {
jsonSchema
__typename
}
__typename
}
}

With variables:
{
“organizationId”: “gid://shopify/Organization/REDACTED_ORG_ID”
}

With request headers:

  • User-Agent: Shopify CLI; v=4.1.0
  • Keep-Alive: timeout=30
  • Sec-CH-UA-PLATFORM: linux
  • Content-Type: application/json

to [URL_REMOVED]
2026-06-09T11:37:19.546Z: Request to [URL_REMOVED] completed in 1526 ms
With response headers:

  • content-type: application/json; charset=utf-8
  • server-timing: processing;dur=561, verdict_flag_enabled;desc=“count=7”;dur=0.448, _y;desc=“REDACTED_UUID”, _s;desc=“REDACTED_UUID”
  • x-request-id: REDACTED_UUID

2026-06-09T11:37:19.553Z: The following extension specifications were defined locally but not found in the remote specifications: order_attribution_config, tax_calculation
2026-06-09T11:37:19.553Z: The following extension specifications were found in the remote specifications but not defined locally: admin_app
2026-06-09T11:37:19.553Z: Reading the content of file at .gitignore…
2026-06-09T11:37:19.737Z: Notifications to show: 0
2026-06-09T11:37:19.738Z: Reading cached app information for directory /home/user/path/to/shopify-app…
2026-06-09T11:37:19.738Z: Storing app information for directory /home/user/path/to/shopify-app:{
“appId”: “REDACTED_HASH”,
“title”: “redacted-app-title”,
“directory”: “/home/user/path/to/shopify-app”,
“orgId”: “REDACTED_ORG_ID”
}
2026-06-09T11:37:19.740Z: Sending “BusinessPlatform” GraphQL request:
query FetchStoreByDomain($domain: String, $filters: [ShopFilterInput!]) {
organization {
id
name
accessibleShops(filters: $filters, search: $domain) {
edges {
node {
id
externalId
name
storeType
primaryDomain
shortName
url
__typename
}
__typename
}
__typename
}
currentUser {
organizationPermissions
__typename
}
__typename
}
}

With variables:
{
“domain”: “[SHOP_DOMAIN_REMOVED]”,
“filters”: [
{
“field”: “STORE_TYPE”,
“operator”: “EQUALS”,
“value”: “app_development”
},
{
“field”: “STORE_STATUS”,
“operator”: “EQUALS”,
“value”: “ACTIVE”
}
]
}

With request headers:

  • User-Agent: Shopify CLI; v=4.1.0
  • Keep-Alive: timeout=30
  • Sec-CH-UA-PLATFORM: linux
  • Content-Type: application/json

to [URL_REMOVED]
2026-06-09T11:37:22.118Z: Request to [URL_REMOVED] completed in 2377 ms
With response headers:

  • cache-control: max-age=0, private, must-revalidate
  • content-type: application/json; charset=utf-8
  • etag: W/“REDACTED_HASH”
  • server-timing: processing;dur=152, socket_queue;dur=3.2, util;dur=0.08
  • x-request-id: REDACTED_UUID

2026-06-09T11:37:22.118Z: Sending “BusinessPlatform” GraphQL request:
mutation ProvisionShopAccess($input: OrganizationUserProvisionShopAccessInput!) {
organizationUserProvisionShopAccess(
organizationUserProvisionShopAccessInput: $input
) {
success
userErrors {
message
__typename
}
__typename
}
}

With variables:
{
“input”: {
“shopifyShopId”: “gid://organization/ShopifyShop/REDACTED_SHOP_ID”
}
}

With request headers:

  • User-Agent: Shopify CLI; v=4.1.0
  • Keep-Alive: timeout=30
  • Sec-CH-UA-PLATFORM: linux
  • Content-Type: application/json

to [URL_REMOVED]
2026-06-09T11:37:26.769Z: Request to [URL_REMOVED] completed in 4651 ms
With response headers:

  • cache-control: max-age=0, private, must-revalidate
  • content-type: application/json; charset=utf-8
  • etag: W/“REDACTED_HASH”
  • server-timing: processing;dur=43, socket_queue;dur=2.848, util;dur=0.24
  • x-request-id: REDACTED_UUID

2026-06-09T11:37:26.770Z: Getting a random port…
2026-06-09T11:37:26.771Z: Random port obtained: 43553
2026-06-09T11:37:26.783Z: cloudflared already installed, skipping
2026-06-09T11:37:26.786Z: Running system process:
· Command: /home/user/.config/FlyEnv/app/nodejs/v24.x/lib/node_modules/@shopify/cli/bin/cloudflared tunnel --url [URL_REMOVED] --no-autoupdate
· Working directory: /home/user/path/to/shopify-app

2026-06-09T11:37:26.791Z: Sending “App Management” GraphQL request:
query ActiveAppReleaseFromApiKey($apiKey: String!) {
app: appByKey(key: $apiKey) {
…AppVersionInfo
__typename
}
}

fragment ReleasedAppModule on AppModule {
uuid
userIdentifier
handle
config
target
specification {
identifier
externalIdentifier
name
experience
managementExperience
}
}

fragment AppVersionInfo on App {
id
key
organizationId
activeRoot {
clientCredentials {
secrets {
key
}
}
grantedShopifyApprovalScopes
}
activeRelease {
id
version {
name
appModules {
…ReleasedAppModule
}
}
}
}

With variables:
{
“apiKey”: “REDACTED_API_KEY”
}

With request headers:

  • User-Agent: Shopify CLI; v=4.1.0
  • Keep-Alive: timeout=30
  • Sec-CH-UA-PLATFORM: linux
  • Content-Type: application/json

to [URL_REMOVED]
2026-06-09T11:37:26.791Z: 2026-06-09T11:37:26Z INF Thank you for trying Cloudflare Tunnel. Doing so, without a Cloudflare account, is a quick way to experiment and try it out. However, be aware that these account-less Tunnels have no uptime guarantee. If you intend to use Tunnels in production you should use a pre-created named tunnel by following: [URL_REMOVED]
2026-06-09T11:37:26Z INF Requesting new quick Tunnel on [TUNNEL_DOMAIN_REMOVED]…

2026-06-09T11:37:27.636Z: Request to [URL_REMOVED] completed in 845 ms
With response headers:

  • content-type: application/json; charset=utf-8
  • server-timing: processing;dur=106, verdict_flag_enabled;desc=“count=2”;dur=0.112, _y;desc=“REDACTED_UUID”, _s;desc=“REDACTED_UUID”
  • x-request-id: REDACTED_UUID

2026-06-09T11:37:27.638Z: Reading cached app information for directory /home/user/path/to/shopify-app…
╭─ info ───────────────────────────────────────────────────────────────────────╮
│ │
│ Using shopify.app.redacted.toml for default values: │
│ │
│ • Org: development │
│ • App: redacted-app-title│
│ • Dev store: [SHOP_DOMAIN_REMOVED] │
│ • Update URLs: Yes │
│ │
│ You can pass --reset to your command to reset your app configuration. │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯

2026-06-09T11:37:27.663Z: Port 3457 is free
2026-06-09T11:37:27.663Z: Polling tunnel status for cloudflare (attempt 0): starting
2026-06-09T11:37:27.663Z: Getting a random port…
2026-06-09T11:37:27.664Z: Random port obtained: 35721
2026-06-09T11:37:28.164Z: Polling tunnel status for cloudflare (attempt 1): starting
2026-06-09T11:37:28.664Z: Polling tunnel status for cloudflare (attempt 2): starting
2026-06-09T11:37:29.165Z: Polling tunnel status for cloudflare (attempt 3): starting
2026-06-09T11:37:29.665Z: Polling tunnel status for cloudflare (attempt 4): starting
2026-06-09T11:37:30.166Z: Polling tunnel status for cloudflare (attempt 5): starting
2026-06-09T11:37:30.667Z: Polling tunnel status for cloudflare (attempt 6): starting
2026-06-09T11:37:31.167Z: Polling tunnel status for cloudflare (attempt 7): starting
2026-06-09T11:37:31.668Z: Polling tunnel status for cloudflare (attempt 8): starting
2026-06-09T11:37:32.101Z: 2026-06-09T11:37:32Z INF ±-------------------------------------------------------------------------------------------+
2026-06-09T11:37:32Z INF | Your quick Tunnel has been created! Visit it at (it may take some time to be reachable): |
2026-06-09T11:37:32Z INF | [URL_REMOVED] |
2026-06-09T11:37:32Z INF ±-------------------------------------------------------------------------------------------+

2026-06-09T11:37:32.102Z: 2026-06-09T11:37:32Z INF Cannot determine default configuration path. No file [config.yml config.yaml] in [~/.cloudflared ~/.cloudflare-warp ~/cloudflare-warp /etc/cloudflared /usr/local/etc/cloudflared]
2026-06-09T11:37:32Z INF Version 2024.8.2
2026-06-09T11:37:32Z INF GOOS: linux, GOVersion: go1.22.2, GoArch: amd64
2026-06-09T11:37:32Z INF Settings: map[ha-connections:1 no-autoupdate:true protocol:quic url:[URL_REMOVED]

2026-06-09T11:37:32.102Z: 2026-06-09T11:37:32Z INF Generated Connector ID: REDACTED_UUID

2026-06-09T11:37:32.168Z: Polling tunnel status for cloudflare (attempt 9): starting
2026-06-09T11:37:32.365Z: 2026-06-09T11:37:32Z INF Initial protocol quic

2026-06-09T11:37:32.365Z: 2026-06-09T11:37:32Z INF ICMP proxy will use REDACTED_PRIVATE_IP as source for IPv4

2026-06-09T11:37:32.366Z: 2026-06-09T11:37:32Z INF ICMP proxy will use fe80::c93:a582:e86f:8ae3 in zone enp3s0 as source for IPv6

2026-06-09T11:37:32.366Z: 2026-06-09T11:37:32Z WRN The user running cloudflared process has a GID (group ID) that is not within ping_group_range. You might need to add that user to a group within that range, or instead update the range to encompass a group the user is already in by modifying /proc/sys/net/ipv4/ping_group_range. Otherwise cloudflared will not be able to ping this network error=“Group ID 1000 is not between ping group 1 to 0”

2026-06-09T11:37:32.366Z: 2026-06-09T11:37:32Z WRN ICMP proxy feature is disabled error=“cannot create ICMPv4 proxy: Group ID 1000 is not between ping group 1 to 0 nor ICMPv6 proxy: socket: permission denied”

2026-06-09T11:37:32.501Z: 2026-06-09T11:37:32Z INF Starting metrics server on 127.0.0.1:46259/metrics

2026-06-09T11:37:32.502Z: 2026/06/09 16:37:32 failed to sufficiently increase receive buffer size (was: 208 kiB, wanted: 7168 kiB, got: 416 kiB). See [URL_REMOVED] for details.

2026-06-09T11:37:32.669Z: Polling tunnel status for cloudflare (attempt 10): starting
2026-06-09T11:37:32.962Z: 2026-06-09T11:37:32Z INF Registered tunnel connection connIndex=0 connection=REDACTED_UUID event=0 ip=REDACTED_PUBLIC_IP location=khi01 protocol=quic

2026-06-09T11:37:33.092Z: 2026-06-09T11:37:33Z WRN Your version 2024.8.2 is outdated. We recommend upgrading it to 2026.6.0

2026-06-09T11:37:33.170Z: Polling tunnel status for cloudflare (attempt 11): connected
2026-06-09T11:37:33.170Z: Getting a random port…
2026-06-09T11:37:33.170Z: Random port obtained: 41079
2026-06-09T11:37:33.170Z: Reading cached app information for directory /home/user/path/to/shopify-app…
2026-06-09T11:37:33.174Z: Sending “App Management” GraphQL request:
query ActiveAppReleaseFromApiKey($apiKey: String!) {
app: appByKey(key: $apiKey) {
…AppVersionInfo
__typename
}
}

fragment ReleasedAppModule on AppModule {
uuid
userIdentifier
handle
config
target
specification {
identifier
externalIdentifier
name
experience
managementExperience
}
}

fragment AppVersionInfo on App {
id
key
organizationId
activeRoot {
clientCredentials {
secrets {
key
}
}
grantedShopifyApprovalScopes
}
activeRelease {
id
version {
name
appModules {
…ReleasedAppModule
}
}
}
}

With variables:
{
“apiKey”: “REDACTED_API_KEY”
}

With request headers:

  • User-Agent: Shopify CLI; v=4.1.0
  • Keep-Alive: timeout=30
  • Sec-CH-UA-PLATFORM: linux
  • Content-Type: application/json

to [URL_REMOVED]
2026-06-09T11:37:35.414Z: Request to [URL_REMOVED] completed in 2239 ms
With response headers:

  • content-type: application/json; charset=utf-8
  • server-timing: processing;dur=162, verdict_flag_enabled;desc=“count=2”;dur=0.124, _y;desc=“REDACTED_UUID”, _s;desc=“REDACTED_UUID”
  • x-request-id: REDACTED_UUID

2026-06-09T11:37:35.416Z: Reading the content of file at shopify.app.redacted.toml…
2026-06-09T11:37:35.416Z: Reading the content of file at shopify.app.redacted.toml…
2026-06-09T11:37:35.416Z: Reading the content of file at shopify.app.redacted.toml…
2026-06-09T11:37:35.416Z: Reading the content of file at shopify.app.redacted.toml…
2026-06-09T11:37:35.416Z: Reading the content of file at shopify.app.toml…
2026-06-09T11:37:35.417Z: Reading the content of file at extensions/redacted-extension/shopify.extension.toml…
2026-06-09T11:37:35.417Z: Reading the content of file at extensions/redacted-extension/shopify.extension.toml…
2026-06-09T11:37:35.419Z: Reading the content of file at web/shopify.web.toml…
2026-06-09T11:37:35.419Z: Reading the content of file at web/frontend/shopify.web.toml…
2026-06-09T11:37:35.419Z: Looking for a lockfile in /home/user/path/to/shopify-app…
2026-06-09T11:37:35.419Z: Reading the content of file at package.json…
2026-06-09T11:37:35.419Z: Reading the content of file at package.json…
2026-06-09T11:37:35.419Z: Reading the .env file at .env
2026-06-09T11:37:35.419Z: Reading the content of file at .env…
2026-06-09T11:37:35.420Z: Reading the content of file at .shopify/project.json…
2026-06-09T11:37:35.420Z: Reading cached app information for directory /home/user/path/to/shopify-app…
2026-06-09T11:37:35.420Z: Reading the content of file at .gitignore…
2026-06-09T11:37:35.422Z: Notifications to show: 0
2026-06-09T11:37:35.422Z: Ensuring that the user is authenticated with the Admin API with the following scopes for the store [SHOP_DOMAIN_REMOVED]:

2026-06-09T11:37:35.422Z: Getting session store…
2026-06-09T11:37:35.423Z: Getting current session ID…
2026-06-09T11:37:35.423Z: Validating existing session against the scopes:
[
“openid”,
“[URL_REMOVED]”,
“[URL_REMOVED]”,
“[URL_REMOVED]”,
“[URL_REMOVED]”,
“[URL_REMOVED]”,
“[URL_REMOVED]”,
“[URL_REMOVED]”,
“[URL_REMOVED]”,
“[URL_REMOVED]”
]
For applications:
{
“adminApi”: {
“scopes”: ,
“storeFqdn”: “[SHOP_DOMAIN_REMOVED]”
}
}

2026-06-09T11:37:35.423Z: - Token validation → It’s expired: false
2026-06-09T11:37:35.423Z: Sending “Admin” GraphQL request:
query publicApiVersions {
publicApiVersions {
handle
supported
__typename
}
}

With variables:
{}

With request headers:

  • User-Agent: Shopify CLI; v=4.1.0
  • Keep-Alive: timeout=30
  • Sec-CH-UA-PLATFORM: linux
  • Content-Type: application/json

to [URL_REMOVED]
2026-06-09T11:37:35.815Z: Retrying request to [URL_REMOVED] due to network error FetchError: request to [URL_REMOVED] failed, reason:
2026-06-09T11:37:36.368Z: Retrying request to [URL_REMOVED] due to network error FetchError: request to [URL_REMOVED] failed, reason:
2026-06-09T11:37:37.221Z: Retrying request to [URL_REMOVED] due to network error FetchError: request to [URL_REMOVED] failed, reason:
2026-06-09T11:37:38.673Z: Retrying request to [URL_REMOVED] due to network error FetchError: request to [URL_REMOVED] failed, reason:
2026-06-09T11:37:41.325Z: Retrying request to [URL_REMOVED] due to network error FetchError: request to [URL_REMOVED] failed, reason:
2026-06-09T11:37:44.910Z: Retrying request to [URL_REMOVED] due to network error FetchError: request to [URL_REMOVED] failed, reason:
2026-06-09T11:37:44.910Z: Request to [URL_REMOVED] completed in 9487 ms
With response headers:

╭─ error ──────────────────────────────────────────────────────────────────────╮
│ │
│ Network error connecting to your store [SHOP_DOMAIN_REMOVED]: request to │
│ [URL_REMOVED] failed, │
│ reason: │
│ │
│ Check your internet connection and try again. │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯

2026-06-09T11:37:44.917Z: Looking for a lockfile in /home/user/path/to/shopify-app…
2026-06-09T11:37:45.552Z: Request to [URL_REMOVED] completed in 631 ms
With response headers:

  • x-request-id: REDACTED_UUID

2026-06-09T11:37:45.552Z: Analytics event sent: {
“command”: “app dev”,
“time_start”: 1781005036920,
“time_end”: 1781005064914,
“total_time”: 27994,
“success”: false,
“cli_version”: “4.1.0”,
“ruby_version”: “”,
“node_version”: “24.0.2”,
“is_employee”: false,
“uname”: “linux amd64”,
“env_ci”: false,
“env_plugin_installed_any_custom”: false,
“env_plugin_installed_shopify”: “[”@shopify/cli"]",
“env_shell”: “bash”,
“env_device_id”: “REDACTED_HASH”,
“env_cloud”: “localhost”,
“env_package_manager”: “npm”,
“env_install_package_manager”: “npm”,
“env_is_global”: true,
“env_auth_method”: “device_auth”,
“env_is_wsl”: false,
“env_build_repository”: “Shopify/cli”,
“env_auto_upgrade_enabled”: true,
“cmd_app_warning_api_key_deprecation_displayed”: false,
“cmd_all_timing_network_ms”: 22191,
“cmd_all_timing_prompts_ms”: 0,
“cmd_all_launcher”: “unknown”,
“cmd_all_topic”: “app”,
“cmd_all_plugin”: “@shopify/cli”,
“cmd_all_verbose”: true,
“cmd_all_path_override”: true,
“cmd_all_path_override_hash”: “REDACTED_HASH”,
“cmd_app_dependency_installation_skipped”: false,
“cmd_app_reset_used”: false,
“cmd_dev_tunnel_type”: “auto”,
“cmd_all_last_graphql_request_id”: “REDACTED_UUID”,
“cmd_all_timing_active_ms”: 5802,
“cmd_all_exit”: “expected_error”,
“user_id”: “REDACTED_UUID”,
“request_ids”: [
“REDACTED_UUID”,
“REDACTED_UUID”,
“REDACTED_UUID”,
“REDACTED_UUID”,
“REDACTED_UUID”,
“REDACTED_UUID”
],
“args”: “–verbose”,
“error_message”: “Network error connecting to your store [SHOP_DOMAIN_REMOVED]: request to [URL_REMOVED] failed, reason: “,
“env_plugin_installed_all”: “[”@shopify/cli”]”,
“env_shopify_variables”: “{}”,
“metadata”: “{“extraPublic”:{},“extraSensitive”:{}}”
}
2026-06-09T11:37:45.552Z: Skipping Bugsnag report for expected error

Update: I tested it today, and it randomly started working again. However, after about two hours, the issue came back.

Now, when I run npm run dev, it opens the login page, but the login does not work properly. Sometimes it asks for login credentials, and other times it just keeps loading and eventually shows a blank page.

This may be related to Shopify, because all Shopify stores seem to be very slow and laggy right now, taking much longer to load than usual. Previously, everything was working fine.