-
What happens Few times a day we get this error, where some connections close unexpectedly. We are not really able to replicate it locally, and apparently the ws server does not crash/close. Open questions When in the process is such error triggered? Full log
Packages
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hey there, the error Lines 135 to 139 in eea18ce The error probably stems from the If you manage to reproduce this locally, I'd be more than happy to dig in and try to figure out the root cause! Sorry for the wait and if I was not very helpful. |
Beta Was this translation helpful? Give feedback.
Hey there, the error
write EPIPE
means that the program tried to write to a closed socket. We already prevent writing to a non-ready socket:graphql-ws/src/use/ws.ts
Lines 135 to 139 in eea18ce
The error probably stems from the
ws
library itself or some internal Node issue.If you manage to reproduce this locally, I'd be more than happy to dig in and try to figure out the root cause! Sorry for the wait and if I was not very helpful.