Description
Please read the following instructions carefully.
Check out #1271 for an ideal bug report.
The closer your issue report is to that one, the more likely we are to be able to help, and the more likely we will be to fix the issue quickly!
Many members of the community use Stack Overflow and Server Fault to ask questions.
Read through the existing questions or ask your own!
- Stack Overflow: http://stackoverflow.com/questions/tagged/parse.com
- Server Fault: https://serverfault.com/tags/parse
For database migration help, please file a bug report at https://parse.com/help#report
Make sure these boxes are checked before submitting your issue -- thanks for reporting issues back to Parse Server!
- [ x] You've met the prerequisites: https://github.com/ParsePlatform/parse-server/wiki/Parse-Server-Guide#prerequisites.
- [ x] You're running the latest version of Parse Server: https://github.com/ParsePlatform/parse-server/releases
- [ x] You've searched through existing issues: https://github.com/ParsePlatform/Parse-Server/issues?utf8=%E2%9C%93&q=is%3Aissue Chances are that your issue has been reported or resolved before.
- [ x] You have filled out every section below. Issues without sufficient information are more likely to be closed.
Issue Description
While looking into a cloud code issue which I fixed, I saw this issue in my Heroku logs and Parse Dashboard logs.. I have no idea what this could be but doesnt sound to good.
Not sure how to debug this, but needed to provide this to the community.
I should note rolling back to 2.2.17 this does not happen.. :/
2016-08-24T18:17:46.973Z - Uncaught internal server error. [Error: Can't set headers after they are sent.] Error: Can't set headers after they are sent.
at ServerResponse.OutgoingMessage.setHeader (_http_outgoing.js:346:11)
at ServerResponse.header (/app/node_modules/express/lib/response.js:695:10)
at allowCrossDomain (/app/node_modules/parse-server/lib/middlewares.js:229:7)
at Layer.handle [as handle_request] (/app/node_modules/parse-server/node_modules/express/lib/router/layer.js:95:5)
at next (/app/node_modules/parse-server/node_modules/express/lib/router/route.js:131:13)
at Route.dispatch (/app/node_modules/parse-server/node_modules/express/lib/router/route.js:112:3)
at Layer.handle [as handle_request] (/app/node_modules/parse-server/node_modules/express/lib/router/layer.js:95:5)
at /app/node_modules/parse-server/node_modules/express/lib/router/index.js:277:22
at param (/app/node_modules/parse-server/node_modules/express/lib/router/index.js:349:14)
at param (/app/node_modules/parse-server/node_modules/express/lib/router/index.js:365:14)
Environment Setup
- Server
- parse-server version (Be specific! Don't say 'latest'.) : 2.2.18
- Operating System: Heroku Dyno
- Hardware: Heroku Dyno
- Localhost or remote server? (AWS, Heroku, Azure, Digital Ocean, etc): Heroku Dyno
- Database
- MongoDB version: 3.2
- Storage engine: WiredTiger
- Hardware: M1 Cluster
- Localhost or remote server? (AWS, mLab, ObjectRocket, Digital Ocean, etc): Heroku