ga-wdi-boston / capstone-project

Other
3 stars 28 forks source link

deployment issues, error occurred on back end...and now I can't serve the back end locally #854

Closed jillrizley closed 7 years ago

jillrizley commented 7 years ago

Followed the express-api-deployment guide and the back end just says

Application error An error occurred in the application and your page could not be served. If you are the application owner, check your logs for details.

on the heroku link. Not sure if I did something incorrectly. So far the front end looks fine! Help please!

jillrizley commented 7 years ago

I also can't serve my back end now...so I can't really do anything until I figure this out!

jillrizley commented 7 years ago

Additionally getting these error messages when I try to sign in on the deployed url on the front end:

vendor.js:9723 POST https://rocky-scrubland-71771.herokuapp.com/sign-up 503 (Service Unavailable)
send @ vendor.js:9723
ajax @ vendor.js:9330
signUp @ no-conflict.js:13
onSignUp @ no-conflict.js:13
dispatch @ vendor.js:5363
elemData.handle @ vendor.js:5171
jillrizley.github.io/:1 XMLHttpRequest cannot load https://rocky-scrubland-71771.herokuapp.com/sign-up. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://jillrizley.github.io' is therefore not allowed access. The response had HTTP status code 503.
jillrizley commented 7 years ago

fixed it! forgot to merge in a branch before deploying!