FerryDocs
ConceptsSelf-healing

If an app hangs

After a deploy, the proxy tests only that an instance accepts TCP connections.

Edit on GitHub
TCP testProxyInstanceport openDocker

After a deploy, the proxy tests one thing: the instance accepts TCP connections.

1 / 3

Ferry uses the path of the (--health) only while a deploy starts new instances. After that, the tests only the .

An app that hangs with an open port keeps its traffic. Ferry does not see the problem.

What to do

Make your app exit when it cannot serve. Docker then restarts the container, as for each crash.

To see the restarts of each instance, use this command:

Terminal
ferry status api

See Health checks and When a container crashes.

On this page