Failed to send deployment lifecycle client command: CONNECTION_CLOSED

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

3 Likes

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 127.0.0.1. 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: ‘127.0.0.1’. You may need to add ‘127.0.0.1’ to ALLOWED_HOSTS.

1 Like

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