Jan Piotrowski
04/22/2023, 12:20 AMVercel
deploy button from the README, what are the correct values for the required env variables NEXT_PUBLIC_WEBAPP_URL
and NEXTAUTH_URL
?
For the initial deployment I can just leave them on localhost:3000
, but later that value leads to problems like the logo not loading 😕Jan Piotrowski
04/22/2023, 12:21 AMTypeError: fetch failed
at Object.fetch (node:internal/deps/undici/undici:14062:11)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async handler (/var/task/apps/web/.next/server/pages/api/logo.js:95:22)
at async Object.apiResolver (/var/task/node_modules/next/dist/server/api-utils/node.js:372:9)
at async NextNodeServer.runApi (/var/task/node_modules/next/dist/server/next-server.js:513:9)
at async Object.fn (/var/task/node_modules/next/dist/server/next-server.js:815:35)
at async Router.execute (/var/task/node_modules/next/dist/server/router.js:243:32)
at async NextNodeServer.runImpl (/var/task/node_modules/next/dist/server/base-server.js:432:29)
at async NextNodeServer.handleRequestImpl (/var/task/node_modules/next/dist/server/base-server.js:375:20)
at async /var/task/node_modules/next/dist/server/base-server.js:157:99
at async module.exports (/var/task/apps/web/___next_launcher.cjs:29:9) {
cause: Error: connect ECONNREFUSED 127.0.0.1:3000
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1487:16) {
errno: -111,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '127.0.0.1',
port: 3000
}
}
RequestId: ead8cb2c-9f9e-4d6a-8feb-bdf359429b62 Error: Runtime exited with error: exit status 1
Runtime.ExitError