R
Railway

✋|help

Django backend fails to respond

TTonquin8/26/2023
When I click on the url for my django backend (I am using react frontend in a separate service) I get an application failed to respond error. Not sure why this is the case, the deployment logs don't seem to indicate anything is wrong.

Deployment logs and applicated failed screen are in the attached images. Any help would be greatly appreciated!

This is my start command:

"startCommand": "python manage.py migrate && gunicorn -b 0.0.0.0 -p $PORT backend.wsgi"
Solution:
Set an environment variable on your service as PORT with the value 8000
Jump to solution
TTonquin8/26/2023
N/A
Solution
MMantisInABox8/26/2023
Set an environment variable on your service as PORT with the value 8000
MMantisInABox8/26/2023
It will redeploy and will work
TTonquin8/26/2023
Okay thanks, trying that right now
Amazing! Thanks so much 🙂

Looking for more? Join the community!

Recommended Posts
ReflexHi, someone deploy reflex.dev in railway? do you have a guide?The new log explorer is great, Is it possible to show the service name in there ?Currently in the log explorer the service name is an ID and I was wondering if you plan to show the What is a good / recommended resource use for a web app? Plus question about scaling.I am deploying a few applications for a client of mine. It is a multi-tenant app made in sveltekit. How to put site on maintenance mode in railway?hello everyone how do i put a site on maintenance mode in railway or 'page can not be reached' mode Service not updating to Hobby specshey! I don't know if I'm doing something wrong but I paid for the hobby plan but my service still haerror on index fileI have an index file in a folder that exports all the components in that folder for easier importinOdoo Community EditionI would like to know if we can setup Odoo in railway? The odoo image is built with docker using thiWebsocket disconnectingHey, I have an app that uses a websocket (hosted on railway) but for some reason every once in a whinpm WARN config production Use `--omit=dev` instead when trying to start Nestjs appI'm trying to deploy my app (https://github.com/Omniforce-Technologies/omniforce-asset-store/tree/deDjangoHello good people of Railway! I would like to ask for a bit of help and advice about Django deploymeI have a custom domain from SuperHostingI have this doman briefeats.eu and I want to configure it to point to my angular app Currently I haDNS settings not being accepted by domain host.I'm finalizing a deployment of a React.js frontend only site, I got the green confirmation of the siWinston logs not appearing in deployment logsIn my node.js deployment if I do a console.log it appears normally in deployment logs, but using windeploy logs say nuxt "start" is an unknown command. Production and development sites both crashed.😫CMD Line accessI freaking swear I hate this so much I JUST WANT TO BE ABLE TO USE THE COMMAND LINE <:sadcat:7868689Laravel cron jobsHow can I run php artisan schedule:work every minute?Postgres drops connection when inactive, is this by default?I'm developing a node app using AdonisJS@5 and on a prolonged inactivity period (more than 5 hours) Fontconfig to canvasHi, I've been using the node-canvas in default railway when I use that, only libuuid and libGL are i