Skip to content

Instantly share code, notes, and snippets.

@cbrammer
Created February 26, 2014 15:34
Show Gist options
  • Save cbrammer/9231728 to your computer and use it in GitHub Desktop.
Save cbrammer/9231728 to your computer and use it in GitHub Desktop.
web server dieing
Error: Can't set headers after they are sent.
at ServerResponse.OutgoingMessage.setHeader (http.js:691:11)
at ServerResponse.res.setHeader (/opt/node/app/node_modules/express/node_modules/connect/lib/patch.js:62:20)
at next (/opt/node/app/node_modules/express/node_modules/connect/lib/http.js:166:13)
at pass (/opt/node/app/node_modules/express/lib/router/index.js:219:24)
at nextRoute (/opt/node/app/node_modules/express/lib/router/index.js:209:7)
at callbacks (/opt/node/app/node_modules/express/lib/router/index.js:274:11)
at callbacks (/opt/node/app/node_modules/express/lib/router/index.js:277:9)
at callbacks (/opt/node/app/node_modules/express/lib/router/index.js:277:9)
at callbacks (/opt/node/app/node_modules/express/lib/router/index.js:277:9)
at callbacks (/opt/node/app/node_modules/express/lib/router/index.js:277:9)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment