Downloading binaries of 4.6.1 fails with wrong sha256 checksum
See original GitHub issueBug description
npm ERR! code 1
npm ERR! path /home/d2766cb87e42ac78b6cf6400f1e52be457744eee/node/node_modules/@prisma/engines
npm ERR! command failed
npm ERR! command sh -c -- node scripts/postinstall.js
npm ERR! /home/d2766cb87e42ac78b6cf6400f1e52be457744eee/node/node_modules/@prisma/engines/dist/scripts/postinstall.js:22677
npm ERR! throw new Error(`sha256 of ${url} (zipped) should be ${zippedSha256} but is ${zippedHash}`);
npm ERR! ^
npm ERR!
npm ERR! Error: sha256 of https://binaries.prisma.sh/all_commits/694eea289a8462c80264df36757e4fdc129b1b32/rhel-openssl-1.1.x/migration-engine.gz (zipped) should be b8137868e4dc45f6cb384173fbfc7606b4cb0641328720f2fad95c5e74e6971c but is fbd2f419c17eec8e962e07b8caf71653775c7d8e12db49029b691900513c2354
How to reproduce
$ wget https://binaries.prisma.sh/all_commits/694eea289a8462c80264df36757e4fdc129b1b32/rhel-openssl-1.1.x/migration-engine.gz
--2022-11-11 10:04:38-- https://binaries.prisma.sh/all_commits/694eea289a8462c80264df36757e4fdc129b1b32/rhel-openssl-1.1.x/migration-engine.gz
Resolving binaries.prisma.sh (binaries.prisma.sh)... 13.32.50.55, 13.32.50.41, 13.32.50.7, ...
Connecting to binaries.prisma.sh (binaries.prisma.sh)|13.32.50.55|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 13665486 (13M) [binary/octet-stream]
Saving to: 'migration-engine.gz'
migration-engine.gz 100%[========================================================================================================================================>] 13.03M 30.3KB/s in 1m 46s
2022-11-11 10:06:25 (126 KB/s) - 'migration-engine.gz' saved [13665486/13665486]
$ sha256sum migration-engine.gz
fbd2f419c17eec8e962e07b8caf71653775c7d8e12db49029b691900513c2354 migration-engine.gz
Expected behavior
Correct sha256 checksum when downloading the binary.
Prisma information
Not needed, installation of prisma fails even without a schema.
Environment & setup
OS: CentOS 7.5 Database: MySQL Node.js version: 18.12.1
Prisma Version
4.6.0
Issue Analytics
- State:
- Created 10 months ago
- Reactions:2
- Comments:32 (17 by maintainers)
Top Results From Across the Web
All downloaded files have wrong checksum SHA256
Dear Microsoft Community, I have problem with all devices in my network. When I download file this have wrong checksum and sometimes is...
Read more >EasyBuild v4.6.2 documentation (release 20221021.0)
make check_sha256_checksums verify all checksums if they're specified as a dict ... fix download + permissions of binary for USEARCH v11.0.667 (#14036) ...
Read more >Getting Started — Spack 0.20.0.dev0 documentation
The sha256 checksum of binaries is checked before installation. ... For example, a package might pick up the wrong build-time dependencies (most of...
Read more >The Transport Layer Security (TLS) Protocol Version 1.3
A failure of the handshake or other protocol error triggers the termination of the connection, optionally preceded by an alert message (Section 6)....
Read more >Cobalt Strike Release Notes - Download
May 16, 2022 - Cobalt Strike 4.6.1 ------------- + Fixed an issue that caused ... + Team server now uses SHA256 hash for...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
That would be us of course.
I just triggered a minimal invalidation. Can you check if the problem is already resolved maybe?
(The problem here is always that only some CDN nodes are affected, and it seems this time I have no way to reproduce this at all)
@janpio Thanks for your help. I installed node_modules successfully after you solve.