502 Bad gateway error adter sucessfull pyhton djang ecommerce deploy

szilve60
HOBBY

6 months ago

I tried to deploy my python django ecommerce. The deploy is sucessfull, python migrations works fine, but when i open the url, it shows 502 error, the deploy logs only show the gunicorn.conf.py set up, and i couldn't detect what is the error cause. If i delete the - --log-level debug, the deploy log only shows this:

Starting Container

Operations to perform:

Apply all migrations: admin, auth, contenttypes, payment, sessions, store

Running migrations:

No migrations to apply.

[2025-01-09 14:54:31 +0000] [1] [INFO] Starting gunicorn 23.0.0

[2025-01-09 14:54:31 +0000] [1] [INFO] Listening at: http://0.0.0.0:8080 (1)

[2025-01-09 14:54:31 +0000] [1] [INFO] Using worker: sync

[2025-01-09 14:54:31 +0000] [5] [INFO] Booting worker with pid: 5

Awaiting User Response

1 Replies

6 months ago

Hello,

The site seems to be accessible via the public domain now, so going to mark this as solved, but feel free to re-open if needed!

Best,
Brody


Status changed to Awaiting User Response railway[bot] 6 months ago


502 Bad gateway error adter sucessfull pyhton djang ecommerce deploy - Railway Help Station