a year ago
Hi, I have backend (fastapi+python) and frontend (.next)
Today I've encountered with problem that frontend is not working from time to time. at such moments I am checking API calls to the backend - they are working.
but frontend comes to login page and not allow to connect with issue (below).
then after sometime it comes back to working.
Could it be that I hit some memory limit or something? Or could you help please understand what could be the issue? Thank you in advance!
Auth error: Error: An unexpected error occurred: TypeError: fetch failed
at Object.authorize (/app/.next/server/chunks/610.js:1:9611)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Object.c (/app/.next/server/chunks/88.js:25:4505)
at async _ (/app/.next/server/chunks/88.js:1:108044)
at async a (/app/.next/server/chunks/88.js:25:18503)
at async e.length.t (/app/.next/server/chunks/88.js:25:19993)
at async /app/node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js:6:37010
at async eC.execute (/app/node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js:6:27552)
at async eC.handle (/app/node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js:6:38344)
at async doRender (/app/node_modules/next/dist/server/base-server.js:1352:42)
1 Replies
a year ago
Hello,
We would need more than An unexpected error occurred: TypeError: fetch failed to help here, admittedly that is not telling us anything about the issue, please provide more verbose errors.