-
Notifications
You must be signed in to change notification settings - Fork 181
Deis app responds to health check but router returns 503 Service Temporarily Unavailable #569
Comments
Fixed by adding a Procfile with |
@bacongobbler is this a new requirement? I thought it was fine to use |
Nope! It should be fine with cmd as the web process. I just closed it as I assumed it was an app issue with booting the process. Please re-open if you have more logs to share about how it failed to return a 200 OK with the cmd process |
do you have a procfile with web type during the deis pull? |
I didn't have a Procfile when it failed. But it was the first |
I am having this issue as well. I've tried with both having a Application is running. Like @olalonde, previously I was |
I'm also having this issue. Is there any resolution? |
This is issue is fucking insane. 🔫 💀 : |
I was able to reproduce this after many hours. Please reopen for the record! When a push with a Procfile/Heroku buildpack and then with Dockerfile happen on the same application, the service can reach a state 503 Service Unavailable. I had to recreate the app with a new name and then push there only with the relevant Dockerfile. Seems like Procfile/Heroku Buildpack pushes can make the application have a dirty state. The whole time I was trying to deploy for hours and thinking this was host-header problem with my application and the server hosting it inside the docker container. But it turns out the |
I would second reopening the issue. We literally have had to avoid using Deis because of it, and instead are using vanilla Kubernetes. |
This should've been fixed with deis/controller#1201 and we closed this because it was a duplicate of #658. I'd take a look at that PR and see if there's some edge case missed there. The code in question would be here: https://github.com/mboersma/controller/blob/master/rootfs/api/models/app.py#L478-L492 |
This issue was moved to teamhephy/workflow#1 |
I just successfully deployed a new release with
deis pull ...
but when accessing the app from my browser, I am getting a503 Service Temporarily Unavailable
nginx error page.The app logs show that it is responding to health check requests:
Some logs from deis router:
But it doesn't show any of the request coming from my browser. So I'm guessing the deis router is having trouble with something. I tried to delete the deis-router pod but still same problem. Any idea?
The text was updated successfully, but these errors were encountered: