If you're seeing the error:
The network agent for x is not connected. Please check its connection and try again.
Most likely the agent is either not running, or currently unable to connect to our servers. You can run the following on the server that is running the agent, in order to check this:
$ deploy-agent status
Which will tell you whether the agent is running or not. If it isn't running, you can start it with the following command:
$ deploy-agent start
If it is running, you can debug the issue by using the following command which will show you the last ten lines of the log file:
$ tail -n 10 ~/.deploy/agent.log