Open fenollp opened 2 years ago
I think the connection should be multiplexed(ControlPath) already but didn't verify atm. Same should be for the grpc level where we don't need more than one connection. You could verify with just ps aux
how many processes there are and if they all use the same master socket path.
Server terminated abruptly
does not look like related to our code.
Reproduce with commit: https://github.com/fenollp/mediapipe-desktop-linux-demos/commit/79e73bc29c635b64872ea79cc1169dad0ccb09d8
Builds fail in various states of progression but always end up complaining about
stderr=kex_exchange_identification: Connection closed by remote host
With no
DOCKER_HOST
the builds make more progress but seem to hit a race condition looking for cached data (--mount=type=cache,target=/root/.cache/bazel
):Note: all these are attempting to build a large-ish group of targets which independently all compile without issue:
Can this be failing because "too many" SSH connections are being attempted and something rate-limits this either in openssh-server or docker and so fails one job and cancels the rest? Aren't connections pooled and shouldn't they be?
I'm happy to help on this and maybe help write the fix as well.