Error: Cannot fetch data from service:getaddrinfo ENOTFOUND aws-us-east-1.prisma-data.com
Any idea why we'd be getting this error? The database connection seems to be working for us otherwise, but seeing this error in a few places in our logs
2 Replies
@elie Are you sure this is a Prisma thing? Regardless, usually I see ENOTFOUND when there is a DNS problem or I forget the protocol in a URL
Good question. I don’t know where the issue is coming from. I’m using Vercel. I double checked the connection string is correct. And it works correctly for other parts of the app. So the connection string has to be correct.
The area where it’s consistently popping up is our cron jobs. But I don’t know why that would be different to other parts of our app.