Prisma fails to build due to suddenly missing binaries (debian-openssl-3.0.x/prisma-fmt.gz) #16246
Labels
bug/0-unknown
Bug is new, does not have information for reproduction or reproduction could not be confirmed.
kind/bug
A reported bug.
team/client
Issue for team Client.
topic: openssl
Bug description
Hello,
I am maintaining a project that uses a legacy version of Prisma from back in the day (
"@prisma/client": "^2.11.0", "@prisma/cli": "^2.11.0"
). Now I understand this is likely beyond the scope of any support, but I would still like to ask if anything could be done to solve the problem described below, as it seems to be an issue with some kind of CDN on the prisma side.Moreover, this error could be affecting newer versions of prisma as well.
The problem
prisma generate
fails due to the following error:When trying to access the URL from the error,
https://binaries.prisma.sh/all_commits/58369335532e47bdcec77a2f1e7c1fb83a463918/debian-openssl-3.0.x/prisma-fmt.gz
I get the following error in my browser:
My guess is that for some reason these files were pruned from S3. Or the configuration for the bucket or CloudFront has changed.
In either case, it would be great to know if this could be resolved to maintain support for legacy versions of prisma.
How to reproduce
I guess this problem could be reproduced by simply accessing
https://binaries.prisma.sh/all_commits/58369335532e47bdcec77a2f1e7c1fb83a463918/debian-openssl-3.0.x/prisma-fmt.gz
in your browser.
The
prisma generate
command fails because the file in question is unavailable or inaccessible.Otherwise, for a more thorough reproduction, I believe simply following these steps should be enough:
yarn add @prisma/client@^2.11.0 @prisma/cli@^2.11.0
yarn prisma:generate
, run on Ubuntu 22.04.1 LTS. In my case, Github Actions.Expected behavior
The command should work without failing to access that file. Business as usual.
Prisma information
Environment & setup
Prisma Version
The text was updated successfully, but these errors were encountered: