GraphQL request failed For the past two hours or ...
# prisma-data-platform
r
GraphQL request failed For the past two hours or so we've been seeing data proxy server failing requests intermittently. We didn't have any deploy making changes in the data proxy code. Do you know if Data Proxy is having a partial outage?
1
👍 1
cc @Pieter @Alberto Perdomo
a
Are you getting a specific error code back @Rodrigo Oliveira for the failed requests? I am thinking it could be perhaps that you are hitting limits?
r
@Alberto Perdomo We are not getting any specific code back, just GraphQL request failed for like 5 requests out of 30-50 per minute we run
a
I am not aware of any partial outages, but let me look into this.
r
@Alberto Perdomo Thanks, let me know if you need more information
p
@Alberto Perdomo does the data proxy use graphql under the hood or why would we get graphql errors in proxy.js?
a
The Client communicates with the Query Engine using GQL.
👍 1
We can confirm that we’re seeing elevated error rates and we’re investigating.
r
Thanks for the update @Alberto Perdomo!
p
CC @Scott Downes @Keenahn Jung
r
@Adam Haney
a
Hello, the issue has been mitigated and we are no longer seeing elevated error rates. We continue to monitor the systems to verify that the mitigation works as expected. @Rodrigo Oliveira @Pieter
BTW, we shipped 3.5.0 with more fine grained error handling and better error messages when using the Data Proxy in Prisma Client. I think if you upgraded to 3.5.0 there might be higher chances to get more helpful errors. @Rodrigo Oliveira
r
We are able to confirm that our systems have been restored to normal! Thanks a lot for looking into this @Alberto Perdomo!
🙏 1
a
I am glad to hear!
🙏 1
r
I will update Prisma Client to v3.5.0 soon enough, if not today but Monday to get use of the new functionality.
👍 1
s
I just logged into ask if anyone is using data proxy in production 😮 I'll probably not migrate my saas just yet..
r
@Sai Krishna It worked really well for us in the past ~2 weeks. We've got some service degradation today (5-10% of requests were failing) as we have about 30-50 rpm to the endpoints we are using data proxy with. Obviously today's partial outage affected a lot users in our platform and brought a few other services down, intermittently. Prisma team paid a lot of attention to the issues we've flagged and resolved them in a quick manner. Just giving you some insights of our experience so far for you to analyze what risks you can take and help with your decision.
s
Thank you for the detailed writeup @Rodrigo Oliveira 🙂 I'd still wait for some more time. Right now, I deployed my nextjs dashboard as a containerized nodejs-express app with auto-scaling. So, I don't have a connection pooling issue for a considerable amount of time.
🙌 2
a
Just wanted to provide some additional context: During the issues on Friday, it wasn’t a general issue but an issue with specific instances.
@Sai Krishna Hopefully soon we’ll be able to offer you the stability and confidence that you seek. If you can please give it a try, even if not for production workloads, that’d be awesome. We’re always eager to hear feedback!
🙌 1
👍 1
s
Thank you @Alberto Perdomo I will keep 👀