Closed ABeltramo closed 5 years ago
@radistao and others:
I think I figured why it stucks while working on #1886. In some cases, OkHttp will attempt to read fully from the socket to discard bytes, and, in case of the Unix socket, it hangs forever. I applied a hack that detects that we're closing the response and immediately returns. It helped in that PR, and the symptoms looked very similar to what you observed.
Once PR is merged, it would be great if you can try the latest master build (via Jitpack) and verify it
@bsideup Unfortunately i don't work on that environment any more and can't test the hack.
Not sure this is really a case, but maybe related, so if someone stumble upon this issue again:
try to decrease MTU in the docker/k8s networking configuration:
Docker MTU issues and solutions How we spent a full day figuring out a MTU issue with docker
Running testcontainers
v1.11.2
on a TeamCity worker over docker. It was working until we moved everything to a new machine (we also changed OS from Ubuntu to Debian). Now it run forever without logging anything:This was running for 14 hours without any response.
It seems that the alpine container it's stopping right after starting, logging only the ip (which is in the same subnet as the worker).
Docker info: