Sessions error? #313

motionworks opened this Issue Jul 4, 2011 · 1 comment


None yet
2 participants

Got this error while on a stress test :

Error: Can't set headers after they are sent.
at ServerResponse. (http.js:526:11)
at ServerResponse.setHeader (/node_modules/express/node_modules/connect/lib/patch.js:47:22)
at next (/node_modules/express/node_modules/connect/lib/http.js:168:13)
at param (/node_modules/express/lib/router/index.js:230:9)
at pass (/node_modules/express/lib/router/index.js:232:6)
at Router._dispatch (/node_modules/express/lib/router/index.js:255:4)
at Object.handle (/node_modules/express/lib/router/index.js:45:10)
at next (/node_modules/express/node_modules/connect/lib/http.js:204:15)
at next (/node_modules/connect/lib/http.js:156:23)
at pass (/node_modules/connect/lib/middleware/router.js:195:9)


jonathanong commented Sep 13, 2013

hopefully you've figured out the reason for this error after 2 years of struggling with node like the rest of us.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment