Divesh Kumar
PPrisma
•Created by Divesh Kumar on 8/9/2024 in #help-and-questions
I encountered an issue where the database operation in Prisma results in an indefinite wait time.
Hi Everyone I am stuck in a issue. I have build project in NestJS, GraphQL using Prisma ORM (PostgreSQL). On my ec2 machine, the database query goes into infinite loop, when I check in my playground, it is still loading, response not coming from the database server. When I check my same connection using my database client (DBeaver) it is working I can fetch the records there. But it is stucked on my server. When I check my rds logs, I can see one line "could not receive data from client: Connection reset by peer"
Don't know why I getting this kind of issue, I didn't face this issue in any of project. I checked the RDS, the CPU utilization is normal is upto 6% and active connection is between is 5 to 10. Anyone can tell me what is the exact issue.
1 replies