8000 [Bug]: Being signed out randomly on CLI 3.80.0 · Issue #5826 · Shopify/cli · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
[Bug]: Being signed out randomly on CLI 3.80.0 #5826
Closed
@keiraarts

Description

@keiraarts

Please confirm that you have:

  • Searched existing issues to see if your issue is a duplicate. (If you’ve found a duplicate issue, feel free to add additional information in a comment on it.)
  • Reproduced the issue in the latest CLI version.

In which of these areas are you experiencing a problem?

Extension

Expected behavior

On the latest version of the Shopify CLI, I am being signed out halfway through the process of uploading a large number of extensions. This happens at random, at various lengths of completion of my extension code, and there is no interactive prompt to sign-in after Shopify fails an authentication.

Actual behavior

On Shopify CLI version 3.75.4 I can not re-create the issue of being signed out randomly during deployment.
npm install -g @shopify/cli@3.75.4

Verbose output

Verbose output
successfully for extension: admin-product-block
21:23:25 │ customer-segment-edited-o │ Draft updated
successfully for extension: customer-segment-edited-orders

─────────────────────────────────────────────────────

› Press d │ toggle development store preview: ✔ on
› Press g │ open GraphiQL (Admin API) in your browser
› Press p │ preview in your browser
› Press q │ quit

Preview URL: https://therapeutic-everything-statement
-mc.trycloudflare.com/extensions/dev-console
GraphiQL URL: http://localhost:3457/graphiql

file:///Users/keiraclimson/.nvm/versions/node/v22.11.0/lib/node_modules/@shopify/cli/dist/index.js:218890
      if (!(a2 instanceof y)) throw a2;
                              ^

AbortError: The currently available CLI credentials are invalid.

2025-05-18T01:31:17.258Z: Request to https://partners.shopify.com/api/cli/graphql completed in 21365 ms
With response headers:
- content-type: text/html
  
╭─ error ───────────────────────────────────────────╮
│                                                   │
│                                                   │
│  The Partners GraphQL API responded               │
│  unsuccessfully with the HTTP status 502 and      │
│  errors:                                          │
│                                                   │
│  {}                                               │
│                                                   │
│                                                   │
╰───────────────────────────────────────────────────╯

error Command failed with exit code 1.

Reproduction steps

  1. Sign-in to the CLI on the latest version.
  2. Attempt to upload a 100 Shopify extensions which Shopify takes about 500ms per extension to upload.
  3. After 30-50 seconds you will be signed out at random.

Is there a limit for the authentication token and Shopify expires the token faster than it can upload all of the extensions?

Operating System

Mac OS

Shopify CLI version (shopify --version)

3.8.0

Shell

Bash

Node version (run node -v if you're not sure)

v22

What language and version are you using in your application?

Typescript

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: BugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0