Got Application failed to respond

ggwpxxxxHOBBY

a year ago

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

14 Replies

ggwpxxxxHOBBY

a year ago

Here's the dockerfile

Attachments


a year ago

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


ggwpxxxxHOBBY

a year ago

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


a year ago

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


ggwpxxxxHOBBY

a year ago

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



ggwpxxxxHOBBY

a year ago

Can I post it as plain text?

Attachments


a year ago

Is that the entire deploy logs?


ggwpxxxxHOBBY

a year ago

Yes.


a year ago

Looks like your migrations never finish.


ggwpxxxxHOBBY

a year ago

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

Attachments


a year ago

Sounds plausible, is that a blocking call?


ggwpxxxxHOBBY

a year ago

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


a year ago

Sounds like you have a bit of debugging to do!


Got Application failed to respond - Railway Help Station