cli icon indicating copy to clipboard operation
cli copied to clipboard

[Bug]: unable to get local issuer certificate

Open sasikiranreddy123 opened this issue 9 months ago • 2 comments

Please confirm that you have:

  • [x] 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.)
  • [x] Reproduced the issue in the latest CLI version.

In which of these areas are you experiencing a problem?

Extension

Expected behavior

it should actually run the app after command npm run dev.

Actual behavior

Image

Verbose output

NA

Reproduction steps

Operating System

windows11

Shopify CLI version (shopify --version)

3.75.0

Shell

No response

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

No response

What language and version are you using in your application?

No response

sasikiranreddy123 avatar Feb 08 '25 07:02 sasikiranreddy123

Any fixes to ths issue?

GinoPane avatar Mar 21 '25 21:03 GinoPane

Does this still happen or was just a temporary thing? if it still happens, do you use any kind of VPN?

isaacroldan avatar Apr 01 '25 11:04 isaacroldan

This issue seems inactive. If it's still relevant, please add a comment saying so. Otherwise, take no action. → If there's no activity within a week, then a bot will automatically close this. Thanks for helping to improve Shopify's dev tooling and experience.

P.S. You can learn more about why we stale issues here.

github-actions[bot] avatar May 14 '25 03:05 github-actions[bot]

I just got this error with shopify theme push --store=blahblahblah, after upgrading to @shopify/cli/3.80.1 darwin-arm64 node-v23.11.0 via homebrew.

╭─ error ────────────────────────────────────────────────────────────────────────────────────────────────╮
│                                                                                                        │
│  Unknown error connecting to your store blahblahblah.myshopify.com: request to                          │
│  https://blahblahblah.myshopify.com/admin/api/unstable/graphql.json failed, reason: unable to get       │
│  local issuer certificate                                                                              │
│                                                                                                        │
│  To investigate the issue, examine this stack trace:                                                   │
│    at fetchApiVersions (opt/homebrew/Cellar/shopify-cli/3.80.1/libexec/lib/node_modules/@shopify/cli/  │
│    dist/index.js:341962)                                                                               │
│    at processTicksAndRejections (node:internal/process/task_queues:105)                                │
│    at async supportedApiVersions (opt/homebrew/Cellar/shopify-cli/3.80.1/libexec/lib/node_modules/@sh  │
│    opify/cli/dist/index.js:341946)                                                                     │
│    at async fetchLatestSupportedApiVersion (opt/homebrew/Cellar/shopify-cli/3.80.1/libexec/lib/node_m  │
│    odules/@shopify/cli/dist/index.js:341942)                                                           │
│    at async adminRequestDoc (opt/homebrew/Cellar/shopify-cli/3.80.1/libexec/lib/node_modules/@shopify  │
│    /cli/dist/index.js:341922)                                                                          │
│    at async fetchThemes (opt/homebrew/Cellar/shopify-cli/3.80.1/libexec/lib/node_modules/@shopify/cli  │
│    /dist/index.js:342029)                                                                              │
│    at async fetchStoreThemes (opt/homebrew/Cellar/shopify-cli/3.80.1/libexec/lib/node_modules/@shopif  │
│    y/cli/dist/index.js:343953)                                                                         │
│    at async findOrSelectTheme (opt/homebrew/Cellar/shopify-cli/3.80.1/libexec/lib/node_modules/@shopi  │
│    fy/cli/dist/index.js:344014)                                                                        │
│    at async createOrSelectTheme (opt/homebrew/Cellar/shopify-cli/3.80.1/libexec/lib/node_modules/@sho  │
│    pify/cli/dist/index.js:347950)                                                                      │
│    at async push (opt/homebrew/Cellar/shopify-cli/3.80.1/libexec/lib/node_modules/@shopify/cli/dist/i  │
│    ndex.js:347864)                                                                                     │
│                                                                                                        │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────╯

anastis avatar May 20 '25 13:05 anastis

Same Issue after upgrading to Shopify-cli v3.80.1, I'm on a Mac

I tried to downgrade to v3.77.1, but I got the same. I installed shopify-cli with Homebrew and yarn, and I got the same error

error Request to https://xxxxxxxx.myshopify.com/password failed, reason: unable to get local issuer certificate

The password is right, this is happening with other stores that we have with password enabled

With a store without a password, when I open 127.0.0.1:9292 some images are not displayed, getting a 502 Bad Gateway

If I open the customizer, all images are fine, also using the preview mode.

padronpedro avatar May 20 '25 16:05 padronpedro

Closing in favour of #5858

shauns avatar May 21 '25 17:05 shauns