-
-
Notifications
You must be signed in to change notification settings - Fork 31
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
Binary engine did not handle engine startup failure #142
Comments
I had this problem when doing dockerization. This is Prisma query engine not starting as expected. This is a bug because my code calls the local port without checking if the binary engine is started. The code is in: lib/binary_engine.dart#L197 Add But I don't have time to fix it these days, it's an enhancement fix. Just add Are you free to fix it? I need to write code for my client these days. |
Yeah, I can fix it after work :) Thanks! |
@medz something like this?
|
I fixed my issue. It looks like i did not provide Datasources object while creating PrismaClient which caused above error. But I still get:
which is the same error as in #138 |
I added |
After some more debuging I think it the same issue @nikosportolos mentioned in #138
|
It looks like I cannot connect to my postgres database. I suspected that my database URI was incorrect but I can add/read data with prisma studio.
Failing part:
The same code causes different issue, but with sqlite ( see #138 )
Stack trace:
The text was updated successfully, but these errors were encountered: