Closed stelcheck closed 9 years ago
Actually, got this wrong. this happens when marathon died...
frontrunner is unable to refresh the proxy configuration if marathon is down, but it should continue to run as expected.
Except a better error message, what do you want to change?
Perhaps just connect retry?
I wonder if this error doesn't come from https://github.com/Wizcorp/frontrunner/blob/29ee88146bf4e7db7700a5038f87696479b33e50/lib/marathon.js#L34. The zookeeper module already has a retry mechanism.
Edit: Confirmed, it comes from the http request.
Is it possible to log-and-retry forever?
And yet the app keeps on running... we need to have some reconnect logic as well as bailout on failure.