apache/maven · error
*** CHECKSUM FAILED - {} - RETRYING
Error message
*** CHECKSUM FAILED - {} - RETRYING What it means
Error "*** CHECKSUM FAILED - {} - RETRYING" thrown in apache/maven.
Source
Thrown at compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java:391
wagon.removeTransferListener(sha1ChecksumObserver);
}
if (downloaded) {
// keep the checksum files from showing up on the download monitor...
if (downloadMonitor != null) {
wagon.removeTransferListener(downloadMonitor);
}
// try to verify the SHA-1 checksum for this file.
try {
verifyChecksum(sha1ChecksumObserver, destination, temp, remotePath, ".sha1", wagon);
} catch (ChecksumFailedException e) {
// if we catch a ChecksumFailedException, it means the transfer/read succeeded, but the
// checksum doesn't match. This could be a problem with the server (ibiblio HTTP-200 error
// page), so we'll try this up to two times. On the second try, we'll handle it as a bona-fide
// error, based on the repository's checksum checking policy.
if (firstRun) {
logger.warn("*** CHECKSUM FAILED - " + e.getMessage() + " - RETRYING");
retry = true;
} else {
handleChecksumFailure(checksumPolicy, e.getMessage(), e.getCause());
}
} catch (ResourceDoesNotExistException sha1TryException) {
logger.debug("SHA1 not found, trying MD5: " + sha1TryException.getMessage());
// if this IS NOT a ChecksumFailedException, it was a problem with transfer/read of the checksum
// file...we'll try again with the MD5 checksum.
try {
verifyChecksum(md5ChecksumObserver, destination, temp, remotePath, ".md5", wagon);
} catch (ChecksumFailedException e) {
// if we also fail to verify based on the MD5 checksum, and the checksum transfer/read
// succeeded, then we need to determine whether to retry or handle it as a failure.
if (firstRun) {
retry = true;
} else {
handleChecksumFailure(checksumPolicy, e.getMessage(), e.getCause());View on GitHub (pinned to e4093d4e12)
When it happens
Trigger: Thrown at compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java:391 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of apache/maven@e4093d4e12 (2026-08-21).
Data as JSON: /api/errors/2f4308dcf405bfa3.
Report an issue: GitHub.