Hi, I've been getting this message after deploying...
# prisma1-community
y
Hi, I've been getting this message after deploying to a demo prod server hosted on heroku. Got any ideas what this could mean? Any insight would help. Thanks!
Copy code
Deploying service `myApplication` to stage `prod` to server `myApp` !

ERROR: GraphQL Error (Code: 503)

{
  "error": "<!DOCTYPE html>\n\t<html>\n\t  <head>\n\t\t<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n\t\t<meta charset=\"utf-8\">\n\t\t<title>Application Error</title>\n\t\t<style media=\"screen\">\n\t\t  html,body,iframe {\n\t\t\tmargin: 0;\n\t\t\tpadding: 0;\n\t\t  }\n\t\t  html,body {\n\t\t\theight: 100%;\n\t\t\toverflow: hidden;\n\t\t  }\n\t\t  iframe {\n\t\t\twidth: 100%;\n\t\t\theight: 100%;\n\t\t\tborder: 0;\n\t\t  }\n\t\t</style>\n\t  </head>\n\t  <body>\n\t\t<iframe src=\"//www.herokucdn.com/error-pages/application-error.html\"></iframe>\n\t  </body>\n\t</html>",
  "status": 503
}

Get in touch if you need help: <https://slack.prisma.io>
To get more detailed output, run $ export DEBUG="*"
 !    'ENAMETOOLONG': spawn ENAMETOOLONG
r
Hey @yourethejudge 👋 Prisma doesn’t thrown any HTML errors, so could you deploy again on a clean instance and check again?
l
My impression is that your server isn't running (or not running properly, or running on wrong type of instance). The GraphQL request of your app (?) fails as it tries to connect to your service, but heroku figures this doesn't work and returns an error page in HTML - maybe it thinks this should be a web server? Or that Heroku by default thinks it is a web server if nothing answers. Run heroku logs on your server to see whats going on.
y
Hi, thanks for the insights! Just more context to the problem I’m having. The initial deploy — whenever I delete my service and then deploy — seems to always work fine, but every deployment after that gets this error. I’m only trying to deploy a Prisma server based on my datamodel. The heroku error I’m getting is
Copy code
Error R14 (Memory quota exceeded)
I’m only using Hobby-dev plan so this makes sense as my data model has reached 268 lines. Anyway that explains it! Thanks guys!
💯 1
In addition to that, I found out from the Heroku logs that my request took longer than 30s to process so it threw a request timeout error (H12) and returned a 503 status. I’m not quite sure how to fix this issue though.