Shopify / cli

Build apps, themes, and hydrogen storefronts for Shopify
https://shopify.dev
MIT License
427 stars 130 forks source link

[Bug]: Failed to find a valid digest in the 'integrity' attribute for resource #1858

Closed ineptian closed 1 year ago

ineptian commented 1 year ago

Please confirm that you have:

In which of these areas are you experiencing a problem?

Theme

Expected behavior

When running shopify theme dev assets should load properly.

Actual behavior

When running shopify theme dev assets are not loading properly from the cdn. I think it has to do with this error in the console: Failed to find a valid digest in the 'integrity' attribute for resource 'http://x.x.x.x:9292/cdn/shopifycloud/shopify/assets/storefront/features-87e8399988880142f2c62771b9d8f2ff6c290b3ff745dd426eb0dfe0db9d1dae.js' with computed SHA-256 integrity '6kURUFxQGfMOxLerLwfrmqOyBcR+dP/8b43fhYz2R3Q='. The resource has been blocked.

The issue just started occurring within the last week. I cant figure out what changed to make this start happening. I have tried all the usual troubleshooting steps including logging out and logging back in, deleting and re installing node modules, etc. Since the auth problem a couple of weeks ago things have been a little funky, not sure if this is in any way related.

Verbose output

2023-04-25T23:17:36.354Z: Ensuring that the user is authenticated with the Storefront API with the following scopes:
[]

2023-04-25T23:17:36.354Z: Getting session store...
2023-04-25T23:17:36.356Z: 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"
]
For applications:
{
  "storefrontRendererApi": {
    "scopes": []
  }
}

2023-04-25T23:17:36.357Z: Sending Identity Introspection request to URL: https://accounts.shopify.com/oauth/introspection
2023-04-25T23:17:36.358Z: Sending POST request to URL https://accounts.shopify.com/oauth/introspection
With request headers:
 - User-Agent: Shopify CLI; v=3.45.1
 - Keep-Alive: timeout=30
 - Sec-CH-UA-PLATFORM: win32
 - Content-Type: application/json

2023-04-25T23:17:36.398Z: Obtaining the dependency manager in directory D:/Work/Blue Collar/Yoshino/Shopify/bc-yoshino...
2023-04-25T23:17:36.419Z: 
Running system process:
  · Command: ruby -v
  · Working directory: D:\Work\Blue Collar\Yoshino\Shopify\bc-yoshino

2023-04-25T23:17:36.541Z: Request to https://accounts.shopify.com/oauth/introspection completed in 182 ms
With response headers:
 - cache-control: no-cache, no-store, private, must-revalidate, max-age=0
 - content-type: application/json; charset=utf-8
 - etag: W/"e0ada813877f016085a6f788de849d83"
 - x-request-id: dc8f12cf-f837-4bbe-8c7c-80ac68e1d6f8

2023-04-25T23:17:36.543Z: The identity token is valid: true
2023-04-25T23:17:36.543Z:
The validation of the token for application/identity completed with the following results:
- It's expired: false
- It's invalid in identity: false

2023-04-25T23:17:36.563Z: 
Running system process:
  · Command: ruby -v
  · Working directory: D:\Work\Blue Collar\Yoshino\Shopify\bc-yoshino

2023-04-25T23:17:36.566Z: Request to https://monorail-edge.shopifysvc.com/v1/produce completed in 122 ms
With response headers:
 - x-request-id: 96e46692-ca5d-446c-ae8f-4891e4040361

2023-04-25T23:17:36.567Z: Analytics event sent: {
  "command": "theme dev",
  "time_start": 1682464654748,
  "time_end": 1682464656393,
  "total_time": 1645,
  "success": true,
  "cli_version": "3.45.1",
  "ruby_version": "3.0.2",
  "node_version": "16.9.1",
  "is_employee": false,
  "uname": "windows amd64",
  "env_ci": false,
  "env_plugin_installed_any_custom": false,
  "env_plugin_installed_shopify": "[\"@shopify/cli\",\"@shopify/plugin-did-you-mean\",\"@shopify/theme\"]",
  "env_shell": "cmd.exe",
  "env_device_id": "007b965791f817b38b91146f2ea8aedb028026ec",
  "env_cloud": "localhost",
  "env_package_manager": "npm",
  "cmd_all_launcher": "unknown",
  "cmd_all_topic": "theme",
  "cmd_all_plugin": "@shopify/theme",
  "args": "--verbose",
  "env_plugin_installed_all": "[\"@shopify/cli\",\"@shopify/plugin-did-you-mean\",\"@shopify/theme\"]",
  "metadata": "{\"extraPublic\":{},\"extraSensitive\":{}}"
}
2023-04-25T23:17:36.570Z: Completed command theme dev
2023-04-25T23:17:36.598Z: 
Running system process:
  · Command: bundle -v
  · Working directory: D:\Work\Blue Collar\Yoshino\Shopify\bc-yoshino

2023-04-25T23:17:37.977Z: Reading the content of file at C:/Users/inept/AppData/Roaming/nvm/v16.9.1/node_modules/@shopify/theme/node_modules/@shopify/cli-kit/assets/cli-ruby/Gemfile...
2023-04-25T23:17:37.999Z: 
Running system process:
  · Command: bundle config set --local path C:\Users\inept\AppData\Local\shopify-gems-nodejs\Cache
  · Working directory: C:/Users/inept/AppData/Roaming/nvm/v16.9.1/node_modules/@shopify/theme/node_modules/@shopify/cli-kit/assets/cli-ruby

2023-04-25T23:17:38.335Z: 
Running system process:
  · Command: bundle config set --local without development:test
  · Working directory: C:/Users/inept/AppData/Roaming/nvm/v16.9.1/node_modules/@shopify/theme/node_modules/@shopify/cli-kit/assets/cli-ruby

2023-04-25T23:17:38.646Z: 
Running system process:
  · Command: bundle install
  · Working directory: C:/Users/inept/AppData/Roaming/nvm/v16.9.1/node_modules/@shopify/theme/node_modules/@shopify/cli-kit/assets/cli-ruby

2023-04-25T23:17:39.760Z: 
Running system process:
  · Command: bundle exec ruby C:/Users/inept/AppData/Roaming/nvm/v16.9.1/node_modules/@shopify/theme/node_modules/@shopify/cli-kit/assets/cli-ruby/bin/shopify theme serve D:\Work\Blue Collar\Yoshino\Shopify\bc-yoshino --live-reload hot-reload --theme 147533726015
  · Working directory: D:\Work\Blue Collar\Yoshino\Shopify\bc-yoshino

DEBUG GET https://yoshino-power-dev.myshopify.com/admin/api/unstable/themes.json with request_id: aeae595e-b1cd-448d-870f-32637d425261
* Syncing theme #147533726015 on yoshino-power-dev.myshopify.com
DEBUG GET https://yoshino-power-dev.myshopify.com/admin/api/unstable/themes/147533726015/assets.json with request_id: f924ba0a-bb57-4fe5-b1ff-88f9de60f300
DEBUG ignore node_modules/@nodelib/fs.scandir/package.json
DEBUG ignore node_modules/@nodelib/fs.stat/package.json
DEBUG ignore node_modules/@nodelib/fs.walk/package.json
DEBUG ignore node_modules/@trelliscommerce/prettier-config/index.json
DEBUG ignore node_modules/@trelliscommerce/prettier-config/package.json
DEBUG ignore node_modules/acorn/package.json
DEBUG ignore node_modules/acorn-node/package.json
DEBUG ignore node_modules/acorn-walk/package.json
DEBUG ignore node_modules/aggregate-error/package.json
DEBUG ignore node_modules/ansi-escapes/package.json
DEBUG ignore node_modules/ansi-regex/package.json
DEBUG ignore node_modules/ansi-styles/package.json
DEBUG ignore node_modules/anymatch/package.json
DEBUG ignore node_modules/arg/package.json
DEBUG ignore node_modules/astral-regex/package.json
DEBUG ignore node_modules/autoprefixer/package.json
DEBUG ignore node_modules/binary-extensions/binary-extensions.json
DEBUG ignore node_modules/binary-extensions/package.json
DEBUG ignore node_modules/braces/package.json
DEBUG ignore node_modules/browserslist/package.json
DEBUG ignore node_modules/camelcase-css/package.json
DEBUG ignore node_modules/caniuse-lite/package.json
DEBUG ignore node_modules/chokidar/node_modules/glob-parent/package.json
DEBUG ignore node_modules/chokidar/package.json
DEBUG ignore node_modules/clean-stack/package.json
DEBUG ignore node_modules/cli-cursor/package.json
DEBUG ignore node_modules/cli-truncate/package.json
DEBUG ignore node_modules/color-convert/package.json
DEBUG ignore node_modules/color-name/package.json
DEBUG ignore node_modules/colorette/package.json
DEBUG ignore node_modules/commander/package-support.json
DEBUG ignore node_modules/commander/package.json
DEBUG ignore node_modules/cross-spawn/package.json
DEBUG ignore node_modules/cssesc/package.json
DEBUG ignore node_modules/debug/package.json
DEBUG ignore node_modules/defined/package.json
DEBUG ignore node_modules/detective/package.json
DEBUG ignore node_modules/didyoumean/package.json
DEBUG ignore node_modules/dlv/package.json
DEBUG ignore node_modules/eastasianwidth/package.json
DEBUG ignore node_modules/electron-to-chromium/chromium-versions.json
DEBUG ignore node_modules/electron-to-chromium/full-chromium-versions.json
DEBUG ignore node_modules/electron-to-chromium/full-versions.json
DEBUG ignore node_modules/electron-to-chromium/package.json
DEBUG ignore node_modules/electron-to-chromium/versions.json
DEBUG ignore node_modules/emoji-regex/package.json
DEBUG ignore node_modules/escalade/package.json
DEBUG ignore node_modules/execa/package.json
DEBUG ignore node_modules/fast-glob/node_modules/glob-parent/package.json
DEBUG ignore node_modules/fast-glob/package.json
DEBUG ignore node_modules/fastq/package.json
DEBUG ignore node_modules/fastq/test/tsconfig.json
DEBUG ignore node_modules/fill-range/package.json
DEBUG ignore node_modules/fraction.js/package.json
DEBUG ignore node_modules/function-bind/package.json
DEBUG ignore node_modules/get-stream/package.json
DEBUG ignore node_modules/glob-parent/package.json
DEBUG ignore node_modules/has/package.json
DEBUG ignore node_modules/human-signals/package.json
DEBUG ignore node_modules/husky/package.json
DEBUG ignore node_modules/indent-string/package.json
DEBUG ignore node_modules/is-binary-path/package.json
DEBUG ignore node_modules/is-core-module/core.json
DEBUG ignore node_modules/is-core-module/package.json
DEBUG ignore node_modules/is-extglob/package.json
DEBUG ignore node_modules/is-fullwidth-code-point/package.json
DEBUG ignore node_modules/is-glob/package.json
DEBUG ignore node_modules/is-number/package.json
DEBUG ignore node_modules/is-stream/package.json
DEBUG ignore node_modules/isexe/package.json
DEBUG ignore node_modules/lilconfig/package.json
DEBUG ignore node_modules/lint-staged/package.json
DEBUG ignore node_modules/listr2/node_modules/ansi-regex/package.json
DEBUG ignore node_modules/listr2/node_modules/ansi-styles/package.json
DEBUG ignore node_modules/listr2/node_modules/cli-truncate/package.json
DEBUG ignore node_modules/listr2/node_modules/emoji-regex/package.json
DEBUG ignore node_modules/listr2/node_modules/is-fullwidth-code-point/package.json
DEBUG ignore node_modules/listr2/node_modules/slice-ansi/package.json
DEBUG ignore node_modules/listr2/node_modules/string-width/package.json
DEBUG ignore node_modules/listr2/node_modules/strip-ansi/package.json
DEBUG ignore node_modules/listr2/package.json
DEBUG ignore node_modules/log-update/node_modules/ansi-regex/package.json
DEBUG ignore node_modules/log-update/node_modules/ansi-styles/package.json
DEBUG ignore node_modules/log-update/node_modules/emoji-regex/package.json
DEBUG ignore node_modules/log-update/node_modules/is-fullwidth-code-point/package.json
DEBUG ignore node_modules/log-update/node_modules/slice-ansi/package.json
DEBUG ignore node_modules/log-update/node_modules/string-width/package.json
DEBUG ignore node_modules/log-update/node_modules/strip-ansi/package.json
DEBUG ignore node_modules/log-update/node_modules/wrap-ansi/package.json
DEBUG ignore node_modules/log-update/package.json
DEBUG ignore node_modules/merge-stream/package.json
DEBUG ignore node_modules/merge2/package.json
DEBUG ignore node_modules/micromatch/package.json
DEBUG ignore node_modules/mimic-fn/package.json
DEBUG ignore node_modules/minimist/package.json
DEBUG ignore node_modules/ms/package.json
DEBUG ignore node_modules/nanoid/async/package.json
DEBUG ignore node_modules/nanoid/non-secure/package.json
DEBUG ignore node_modules/nanoid/package.json
DEBUG ignore node_modules/nanoid/url-alphabet/package.json
DEBUG ignore node_modules/node-releases/data/processed/envs.json
DEBUG ignore node_modules/node-releases/data/release-schedule/release-schedule.json
DEBUG ignore node_modules/node-releases/package.json
DEBUG ignore node_modules/normalize-path/package.json
DEBUG ignore node_modules/normalize-range/package.json
DEBUG ignore node_modules/npm-run-path/package.json
DEBUG ignore node_modules/object-hash/package.json
DEBUG ignore node_modules/object-inspect/package.json
DEBUG ignore node_modules/onetime/package.json
DEBUG ignore node_modules/p-map/package.json
DEBUG ignore node_modules/path-key/package.json
DEBUG ignore node_modules/path-parse/package.json
DEBUG ignore node_modules/picocolors/package.json
DEBUG ignore node_modules/picomatch/package.json
DEBUG ignore node_modules/pidtree/package.json
DEBUG ignore node_modules/postcss/package.json
DEBUG ignore node_modules/postcss-js/package.json
DEBUG ignore node_modules/postcss-load-config/node_modules/lilconfig/package.json
DEBUG ignore node_modules/postcss-load-config/package.json
DEBUG ignore node_modules/postcss-nested/package.json
DEBUG ignore node_modules/postcss-selector-parser/package.json
DEBUG ignore node_modules/postcss-value-parser/package.json
DEBUG ignore node_modules/prettier/package.json
DEBUG ignore node_modules/queue-microtask/package.json
DEBUG ignore node_modules/quick-lru/package.json
DEBUG ignore node_modules/readdirp/package.json
DEBUG ignore node_modules/resolve/lib/core.json
DEBUG ignore node_modules/resolve/package.json
DEBUG ignore node_modules/resolve/test/module_dir/zmodules/bbb/package.json
DEBUG ignore node_modules/resolve/test/resolver/baz/package.json
DEBUG ignore node_modules/resolve/test/resolver/browser_field/package.json
DEBUG ignore node_modules/resolve/test/resolver/dot_main/package.json
DEBUG ignore node_modules/resolve/test/resolver/dot_slash_main/package.json
DEBUG ignore node_modules/resolve/test/resolver/incorrect_main/package.json
DEBUG ignore node_modules/resolve/test/resolver/invalid_main/package.json
DEBUG ignore node_modules/resolve/test/resolver/malformed_package_json/package.json
DEBUG ignore node_modules/resolve/test/resolver/multirepo/lerna.json
DEBUG ignore node_modules/resolve/test/resolver/multirepo/package.json
DEBUG ignore node_modules/resolve/test/resolver/multirepo/packages/package-a/package.json
DEBUG ignore node_modules/resolve/test/resolver/multirepo/packages/package-b/package.json
DEBUG ignore node_modules/resolve/test/resolver/nested_symlinks/mylib/package.json
DEBUG ignore node_modules/resolve/test/resolver/symlinked/package/package.json
DEBUG ignore node_modules/restore-cursor/package.json
DEBUG ignore node_modules/reusify/package.json
DEBUG ignore node_modules/rfdc/package.json
DEBUG ignore node_modules/run-parallel/package.json
DEBUG ignore node_modules/rxjs/ajax/package.json
DEBUG ignore node_modules/rxjs/fetch/package.json
DEBUG ignore node_modules/rxjs/operators/package.json
DEBUG ignore node_modules/rxjs/package.json
DEBUG ignore node_modules/rxjs/src/tsconfig.base.json
DEBUG ignore node_modules/rxjs/src/tsconfig.cjs.json
DEBUG ignore node_modules/rxjs/src/tsconfig.cjs.spec.json
DEBUG ignore node_modules/rxjs/src/tsconfig.esm.json
DEBUG ignore node_modules/rxjs/src/tsconfig.esm5.json
DEBUG ignore node_modules/rxjs/src/tsconfig.esm5.rollup.json
DEBUG ignore node_modules/rxjs/src/tsconfig.types.json
DEBUG ignore node_modules/rxjs/src/tsconfig.types.spec.json
DEBUG ignore node_modules/rxjs/testing/package.json
DEBUG ignore node_modules/rxjs/tsconfig.json
DEBUG ignore node_modules/rxjs/webSocket/package.json
DEBUG ignore node_modules/shebang-command/package.json
DEBUG ignore node_modules/shebang-regex/package.json
DEBUG ignore node_modules/signal-exit/package.json
DEBUG ignore node_modules/slice-ansi/package.json
DEBUG ignore node_modules/source-map-js/package.json
DEBUG ignore node_modules/string-argv/package.json
DEBUG ignore node_modules/string-width/package.json
DEBUG ignore node_modules/strip-ansi/package.json
DEBUG ignore node_modules/strip-final-newline/package.json
DEBUG ignore node_modules/supports-color/package.json
DEBUG ignore node_modules/supports-preserve-symlinks-flag/package.json
DEBUG ignore node_modules/tailwindcss/node_modules/lilconfig/package.json
DEBUG ignore node_modules/tailwindcss/package.json
DEBUG ignore node_modules/through/package.json
DEBUG ignore node_modules/to-regex-range/package.json
DEBUG ignore node_modules/tslib/modules/package.json
DEBUG ignore node_modules/tslib/package.json
DEBUG ignore node_modules/type-fest/package.json
DEBUG ignore node_modules/util-deprecate/package.json
DEBUG ignore node_modules/which/package.json
DEBUG ignore node_modules/wrap-ansi/node_modules/ansi-regex/package.json
DEBUG ignore node_modules/wrap-ansi/node_modules/ansi-styles/package.json
DEBUG ignore node_modules/wrap-ansi/node_modules/emoji-regex/package.json
DEBUG ignore node_modules/wrap-ansi/node_modules/is-fullwidth-code-point/package.json
DEBUG ignore node_modules/wrap-ansi/node_modules/string-width/package.json
DEBUG ignore node_modules/wrap-ansi/node_modules/strip-ansi/package.json
DEBUG ignore node_modules/wrap-ansi/package.json
DEBUG ignore node_modules/xtend/package.json
DEBUG ignore node_modules/yaml/browser/dist/package.json
DEBUG ignore node_modules/yaml/package.json
DEBUG ignore package-lock.json
DEBUG ignore package.json
                                                                            100%
[2023-04-25 16:17:45] INFO  WEBrick 1.7.0
[2023-04-25 16:17:45] INFO  ruby 3.0.2 (2021-07-07) [x64-mingw32]
[2023-04-25 16:17:45] INFO  WEBrick::HTTPServer#start: pid=1724 port=9292
DEBUG Refreshing preview _secure_session_id cookie
DEBUG Proxying HEAD https://yoshino-power-dev.myshopify.com/?preview_theme_id=147533726015&_fd=0&pb=0
DEBUG `-> 302 request_id: 218f1027-ef3d-4d1e-82e1-f6d38cfa24aa
DEBUG Proxying GET https://yoshino-power-dev.myshopify.com/?_fd=0&pb=0
DEBUG `-> 200 request_id: c8154d52-033a-4c95-a372-eda7edcce83a
DEBUG Proxying GET https://yoshino-power-dev.myshopify.com/cdn/fonts/poppins/poppins_n4.934accbf9f5987aa89334210e6c1e9151f37d3b6.woff2?h1=eW9zaGluby1wb3dlci1kZXYuYWNjb3VudC5teXNob3BpZnkuY29t&hmac=8eacbc92020dfce46346cd2f76a073c84cb65d98111eba032c7f88aa87f67711&_fd=0&pb=0
DEBUG Proxying GET https://yoshino-power-dev.myshopify.com/cdn/fonts/poppins/poppins_n7.58aca33913fc6666cc9e8a53f6b16ec5c3c05a3f.woff2?h1=eW9zaGluby1wb3dlci1kZXYuYWNjb3VudC5teXNob3BpZnkuY29t&hmac=38492ab68529c971a223583101823269c0c16eeb044e7e80f31748b535384028&_fd=0&pb=0
DEBUG Proxying GET https://yoshino-power-dev.myshopify.com/cdn/shopifycloud/boomerang/shopify-boomerang-1.0.0.min.js?_fd=0&pb=0
DEBUG `-> 403 request_id: 
DEBUG `-> 403 request_id: 
DEBUG `-> 304 request_id: aaac27bf-dae9-406d-8155-198fdcff0beb
DEBUG Proxying GET https://yoshino-power-dev.myshopify.com/cdn/fonts/poppins/poppins_n7.59016f931f3f39434d2e458fba083eb7db7a07d9.woff?h1=eW9zaGluby1wb3dlci1kZXYuYWNjb3VudC5teXNob3BpZnkuY29t&hmac=3399f173f9c408ae0f4a8673dd7e77b4745bcc53f89551bf00bd3f7e3117f2d3&_fd=0&pb=0
DEBUG Proxying GET https://yoshino-power-dev.myshopify.com/cdn/fonts/poppins/poppins_n4.ee28d4489eaf5de9cf6e17e696991b5e9148c716.woff?h1=eW9zaGluby1wb3dlci1kZXYuYWNjb3VudC5teXNob3BpZnkuY29t&hmac=dae1a29f617152cebbe1e29df7f1720f65633b5e26b35d873e9f0753c6e9bc47&_fd=0&pb=0
DEBUG `-> 403 request_id: 
DEBUG `-> 403 request_id: 
DEBUG [HotReload] Connected to SSE stream

Reproduction steps

  1. Logout and log back in via shopify auth
  2. Run the dev command
  3. Get the errors

Operating System

Windows 10

Shopify CLI version (check your project's package.json if you're not sure)

3.45.1

Shell

No response

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

16.9.1

What language and version are you using in your application?

No response

amcaplan commented 1 year ago

cc @Shopify/theme-developer-tools

mgmanzella commented 1 year ago

@Shopify/theme-code-tools

ineptian commented 1 year ago

1859 This is the same issue.

github-actions[bot] commented 1 year ago

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] commented 1 year ago

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] commented 1 year ago

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.

bbdetail commented 12 months ago

I'm having the same problem in both Chrome and Brave. Because the JS resource is blocked, the page never fully loads and my custom code in global.js won't fire either. It's impossible to develop with this issue.

Failed to find a valid digest in the 'integrity' attribute for resource 'http://127.0.0.1:9292/cdn/shopifycloud/shopify/assets/storefront/features-1c0b396bd4d054b94abae1eb6a1bd6ba47beb35525c57a217c77a862ff06d83f.js' with computed SHA-256 integrity 'lm6fZ4d7HzlM0m8t7EhdxfYXfJG1Dny97sLRHA1THBY='. The resource has been blocked.

Operating System Windows 11

Shopify CLI version (check your project's package.json if you're not sure) 3.50.2

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

For now I have to force Chrome to load the resource anyway with chrome.exe --user-data-dir="C:\ChromeDevSession" --disable-web-security, but this is not ideal.

ineptian commented 12 months ago

I'm having the same problem in both Chrome and Brave. Because the JS resource is blocked, the page never fully loads and my custom code in global.js won't fire either. It's impossible to develop with this issue.

Failed to find a valid digest in the 'integrity' attribute for resource 'http://127.0.0.1:9292/cdn/shopifycloud/shopify/assets/storefront/features-1c0b396bd4d054b94abae1eb6a1bd6ba47beb35525c57a217c77a862ff06d83f.js' with computed SHA-256 integrity 'lm6fZ4d7HzlM0m8t7EhdxfYXfJG1Dny97sLRHA1THBY='. The resource has been blocked.

Operating System Windows 11

Shopify CLI version (check your project's package.json if you're not sure) 3.50.2

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

For now I have to force Chrome to load the resource anyway with chrome.exe --user-data-dir="C:\ChromeDevSession" --disable-web-security, but this is not ideal.

Yeah this error is back again and happening for me. Makes it so no JS works because dom never loads.

fmjabato commented 1 month ago

Having same issue now.

System Win11 and having error with Chorme, Opera and Edge (both regular and incognito)

Jolsty commented 1 month ago

Same here, can't log in to the store

TinoVieiraTwistag commented 1 month ago

Same here

fmjabato commented 1 month ago

Uh, same error, same time? Could be a Shopify's DNS error instead of our clients config....

RitikKhandelwal1008 commented 1 month ago

Same here

boolland-cyrus commented 1 month ago

same here

htretsiakova commented 1 month ago

same

ThorCStenbaek commented 1 month ago

same here

DungNgDinh commented 1 month ago

i face the same trouble :)

Prajwol-Nepa commented 1 month ago

same here.

tiimgreen commented 1 month ago

Same issue for app developement

xtiand3v commented 1 month ago

Same issue

Smush1 commented 1 month ago

Facing same issue

swamibibek commented 1 month ago

After hours of digging into the Shopify payment server architecture, I finally uncovered the root cause of that persistent bug. It turns out that the issue was stemming from a conflict between the asynchronous transaction handler and the payment gateway’s outdated API. To resolve this, I had to manually override the default API calls and implement a custom middleware that intercepts and re-routes transaction data through a secure, encrypted channel. Additionally, I optimized the server's TCP/IP stack by adjusting the priority settings to ensure payment packets were processed with higher precedence, which not only improved the response time but also eliminated those annoying timeout errors. After running several tests and simulations under different load conditions, everything is now running smoothly, and the payment process is back to its optimal performance.Congratulations, you have just wasted your precious time reading this!

ThorCStenbaek commented 1 month ago

mine is good now

Prajwol-Nepa commented 1 month ago

yup works now

swamibibek commented 1 month ago

same here.

who cares

IsraelMartinGar commented 1 month ago

This may be a Shopify issue, you can check Shopify's status at this link: https://www.shopifystatus.com

swamibibek commented 1 month ago

Bunch of noobs who doesn't know what to do pathetic ..... please fking educate yourself.

amcaplan commented 1 month ago

Hey folks, there was a production incident today, and you can read more details here. It's been resolved at this point, and on that linked page you can read about what we've done to remediate and prevent future incidents.

For future reference, please note that commenting on a closed issue is not helpful, as this is unlikely to flag our attention. We do monitor new issues, so it's recommended to check for an open issue with what you're experiencing, and if there isn't one, you can open an issue yourself with full details so we can diagnose as quickly and effectively as possible.

Finally, I'll note that I have chosen to hide several comments, as they do not accord with our Code of Conduct. We take violations seriously, and will continue to remove comments that do not respect other members of our community.