parse-server icon indicating copy to clipboard operation
parse-server copied to clipboard

Cloud Code Causing Server to Crash

Open jackintosh7 opened this issue 10 years ago • 2 comments

Hello,

I'm trying to use Parse's AnyPhone example on my parse server. The server runs fine, but as soon as I add the cloud code to the cloud directory, the server crashes.

I'm getting this error 2016-04-29T03:05:35.538222+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=app.herokuapp.com request_id=f18669e6-e255-46ea-a8bb-c409603984b8 fwd="24.189.195.105" dyno= connect= service= status=503 bytes= 2016-04-29T03:05:35.846438+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=app.herokuapp.com request_id=04e5ef78-45c9-40c8-ab8a-713e0eaa8790 fwd="24.189.195.105" dyno= connect= service= status=503 bytes=

I read that I need to remove all lines containing MasterKey and CurrentUser, which I have done.

Does anyone have any ideas?

jackintosh7 avatar Apr 29 '16 03:04 jackintosh7

Run it locally with VERBOSE=1 and see if you get any more informative log output. This is most likely due to syntax-errors and is more suited at SO perhaps.

bohemima avatar Apr 29 '16 11:04 bohemima

Yeah I would run this locally so you could see the stack immediately.. Pretty sure you'll find the answer.

gfosco avatar May 04 '16 00:05 gfosco