Hi All,
We have two problems.
1. We got errors in our node app and it crashed. Error messages are:
URIError: URI malformed
at decodeURIComponent (native)
at Object.parseCookie (/srv/data/server/node-v0.4.2/lib/node/.npm/connect/1.0.6/package/lib/utils.js:108:18)
at Object.cookieParser [as handle] (/srv/data/server/node-v0.4.2/lib/node/.npm/connect/1.0.6/package/lib/middleware/cookieParser.js:39:29)
at next (/srv/data/server/node-v0.4.2/lib/node/.npm/connect/1.0.6/package/lib/http.js:204:15)
at Object.bodyParser [as handle] (/srv/data/server/node-v0.4.2/lib/node/.npm/connect/1.0.6/package/lib/middleware/bodyParser.js:76:7)
at next (/srv/data/server/node-v0.4.2/lib/node/.npm/connect/1.0.6/package/lib/http.js:204:15)
at Object.methodOverride [as handle] (/srv/data/server/node-v0.4.2/lib/node/.npm/connect/1.0.6/package/lib/middleware/methodOverride.js:35:5)
at next (/srv/data/server/node-v0.4.2/lib/node/.npm/connect/1.0.6/package/lib/http.js:204:15)
at Object.handle (/srv/data/server/node-v0.4.2/lib/node/.npm/express/2.0.0rc/package/lib/http.js:73:5)
at next (/srv/data/server/node-v0.4.2/lib/node/.npm/connect/1.0.6/package/lib/http.js:204:15)
I have two questions here: 1). what condition does this error happen? 2) how can we protect our app from crashing at this error?
2. Our app is running behind a nginx proxy. After some period, the app will have no response and timeout, nginx returns a 504 error. Do you have similar problems?
Regards,
Shawn Meng
Blog:
mengxy.net