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

Application Error using Deploy with Heroku button

Open Alexintosh opened this issue 10 years ago • 15 comments

I used the Deploy with Heroku button but I'm getting an Application Error for every request I tried.

Any help?

Alexintosh avatar Feb 25 '16 13:02 Alexintosh

https://github.com/ParsePlatform/parse-server-example/blob/master/index.js needs to be updated to use serverURL as extra required parameter. (See https://github.com/ParsePlatform/parse-server/commit/81f5c682d4be392843de42d9c2b5b2a09a8367c8)

nickmeessen avatar Feb 25 '16 15:02 nickmeessen

I was just going to add this issue - we've (Heroku) have seen an uptick in this error today.

johnbeynon avatar Feb 25 '16 16:02 johnbeynon

Also, app.json needs to be updated to include it when the app is being deployed from Heroku buttons.

johnbeynon avatar Feb 25 '16 16:02 johnbeynon

Added here: https://github.com/ParsePlatform/parse-server-example/pull/75

rogerhu avatar Feb 25 '16 17:02 rogerhu

I'm still running into problems deploying with the button. There are 2 new fields in the Config Variables section: PARSE_SERVER_URL (this starts empty) SERVER_URL (prepopulated with: http://myapp.herokuapp.com/parse )

Can anyone give examples of what those fields should be filled in with?

bplus avatar Feb 25 '16 18:02 bplus

Trying to clean it up: https://github.com/ParsePlatform/parse-server-example/pull/77

rogerhu avatar Feb 25 '16 18:02 rogerhu

You probably want to put http://localhost/your_parse_mount into SERVER_URL. @rogerhu removed the PARSE_SERVER_URL one, which was added accidentally.

drew-gross avatar Feb 25 '16 18:02 drew-gross

I'm up and running with a SERVER_URL of:

https://[myappname].herokuapp.com/parse

Thanks for the help!

bplus avatar Feb 25 '16 18:02 bplus

Apparently http://localhost doesn't work. I'm going to submit a PR to point to https://[myappname].herokuapp.com/parse

rogerhu avatar Mar 03 '16 08:03 rogerhu

I'm having this exact same issue again....please help.

Logs: 2016-03-23T03:33:31.312222+00:00 app[web.1]: npm ERR! npm owner ls parse-server-example 2016-03-23T03:33:31.312323+00:00 app[web.1]: npm ERR! There is likely additional logging output above. 2016-03-23T03:33:31.315828+00:00 app[web.1]: 2016-03-23T03:33:32.057890+00:00 heroku[web.1]: Process exited with status 1 2016-03-23T03:33:34.400028+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=stylme.herokuapp.com request_id=f8e37e7c-0ae7-4e2f-a086-a370f6012039 fwd="152.3.43.136" dyno= connect= service= status=503 bytes=

kbyatnal avatar Mar 23 '16 03:03 kbyatnal

when i try to deploy with parse server example it successfully deployed but when i open the app it says application error . screen shot 2016-03-24 at 10 18 00 am

kukkadapukarhtik avatar Mar 24 '16 04:03 kukkadapukarhtik

I am having this exact issue. I don't know what I could do differently.

rendragon83 avatar Mar 29 '16 20:03 rendragon83

Hey guys ..i m deploying parse on heroku but i m getting this error : Make sure to star the parse-server repo on GitHub! I have tried but still failing ..how do u solve that ?

kevinjam avatar Apr 13 '16 17:04 kevinjam

I'm having the same issue, the server was working fine a week ago. I tried using it today and I am now encountering that issue. I already have SERVER_URL.

jackintosh7 avatar Apr 27 '16 02:04 jackintosh7

🎉 This change has been released in version 1.2.0

parseplatformorg avatar Jun 05 '23 23:06 parseplatformorg