Got Application failed to respond
ggwpxxxx
HOBBYOP

2 years ago

I deployed my Django project using Dockerfile but I keep getting Application Failed to Respond with HTTP status 503

14 Replies

ggwpxxxx
HOBBYOP

2 years ago

Here's the dockerfile

Attachments


2 years ago

Do you have the Dockerfile with a .txt extension in your repo too?


ggwpxxxx
HOBBYOP

2 years ago

No, I copied the text from Dockerfile just for example.


2 years ago

Okay, do you have a start command set elsewhere, like in the service settings, a Procfile, a railway.json file?


ggwpxxxx
HOBBYOP

2 years ago

No, I deleted both Procfile and railway.json to use only Dockerfile



ggwpxxxx
HOBBYOP

2 years ago

Can I post it as plain text?

Attachments


2 years ago

Is that the entire deploy logs?


ggwpxxxx
HOBBYOP

2 years ago

Yes.


2 years ago

Looks like your migrations never finish.


ggwpxxxx
HOBBYOP

2 years ago

Is it possible that migration never finished because of I ran mqtt in apps.py?

Attachments


2 years ago

Sounds plausible, is that a blocking call?


ggwpxxxx
HOBBYOP

2 years ago

I think in loop_start() might be a blocking call.


2 years ago

Sounds like you have a bit of debugging to do!


Loading...