Hi there! Bringing an issue shared in <#CA491RJH0...
# prisma-data-platform
r
Hi there! Bringing an issue shared in #general to this channel as it is specific for Data Proxy. We are getting
graphql request failed
and
socket hang up
errors when using Data Proxy (more context in the thread shared below). Do any of you know what can be the cause of it? https://prisma.slack.com/archives/CA491RJH0/p1635880462477400
cc @Pieter
One thing I noticed just now is that this mostly happens on POST requests. Query below:
Copy code
return prisma.user.upsert({
    create: data,
    update: data,
    where: { email: data.email }
})
cc @Ryan
p
ah i just came here to post about this issue!!
so it’s only happening with upserts.. interesting..
for me tho, i’m not passing any strings that have the tick on it. so i wonder why it’s happening for me
r
@Perry Raskin Actually no, it is happening with updates too 😞
I think it may not be supporting all ASCI characters 🤔
p
damn guess i gotta revert back to non data proxy for now sadparrot
it was so good with the pooling
j
cc @Alberto Perdomo
a
This is confirmed as a bug. Thanks for the reporting this! We will be sharing updates as we have them.
r
Sweet, thanks @Alberto Perdomo! I noticed that it happened with
-
character too. Not sure how many other characters have this issue potentially
a
Just to follow up on this: the issue has been identified and a fix is underway. I will share an update when we know when this is going to be shipped or when it has been shipped.
r
Thanks for the update @Alberto Perdomo! I will let my team know about it
a
Just an additional note: the bug is in Prisma Client, so the fix is going to require an upgrade of the prisma npm package. I will have more information on Monday about when we plan to release this.
Hello, the team has been able to fix the bug, but it hasn’t been released yet. I hope to provide an update tomorrow.
🙌 2
r
Thanks for the update @Alberto Perdomo! We will rollback data proxy today until this fix is live but we are looking forward to it 🤞
a
Hello everyone! Just to let you know prisma 3.4.2 with the multi-byte character bugfix. You should be able to use it immediately with the Data Proxy as well.
🙌 2
cc @Rodrigo Oliveira
r
Thanks @Alberto Perdomo! I will update soon and get it out
It is working for us, thanks a lot @Alberto Perdomo!
👍 1
🙏 1