
If you’re encountering problems like any of the following: Or alternatively to just restart the web service processes, you can perform: $ convox services restart web -a app1 You can perform a remote restart of an entire App (all running processes) from the CLI with: $ convox restart -a app1

My app stopped working and I want to restart it Run convox logs to inspect your application logs and cluster events for problems placing your container, starting your app, or registering with the load balancer.

Run convox ps to determine if your application is booting successfully. Run convox services to find the load balancer endpoints for your application. To solve this, simply slightly amend your app or service name to generate a different checksum. It is very unlikely, but it is possible to have a collision between two separate services on the same rack. This is generated from a checksum of the app name, service name, domain name, and a couple of other tweaks. I get a CREATE_FAILED BalancerListenerRule443Internal Priority 'xxxx' is currently in useĪs ALB routing rules must have a unique priority, Convox will generate a random one for each service in the range 1-50000 (the range allowed by AWS). This will trigger an immediate CloudFormation rollback so you can fix the problem and try another deployment. When you know there is an issue and want to stop a deployment, you can run the convox apps cancel command. Use convox logs -filter=ECS to find them. To figure out what’s going wrong, you can look at the app logs via convox logs to check for crashes and health check failures.ĮCS events can be found in the application logs as well. If newly deployed processes crash or fail to pass health checks, eventually the update will time out and roll back. I get an error when I deploy my app to Convoxĭuring a deployment, CloudFormation will not complete an update until the ECS Services stabilize. Post in the new Community Forum with any errors you see in these events. Look at the AWS Cloudformation Management Console and look for CREATE_FAILED errors on the “Events” tab.
