I triggered a redeploy on production/app host site and now I get a 500 Internal Server Error - only for a specific page, it seems. How can I go about identifying what caused it without access to the server logs?
There have been no actual code changes with the new deploy, so whatever caused it must be related to changes made in Plasmic Studio.
After a few minutes and a few dozen refreshes, without changing anything, the site resurfaced and I no longer get a server error.
I would still like to know what exactly happened there.
If you are able to deploy to a host like Netlify or Vercel, then you can see the error logs - just sharing in case it unblocks you, that would be the fastest way for you to track down the issue
Ok, I found the error in Netlify logs - it was under Functions > Function Next.js ISR Handler:
Jun 18, 01:22:13 PM: b0ec3187 ERROR FetchError: request to <https://codegen.plasmic.app/api/v1/loader/code/published?platform=nextjs&projectId=6YHa>... failed, reason: Client network socket disconnected before secure TLS connection was establishedJun 18, 01:22:13 PM: b0ec3187 ERROR at ClientRequest.<anonymous> (/var/task/node_modules/node-fetch-cjs/dist/index.js:5372:14)Jun 18, 01:22:13 PM: b0ec3187 ERROR at ClientRequest.emit (node:events:513:28)Jun 18, 01:22:13 PM: b0ec3187 ERROR at TLSSocket.socketErrorListener (node:_http_client:502:9)Jun 18, 01:22:13 PM: b0ec3187 ERROR at TLSSocket.emit (node:events:513:28)Jun 18, 01:22:13 PM: b0ec3187 ERROR at emitErrorNT (node:internal/streams/destroy:151:8)Jun 18, 01:22:13 PM: b0ec3187 ERROR at emitErrorCloseNT (node:internal/streams/destroy:116:3)Jun 18, 01:22:13 PM: b0ec3187 ERROR at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {Jun 18, 01:22:13 PM: b0ec3187 ERROR type: 'system',Jun 18, 01:22:13 PM: b0ec3187 ERROR errno: 'ECONNRESET',Jun 18, 01:22:13 PM: b0ec3187 ERROR code: 'ECONNRESET',Jun 18, 01:22:13 PM: b0ec3187 ERROR erroredSysCall: undefinedJun 18, 01:22:13 PM: b0ec3187 ERROR }