Application failed to respond

Im getting this error whenever im deploying my Django application.I'm using docker. Here is the link to my github repo https://github.com/midhun98/hospital_site
GitHub
GitHub - midhun98/hospital_site: Hospital site for Jayanthi Hospital
Hospital site for Jayanthi Hospital. Contribute to midhun98/hospital_site development by creating an account on GitHub.
26 Replies
Percy
Percy4mo ago
Project ID: fd0bd18d-392d-4b0d-af5c-395356468583
MIGHTY_MIDHUN
MIGHTY_MIDHUNOP4mo ago
fd0bd18d-392d-4b0d-af5c-395356468583
MIGHTY_MIDHUN
MIGHTY_MIDHUNOP4mo ago
No description
MIGHTY_MIDHUN
MIGHTY_MIDHUNOP4mo ago
No description
Brody
Brody4mo ago
Railway Docs
Fixing Common Errors | Railway Docs
Documentation for Railway
MIGHTY_MIDHUN
MIGHTY_MIDHUNOP4mo ago
I'm using docker in my app and the docs dont help me. it now returns HTTP ERROR 404
Brody
Brody4mo ago
hmmm, not sure how those docs have anything to do with docker, they are applicable for every app you could run on railway that 404 would be the code your app is returning
MIGHTY_MIDHUN
MIGHTY_MIDHUNOP4mo ago
this is my dockerfile FROM python:3.12 ENV PYTHONDONTWRITEBYTECODE=1 ENV PYTHONUNBUFFERED=1 WORKDIR /app COPY requirements.txt . RUN pip install --upgrade pip RUN pip install -r requirements.txt COPY . . EXPOSE 8000 CMD ["gunicorn", "--bind", "0.0.0.0:8000", "hospital_site.wsgi:application"]
MIGHTY_MIDHUN
MIGHTY_MIDHUNOP4mo ago
GitHub
hospital_site/Dockerfile at master · midhun98/hospital_site
Hospital site for Jayanthi Hospital. Contribute to midhun98/hospital_site development by creating an account on GitHub.
Brody
Brody4mo ago
your own code is returning the 404 now, nothing to do with a dockerfile do you have anything registered for the root route?
MIGHTY_MIDHUN
MIGHTY_MIDHUNOP4mo ago
i didnt understand. i mean nothing is loading in django app the django app was working properly till yesterday. but i dont know how it crashed today
Brody
Brody4mo ago
^
MIGHTY_MIDHUN
MIGHTY_MIDHUNOP4mo ago
Can you look into my repo. Im completely stuck. I dont know whats causing the issue. No issues in my local
MIGHTY_MIDHUN
MIGHTY_MIDHUNOP4mo ago
No description
Brody
Brody4mo ago
something you changed yesterday broke something, maybe you will get more info if you enable debug mode
MIGHTY_MIDHUN
MIGHTY_MIDHUNOP4mo ago
i enabled debug mode. but it wont show any erros
Brody
Brody4mo ago
?
MIGHTY_MIDHUN
MIGHTY_MIDHUNOP4mo ago
yes
MIGHTY_MIDHUN
MIGHTY_MIDHUNOP4mo ago
i mean its not a standard 404 page by my django app see screenshot
No description
Brody
Brody4mo ago
that would not be a 404 page that railway would return as you would see the railway logo, this is an application level issue.
MIGHTY_MIDHUN
MIGHTY_MIDHUNOP4mo ago
i have debug turned on in my project. it would show some django error messages if it was my app issue
Brody
Brody4mo ago
I'm sorry but that is not a page that railway would show
MIGHTY_MIDHUN
MIGHTY_MIDHUNOP4mo ago
any other solution tried my best in resolving
Brody
Brody4mo ago
you said the applicable worked up until recently, I would try reverting your repo to before you made that breaking change
MIGHTY_MIDHUN
MIGHTY_MIDHUNOP4mo ago
ok Closing this thread. It was a mistake from my side sorry Brody if I wasted ur time
Brody
Brody4mo ago
no worries at all, in the future, please don't be so quick to think it's a platform issue
Want results from more Discord servers?
Add your server