Next.js Discord

Discord Forum

Application error: a server-side exception has occurred (see the server logs for more information).

Answered
American Robin posted this in #help-forum
Open in Discord
American RobinOP
Application error: a server-side exception has occurred (see the server logs for more information).

Digest: 1389973523
Answered by American Robin
o i see its not my fault there
View full answer

40 Replies

American RobinOP
im getting this error:
9 hours ago everything worked fine
checked the logs, there is nothing
American RobinOP
im getting this error in the prisma cloud: Cannot fetch data from service:
certificate has expired
Cannot fetch data from service:
fetch failed
at Qn.handleRequestError (/var/task/node_modules/@prisma/client/runtime/edge.js:36:7072)
at Qn.handleAndLogRequestError (/var/task/node_modules/@prisma/client/runtime/edge.js:36:6460)
at Qn.request (/var/task/node_modules/@prisma/client/runtime/edge.js:36:6158)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async u (/var/task/node_modules/@prisma/client/runtime/edge.js:41:10106)
at async page (/var/task/.next/server/app/page.js:1996:27) {
code: 'P5010',
clientVersion: '5.2.0',
meta: undefined
}
[Error: An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error.] {
digest: '3361686736'
}
any ideas? what they mean
9 hours ago everything worked fine
American RobinOP
do i have to update / renew my certificiate? if yes which one where ?
American RobinOP
o i see its not my fault there
Answer
American RobinOP
i guess
Yeah if the data source doesn’t work, the fetching data obviously doesn’t work either
@joulev Yeah if the data source doesn’t work, the fetching data obviously doesn’t work either
American RobinOP
Can I make a workaround? If there is in issue with one db?
I mean if example this happens again, it would use a back up db?
not the edge one tho
American RobinOP
nono
It depends entirely on how you wrote your app
American RobinOP
It’s in the dev env
It connects to the Prisma cloud
well mhmmm
I see what you mean
But do I need then 2 more env variables?
I don’t know how to do that though… sorry about that. Indeed db failure is something to take care about but all my apps currently assume db always works at all time
American RobinOP
Oh i See
Cause I can’t have the same
Env variable names
In vercel
Someone else might be able to find a solution
American RobinOP
and I don’t know if it would work if I rename them how I want to
Idt prisma can support a fallback db
At least without significant configuration
Though you can look it up
American RobinOP
oh
That’s good to know
Currently I’m using the edge function Prisma proxy thingy
I could make that if it’s possible I guess
I mean I could also make a info / error on my own site
Smth like: the website rn has some limitations in speed etc
so the user knows it aswell on my own site
American RobinOP
its fixed btw now, from prisma