Failed to send deployment lifecycle client command: CONNECTION_CLOSED

This error shows up a lot when deploying. What does it mean?


I had the same issue, in my situation, I have a Django project, in the python settings file > ALLOWED_HOSTS > I was missing the local IP address I suggest that you review the deployment logs to see if you find the error message there. That is how I was able to resolve my issue. I hope this helps.

Log entry below.

[ERROR ] Invalid HTTP_HOST header: ‘’. You may need to add ‘’ to ALLOWED_HOSTS.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.