New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Downloading binaries of 4.6.1 fails with wrong sha256 checksum #16233
Comments
got the same error here. did you find any solution to this? @Trainxy |
Got the same error with prisma 4.5.0 in docker on ubuntu |
Does anyony have a solution? That's funny, because we have a demo today but now we cannot rebuild our containers I thought it depends on prisma version, but it looks like it doesn't |
Hey everyone who reported this @87brandonn @1Vlod @Trainxy, some things you can do to help us understand this:
Thanks. |
Thanks for the information you included in your initial descriptoin @Trainxy. I get a different checksum after downloading:
And that is indeed the one our tool expects, and talks about in the error message:
To confirm anyone can run these two commands:
The returned string should be the |
Same error here. Im using Docker with a node:18-alpine Image
|
This is a huge issue that needs to be addressed, does anyone have a temporary band aid fix for this? |
When I download that file and checksum it, I get the correct one:
|
@eliliam had posted in a separate issue:
|
What would be causing different users to retrieve different files entirely when they should be the same? |
CDN or network issues. For now we have 3 reports from differnet people, but all with different operating systems: |
So to list all the cases and error messages:
|
When collecting these, and trying to reproduce the hashes I noticed that your case @eliliam is actually different: The error message says |
The remaining task for the previous comment that now would help a lot:
|
@janpio when I download it and decompress the gz file I still have a mismatched hash. |
Can you upload the extracted file please and the checksum you get for that file? I think before you uploaded only the archive. |
SHA256 hash: 6a14286c51fbc005ab193eac8dcca740275fd9716dd226e1f857fab2dc00d778 As for trying a different internet connection, I have tried multiple different locations. It appears that I get this same hash on the file that was downloaded on my home and office networks, but I get the correct file when downloaded from my cell's 5G connection. |
Something is off there @eliliam. When I use the gzipped file and unpack it, I get a different file than what you uploaded to paste.c-net.org - different size, content and (logically) checksum. Are you 100% sure that this comes from https://binaries.prisma.sh/all_commits/694eea289a8462c80264df36757e4fdc129b1b32/debian-openssl-1.1.x/migration-engine.gz? |
Here is an archive with the original files from the CDN for |
Here is another case that was raised in an old issue:
Originally posted by @DarkSmile92 in #10312 (comment) |
@DarkSmile92 You case seems to be identical to #16233 (comment) :/ |
Our current thoughts:
|
I have redownloaded the file and created a similar zip of the gzipped file, extracted file, and their respective sha256 sums. I still get the same bad values. If it is indeed a CloudFront caching issue, what steps need to be taken to resolve this issue, and who is able to accomplish this? |
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) |
I was receiving the error message, found this issue and @janpio can confirm that after your comment I was able to run |
Works for me again! 👍 |
@janpio Fantastic that worked for me too! |
Thanks. Sorry that took so long to connect the dots, only the second time in the last 3 years this happened. I'll wait for confirmation from @Trainxy to close the issue, or they can do that themselves. |
@janpio Thanks for the quick help yesterday! :) |
Hey @janpio
Are you familiar with this issue? |
Not really, please open a new issue and provide all the information. |
Bug description
How to reproduce
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
The text was updated successfully, but these errors were encountered: