A user has reported this error crashing the server.
file:///usr/local/lib/node_modules/postgres/src/connection.js:255
const x = socket.write(chunk, fn)
^
TypeError: Cannot read properties of null (reading 'write')
at Immediate.nextWrite (file:///usr/local/lib/node_modules/@rocicorp/zero/node_modules/postgres/src/connection.js:255:22)
at process.processImmediate (node:internal/timers:485:21)
at process.callbackTrampoline (node:internal/async_hooks:130:17)
Node.js v22.15.0
This appears to point to this line of code:
|
const x = socket.write(chunk, fn) |
The only other helpful information from our logs is the fact that the server was heavily loaded and requests to other services were timing out.
Is this a known issue and is there anything we can do to investigate how this happens (or how to prevent it)?
A user has reported this error crashing the server.
This appears to point to this line of code:
postgres/src/connection.js
Line 255 in 5c8135f
The only other helpful information from our logs is the fact that the server was heavily loaded and requests to other services were timing out.
Is this a known issue and is there anything we can do to investigate how this happens (or how to prevent it)?