Skip to content

[BUG] Maven build fails because Testcontainers encounters a MalformedChunkCodingException when communicating with the Docker runtime #41

Description

@casper-lans

When running mvn clean install the build fails. The issue seems to be connected with Testcontainers and Rancher Desktop, see testcontainers/testcontainers-java#11482.

The relevant log entry seems to be:

2026-06-30 16:04:31,022 DEBUG [org.testcontainers.dockerclient.DockerClientProviderStrategy] (build-2) NpipeSocketClientProviderStrategy: failed with exception RuntimeException (com.github.dockerjava.zerodep.shaded.org.apache.hc.core5.http.MalformedChunkCodingException: Bad chunk header: ). Root cause MalformedChunkCodingException (Bad chunk header: )                                                       

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions