Hi team, I'm using Prisma with our product, for on...
# orm-help
h
Hi team, I'm using Prisma with our product, for one query I got
Other side is closed
error in the response. I tried so hard but couldn't find any root causes in our code. I found this closed issue from Github, but we didn't call
$disconnect
like the guy who created the bug did https://github.com/prisma/prisma/issues/5888 Can you help guide me about this issue please? 🙏 If I didn't call
$disconnect
, could anything else cause the error of
Other side is closed
in Prisma response?
😟 1
❤️ 1
n
Hey Henry 👋 Welcome to Prisma’s Slack community! When are you getting this error, do you get this error every time or only on running a specific query?
h
Hi @Nurul thanks for your reply. We have a system with like 150-200 queries but the issue is only happening on 2 of them (so far). Do you know when this
other side closed
error occurs (from mysql or prisma side etc)?
n
What is your prisma version?
h
Hi @Nurul my client version 2.21.2, are there any problems in prisma client code for this version?
@Nurul the error message was
other side closed
, error code was
UND_ERR_SOCKET
n
There was an earlier message where a user faced similar issue https://prisma.slack.com/archives/CKQTGR6T0/p1612386058488200 The error is related to socket which were used in earlier versions. Can you try updating your prisma client version and check if that solves the issue for you?