Server Crashing with "Cannot set headers after they are sent to the client" #634
Labels
Milestone
Comments
Closed
|
Currently I am just using a catch-all error handler and running off the source code rather than the global package. So just having a handler for that error would be a quick fix. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


Steps to reproduce the issue, if applicable. Include the actual command and output and/or stack trace.
Not sure sorry as there is a lot of traffic on the server, just appears to all be normal GET requests.
What did you expect to happen?
The server to not crash. Ideally the error would be returned as a 503.
Tell us about your environment
Windows Server 2016
Node.js v12.14.1
Latest Version (Embedded/Global CLI Version from NPM)
Other information (related issues, suggestions for a fix, etc):
As far as I am aware the only thing that really needs to be done is catching the error and returning 503.
The text was updated successfully, but these errors were encountered: