I am trying to connect Jenkins and a Nexus3 Docker Repository.
For smaller images, it is working just fine without any issue, but e.g. my 600MB mailserver image cannot push to the private repository.
By running all the traffic through a reverse proxy (same issue without proxying, so that does not appear to be the culprit in this case) I noticed that for smaller images there are only PUT requests, but once the images exceed a certain size there are also PATCH requests.
Everything is on the latest docker version at the time of writing.
I am running Nexus3 OSS 3.28.1 and Jenkins 2.268.
As it could be of value: Everything is in a Docker environment so there is a Nexus container, Jenkins container, etc.
Coming back to the issue of PATCH requests, whenever there is one the Apache2 reverse proxy spits out the following error:
[proxy_http:error] [pid 55287:tid 140144330278656] (70008)Partial results are valid but processing is incomplete: [client X.X.X.X:40452] AH02608: read request body failed to X.X.X.X:8543 (hostname) from X.X.X.X ()
On the Nexus side of things I am greeted with the following:
2020-11-27 13:49:53,392+0000 WARN [qtp113058686-1395] tempBuild org.sonatype.nexus.repository.docker.internal.V2Handlers - Error: PATCH /v2/x/x/blobs/uploads/8f704c91-3390-4eac-a55b-cecdd0d89d91 org.sonatype.nexus.blobstore.api.BlobStoreException: BlobId: path$nexus-repository-docker/8f704c91-3390-4eac-a55b-cecdd0d89d91/b7bb5b27-f930-4aad-ad20-0f5a4b645fde, org.eclipse.jetty.io.EofException: Early EOF, Cause: Early EOF
Has anyone got a clue on what is going on? I have been looking at solely these two error messages for the past two weeks now and honestly have no further ideas on how to approach this issue.
Thank you in advance!
Source: Docker Questions