I think what's happening here is that the check in bootstrap where we wait for the API to come up isn't complete. The check will try to make an arbitrary call into the API 60 times, with a one second delay. If the error message received from that call is either that an upgrade is in progress, connection shut down, or EOF, it keeps retrying to make the call.
However, it looks like in the above output, the EOF error is not coming from the API call, but rather from the attempt to open / login to the API, which doesn't have the same check to see if the error returned is one of the three errors above.
I think what we need to do is keep retrying if the call to open / login to the API connection also returns EOF or connection shutdown.
I think what's happening here is that the check in bootstrap where we wait for the API to come up isn't complete. The check will try to make an arbitrary call into the API 60 times, with a one second delay. If the error message received from that call is either that an upgrade is in progress, connection shut down, or EOF, it keeps retrying to make the call.
However, it looks like in the above output, the EOF error is not coming from the API call, but rather from the attempt to open / login to the API, which doesn't have the same check to see if the error returned is one of the three errors above.
I think what we need to do is keep retrying if the call to open / login to the API connection also returns EOF or connection shutdown.