Blank admin page with "ECONNRESET" error in log

Required System information

  • Node.js version: v20.9.0
  • NPM version: v10.1.0
  • Strapi version: v4.20.1
  • Database: postgres
  • Operating system: Ubuntu-Server-22.04-x64
  • Is your project Javascript or Typescript: Javascript

Describe the bug

It was running smoothly for months and suddenly this happened this evening.

  • The “admin” page was blank with “Failed to load resource: net::ERR_QUIC_PROTOCOL_ERROR” in the network tab.
  • The welcome page at “/” was working fine.
  • The APIs and DB connection was still working.
  • When trying to connect to “/admin” page, this error appear in the log:

0|strapi | Error: read ECONNRESET
0|strapi | at TCP.onStreamRead (node:internal/stream_base_commons:217:20)
0|strapi | at TCP.callbackTrampoline (node:internal/async_hooks:130:17)

or

0|strapi | Error: write ECONNRESET
0|strapi | at afterWriteDispatched (node:internal/stream_base_commons:160:15)
0|strapi | at writeGeneric (node:internal/stream_base_commons:151:3)
0|strapi | at Socket._writeGeneric (node:net:962:11)
0|strapi | at Socket._write (node:net:974:8)
0|strapi | at doWrite (node:internal/streams/writable:411:12)
0|strapi | at clearBuffer (node:internal/streams/writable:572:7)
0|strapi | at Writable.uncork (node:internal/streams/writable:351:7)
0|strapi | at connectionCorkNT (node:_http_outgoing:951:8)
0|strapi | at process.processTicksAndRejections (node:internal/process/task_queues:81:21)

Steps to reproduce the behavior

  • Sorry but i couldn’t reproduce either. I pull the code on to my local and run it. Everything is fine.

Additional context

I tried to change the node version, strapi version, restart postgres, delete the package-lock and reinstall. None of those worked to me.

Please help me, this is a production application so I really need your help.
Error picture
Blank admin page