Django app: An error occurred in the application and your page could not be served

Issue

This Content is from Stack Overflow. Question asked by Ahsan Ali

My project is built in django + tailwindcss. I am trying to upload it in heroku but getting this 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. You can do this from the Heroku CLI with the command.

I am relatively new to django and was following a YT tutorial step by step still it didnt work. https://www.youtube.com/watch?v=UkokhawLKDU
This tutorial doesnt have anything to do with tailwindcss , do i have to run some commands for tailwind? what am i doing wrong?

Here is the output for heroku logs –tail

Warning: heroku update available from 7.53.0 to 7.63.4.
2022-09-17T16:53:56.309485+00:00 app[api]: Release v1 created by user ahsanalibalouch12345@gmail.com
2022-09-17T16:53:56.309485+00:00 app[api]: Initial release by user ahsanalibalouch12345@gmail.com
2022-09-17T16:53:56.497743+00:00 app[api]: Release v2 created by user ahsanalibalouch12345@gmail.com
2022-09-17T16:53:56.497743+00:00 app[api]: Enable Logplex by user ahsanalibalouch12345@gmail.com
2022-09-17T16:54:22.920882+00:00 heroku[router]: at=info code=H81 desc="Blank app" method=GET path="/" host=shrouded-cliffs-70022.herokuapp.com request_id=62d4d40d-ca5f-46c9-a992-5e92c56141b8 fwd="103.115.199.5" dyno= connect= service= status=502 bytes= protocol=https
2022-09-17T16:54:23.506721+00:00 heroku[router]: at=info code=H81 desc="Blank app" method=GET path="/favicon.ico" host=shrouded-cliffs-70022.herokuapp.com request_id=1034c961-9b8a-4286-80a3-bb531751b5fe fwd="103.115.199.5" dyno= connect= service= status=502 bytes= protocol=https
2022-09-17T16:59:49.841794+00:00 heroku[router]: at=info code=H81 desc="Blank app" method=GET path="/" host=shrouded-cliffs-70022.herokuapp.com request_id=989fcb86-466f-45b6-85dd-ad6bfef64b11 fwd="103.115.199.5" dyno= connect= service= status=502 bytes= protocol=https
2022-09-17T16:59:50.158999+00:00 heroku[router]: at=info code=H81 desc="Blank app" method=GET path="/favicon.ico" host=shrouded-cliffs-70022.herokuapp.com request_id=4fc6d292-3882-4e99-8bd4-ad27d11a4858 fwd="103.115.199.5" dyno= connect= service= status=502 bytes= protocol=https
2022-09-17T17:04:37.122707+00:00 heroku[router]: at=info code=H81 desc="Blank app" method=GET path="/" host=shrouded-cliffs-70022.herokuapp.com request_id=193403ef-0f04-4c83-b96f-0d6b901f84ac fwd="103.115.199.5" dyno= connect= service= status=502 bytes= protocol=https
2022-09-17T17:04:37.440588+00:00 heroku[router]: at=info code=H81 desc="Blank app" method=GET path="/favicon.ico" host=shrouded-cliffs-70022.herokuapp.com request_id=95322dc0-8744-4cfb-bfd4-a3874f45c68c fwd="103.115.199.5" dyno= connect= service= status=502 bytes= protocol=https
2022-09-17T17:04:55.000000+00:00 app[api]: Build started by user ahsanalibalouch12345@gmail.com
2022-09-17T17:05:14.000000+00:00 app[api]: Build failed -- check your build output: https://dashboard.heroku.com/apps/0eb56d15-2305-45f4-9e96-27f88526a0c9/activity/builds/59fbd3c6-e8f9-4a15-b8fb-a76a20c96927
2022-09-17T17:09:02.785138+00:00 app[api]: Set DISABLE_COLLECTSTATIC config vars by user ahsanalibalouch12345@gmail.com
2022-09-17T17:09:02.785138+00:00 app[api]: Release v3 created by user ahsanalibalouch12345@gmail.com
2022-09-17T17:09:14.000000+00:00 app[api]: Build started by user ahsanalibalouch12345@gmail.com
2022-09-17T17:09:39.103850+00:00 app[api]: Attach DATABASE (@ref:postgresql-silhouetted-86544) by user ahsanalibalouch12345@gmail.com
2022-09-17T17:09:39.103850+00:00 app[api]: Running release v4 commands by user ahsanalibalouch12345@gmail.com
2022-09-17T17:09:39.115277+00:00 app[api]: Release v5 created by user ahsanalibalouch12345@gmail.com
2022-09-17T17:09:39.115277+00:00 app[api]: @ref:postgresql-silhouetted-86544 completed provisioning, setting DATABASE_URL. by user ahsanalibalouch12345@gmail.com
2022-09-17T17:09:39.438999+00:00 app[api]: Release v6 created by user ahsanalibalouch12345@gmail.com
2022-09-17T17:09:39.438999+00:00 app[api]: Deploy 17fda1ec by user ahsanalibalouch12345@gmail.com
2022-09-17T17:09:45.000000+00:00 app[api]: Build succeeded
2022-09-17T17:10:24.228786+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path="/" host=shrouded-cliffs-70022.herokuapp.com request_id=9e227bea-39cb-4bab-9026-8d5b1531e426 fwd="103.115.199.5" dyno= connect= service= status=503 bytes= protocol=https
2022-09-17T17:10:25.506522+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path="/favicon.ico" host=shrouded-cliffs-70022.herokuapp.com request_id=74d11f80-409f-44b1-8f68-76000eede0dd fwd="103.115.199.5" dyno= connect= service= status=503 bytes= protocol=https
2022-09-17T17:10:49.747809+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path="/" host=shrouded-cliffs-70022.herokuapp.com request_id=4b898667-1004-48be-bc32-dc738807c831 fwd="103.115.199.5" dyno= connect= service= status=503 bytes= protocol=https
2022-09-17T17:10:50.630274+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path="/favicon.ico" host=shrouded-cliffs-70022.herokuapp.com request_id=1db6537d-fded-493e-885d-75df62cf284d fwd="103.115.199.5" dyno= connect= service= status=503 bytes= protocol=https
2022-09-17T17:47:16.873031+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path="/" host=shrouded-cliffs-70022.herokuapp.com request_id=27b853e2-9fd6-4d41-91d6-bb1ec2ce565e fwd="103.115.199.5" dyno= connect= service= status=503 bytes= protocol=https
2022-09-17T17:47:17.956930+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path="/favicon.ico" host=shrouded-cliffs-70022.herokuapp.com request_id=0ad96c08-b911-40fe-93c8-a5b52521d386 fwd="103.115.199.5" dyno= connect= service= status=503 bytes= protocol=https
2022-09-17T17:48:49.000000+00:00 app[api]: Build started by user ahsanalibalouch12345@gmail.com
2022-09-17T17:49:08.210851+00:00 app[api]: Release v7 created by user ahsanalibalouch12345@gmail.com
2022-09-17T17:49:08.210851+00:00 app[api]: Deploy cc453a62 by user ahsanalibalouch12345@gmail.com
2022-09-17T17:49:14.000000+00:00 app[api]: Build succeeded
2022-09-17T17:49:26.797295+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path="/" host=shrouded-cliffs-70022.herokuapp.com request_id=db38a197-2a4e-4ad8-9782-8e106821f428 fwd="103.115.199.5" dyno= connect= service= status=503 bytes= protocol=https



Solution

This question is not yet answered, be the first one who answer using the comment. Later the confirmed answer will be published as the solution.

This Question and Answer are collected from stackoverflow and tested by JTuto community, is licensed under the terms of CC BY-SA 2.5. - CC BY-SA 3.0. - CC BY-SA 4.0.

people found this article helpful. What about you?