There are 2 comments.
 
 
XWiki Platform / cid:jira-generated-image-avatar-8eb274dc-c8b0-4a2a-ac1d-25e5bbf66a4e XWIKI-20971 Open

Distracting "Checksum failed" (ChecksumFailureException) stack trace when installing an extension from the local repository

 
View issue   ยท   Add comment
 

2 comments

 
cid:jira-generated-image-avatar-8b6fe20b-7bf6-48d0-9fd9-0130948b57fc Josef on 18/Nov/24 14:23
 

Hello,

I get these checksum warnings during updates in xwiki since several weeks. And I don't use a local repository.
I have a local installed XWiki Debian 16.9.0 with xjetty+mariadb

Here some lines from the log:

 

2024-11-15 13:20:49,639 [extension.index job group daemon thread - org.xwiki.extension.index.internal.job.ExtensionIndexJob@39735900([extension, index])] WARN  o.e.a.i.i.WarnChecksumPolicy   - Could not validate integrity of download from https://nexus.xwiki.org/nexus/content/groups/public/org/xwiki/contrib/application-help-center/maven-metadata.xml
org.eclipse.aether.transfer.ChecksumFailureException: Checksum validation failed, no checksums available
        at org.eclipse.aether.internal.impl.AbstractChecksumPolicy.onNoMoreChecksums(AbstractChecksumPolicy.java:63)
        at org.eclipse.aether.connector.basic.ChecksumValidator.validate(ChecksumValidator.java:112)
        at org.eclipse.aether.connector.basic.BasicRepositoryConnector$GetTaskRunner.runTask(BasicRepositoryConnector.java:484)
        at org.eclipse.aether.connector.basic.BasicRepositoryConnector$TaskRunner.run(BasicRepositoryConnector.java:414)
        at org.eclipse.aether.connector.basic.BasicRepositoryConnector.get(BasicRepositoryConnector.java:215)
        at org.eclipse.aether.internal.impl.DefaultMetadataResolver$ResolveTask.run(DefaultMetadataResolver.java:556)
        at org.eclipse.aether.util.concurrency.RunnableErrorForwarder.lambda$wrap$0(RunnableErrorForwarder.java:66)
        at org.eclipse.aether.internal.impl.DefaultMetadataResolver.resolve(DefaultMetadataResolver.java:352)
        at org.eclipse.aether.internal.impl.DefaultMetadataResolver.resolveMetadata(DefaultMetadataResolver.java:180)
        at org.apache.maven.repository.internal.DefaultVersionRangeResolver.getVersions(DefaultVersionRangeResolver.java:192)
        at org.apache.maven.repository.internal.DefaultVersionRangeResolver.resolveVersionRange(DefaultVersionRangeResolver.java:145)
        at org.xwiki.extension.repository.aether.internal.AetherExtensionRepository.resolveVersions(AetherExtensionRepository.java:510)
        at org.xwiki.extension.repository.aether.internal.AetherExtensionRepository.resolveVersions(AetherExtensionRepository.java:392)
        at org.xwiki.extension.repository.internal.DefaultExtensionRepositoryManager.resolveVersions(DefaultExtensionRepositoryManager.java:382)
        at org.xwiki.extension.index.internal.job.ExtensionIndexJob.validateOldExtension(ExtensionIndexJob.java:533)
        at org.xwiki.extension.index.internal.job.ExtensionIndexJob.validateOlderExtensions(ExtensionIndexJob.java:289)
        at org.xwiki.extension.index.internal.job.ExtensionIndexJob.validateOldExtensions(ExtensionIndexJob.java:246)
        at org.xwiki.extension.index.internal.job.ExtensionIndexJob.runInternal(ExtensionIndexJob.java:221)
        at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:246)
        at org.xwiki.job.AbstractJob.run(AbstractJob.java:223)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
        at java.base/java.lang.Thread.run(Thread.java:840)
2024-11-16 00:21:42,306 [extension.index job group daemon thread - org.xwiki.extension.index.internal.job.ExtensionIndexJob@25851161([extension, index])] WARN  o.e.a.i.i.WarnChecksumPolicy   - Could not validate integrity of download from https://nexus.xwiki.org/nexus/content/groups/public/com/xwiki/antivirus/application-antivirus-clamav-ui/maven-metadata.xml
org.eclipse.aether.transfer.ChecksumFailureException: Checksum validation failed, no checksums available
        at org.eclipse.aether.internal.impl.AbstractChecksumPolicy.onNoMoreChecksums(AbstractChecksumPolicy.java:63)
        at org.eclipse.aether.connector.basic.ChecksumValidator.validate(ChecksumValidator.java:112)
        at org.eclipse.aether.connector.basic.BasicRepositoryConnector$GetTaskRunner.runTask(BasicRepositoryConnector.java:484)
        at org.eclipse.aether.connector.basic.BasicRepositoryConnector$TaskRunner.run(BasicRepositoryConnector.java:414)
        at org.eclipse.aether.connector.basic.BasicRepositoryConnector.get(BasicRepositoryConnector.java:215)
        at org.eclipse.aether.internal.impl.DefaultMetadataResolver$ResolveTask.run(DefaultMetadataResolver.java:556)
        at org.eclipse.aether.util.concurrency.RunnableErrorForwarder.lambda$wrap$0(RunnableErrorForwarder.java:66)
        at org.eclipse.aether.internal.impl.DefaultMetadataResolver.resolve(DefaultMetadataResolver.java:352)
        at org.eclipse.aether.internal.impl.DefaultMetadataResolver.resolveMetadata(DefaultMetadataResolver.java:180)
        at org.apache.maven.repository.internal.DefaultVersionRangeResolver.getVersions(DefaultVersionRangeResolver.java:192)
        at org.apache.maven.repository.internal.DefaultVersionRangeResolver.resolveVersionRange(DefaultVersionRangeResolver.java:145)
        at org.xwiki.extension.repository.aether.internal.AetherExtensionRepository.resolveVersions(AetherExtensionRepository.java:510)
        at org.xwiki.extension.repository.aether.internal.AetherExtensionRepository.resolveVersions(AetherExtensionRepository.java:392)
        at org.xwiki.extension.repository.internal.DefaultExtensionRepositoryManager.resolveVersions(DefaultExtensionRepositoryManager.java:382)
        at org.xwiki.extension.index.internal.job.ExtensionIndexJob.validateOldExtension(ExtensionIndexJob.java:533)
        at org.xwiki.extension.index.internal.job.ExtensionIndexJob.validateOlderExtensions(ExtensionIndexJob.java:289)
        at org.xwiki.extension.index.internal.job.ExtensionIndexJob.validateOldExtensions(ExtensionIndexJob.java:246)
        at org.xwiki.extension.index.internal.job.ExtensionIndexJob.runInternal(ExtensionIndexJob.java:221)
        at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:246)
        at org.xwiki.job.AbstractJob.run(AbstractJob.java:223)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
        at java.base/java.lang.Thread.run(Thread.java:840)
 

 

 

 
cid:jira-generated-image-avatar-8b6fe20b-7bf6-48d0-9fd9-0130948b57fc Josef on 18/Nov/24 14:25
 
Hello,

I get these checksum warnings during updates in xwiki since several weeks. And I don't use a local repository.
I have a local installed XWiki Debian 16.9.0 with xjetty+mariadb

Here some lines from the log:

 
{code:java}
2024-11-15 13:20:49,639 [extension.index job group daemon thread - org.xwiki.extension.index.internal.job.ExtensionIndexJob@39735900([extension, index])] WARN  o.e.a.i.i.WarnChecksumPolicy   - Could not validate integrity of download from https://nexus.xwiki.org/nexus/content/groups/public/org/xwiki/contrib/application-help-center/maven-metadata.xml
org.eclipse.aether.transfer.ChecksumFailureException: Checksum validation failed, no checksums available
        at org.eclipse.aether.internal.impl.AbstractChecksumPolicy.onNoMoreChecksums(AbstractChecksumPolicy.java:63)
        at org.eclipse.aether.connector.basic.ChecksumValidator.validate(ChecksumValidator.java:112)
        at org.eclipse.aether.connector.basic.BasicRepositoryConnector$GetTaskRunner.runTask(BasicRepositoryConnector.java:484)
        at org.eclipse.aether.connector.basic.BasicRepositoryConnector$TaskRunner.run(BasicRepositoryConnector.java:414)
        at org.eclipse.aether.connector.basic.BasicRepositoryConnector.get(BasicRepositoryConnector.java:215)
        at org.eclipse.aether.internal.impl.DefaultMetadataResolver$ResolveTask.run(DefaultMetadataResolver.java:556)
        at org.eclipse.aether.util.concurrency.RunnableErrorForwarder.lambda$wrap$0(RunnableErrorForwarder.java:66)
        at org.eclipse.aether.internal.impl.DefaultMetadataResolver.resolve(DefaultMetadataResolver.java:352)
        at org.eclipse.aether.internal.impl.DefaultMetadataResolver.resolveMetadata(DefaultMetadataResolver.java:180)
        at org.apache.maven.repository.internal.DefaultVersionRangeResolver.getVersions(DefaultVersionRangeResolver.java:192)
        at org.apache.maven.repository.internal.DefaultVersionRangeResolver.resolveVersionRange(DefaultVersionRangeResolver.java:145)
        at org.xwiki.extension.repository.aether.internal.AetherExtensionRepository.resolveVersions(AetherExtensionRepository.java:510)
        at org.xwiki.extension.repository.aether.internal.AetherExtensionRepository.resolveVersions(AetherExtensionRepository.java:392)
        at org.xwiki.extension.repository.internal.DefaultExtensionRepositoryManager.resolveVersions(DefaultExtensionRepositoryManager.java:382)
        at org.xwiki.extension.index.internal.job.ExtensionIndexJob.validateOldExtension(ExtensionIndexJob.java:533)
        at org.xwiki.extension.index.internal.job.ExtensionIndexJob.validateOlderExtensions(ExtensionIndexJob.java:289)
        at org.xwiki.extension.index.internal.job.ExtensionIndexJob.validateOldExtensions(ExtensionIndexJob.java:246)
        at org.xwiki.extension.index.internal.job.ExtensionIndexJob.runInternal(ExtensionIndexJob.java:221)
        at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:246)
        at org.xwiki.job.AbstractJob.run(AbstractJob.java:223)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
        at java.base/java.lang.Thread.run(Thread.java:840)
2024-11-16 00:21:42,306 [extension.index job group daemon thread - org.xwiki.extension.index.internal.job.ExtensionIndexJob@25851161([extension, index])] WARN  o.e.a.i.i.WarnChecksumPolicy   - Could not validate integrity of download from https://nexus.xwiki.org/nexus/content/groups/public/com/xwiki/antivirus/application-antivirus-clamav-ui/maven-metadata.xml
org.eclipse.aether.transfer.ChecksumFailureException: Checksum validation failed, no checksums available
        at org.eclipse.aether.internal.impl.AbstractChecksumPolicy.onNoMoreChecksums(AbstractChecksumPolicy.java:63)
        at org.eclipse.aether.connector.basic.ChecksumValidator.validate(ChecksumValidator.java:112)
        at org.eclipse.aether.connector.basic.BasicRepositoryConnector$GetTaskRunner.runTask(BasicRepositoryConnector.java:484)
        at org.eclipse.aether.connector.basic.BasicRepositoryConnector$TaskRunner.run(BasicRepositoryConnector.java:414)
        at org.eclipse.aether.connector.basic.BasicRepositoryConnector.get(BasicRepositoryConnector.java:215)
        at org.eclipse.aether.internal.impl.DefaultMetadataResolver$ResolveTask.run(DefaultMetadataResolver.java:556)
        at org.eclipse.aether.util.concurrency.RunnableErrorForwarder.lambda$wrap$0(RunnableErrorForwarder.java:66)
        at org.eclipse.aether.internal.impl.DefaultMetadataResolver.resolve(DefaultMetadataResolver.java:352)
        at org.eclipse.aether.internal.impl.DefaultMetadataResolver.resolveMetadata(DefaultMetadataResolver.java:180)
        at org.apache.maven.repository.internal.DefaultVersionRangeResolver.getVersions(DefaultVersionRangeResolver.java:192)
        at org.apache.maven.repository.internal.DefaultVersionRangeResolver.resolveVersionRange(DefaultVersionRangeResolver.java:145)
        at org.xwiki.extension.repository.aether.internal.AetherExtensionRepository.resolveVersions(AetherExtensionRepository.java:510)
        at org.xwiki.extension.repository.aether.internal.AetherExtensionRepository.resolveVersions(AetherExtensionRepository.java:392)
        at org.xwiki.extension.repository.internal.DefaultExtensionRepositoryManager.resolveVersions(DefaultExtensionRepositoryManager.java:382)
        at org.xwiki.extension.index.internal.job.ExtensionIndexJob.validateOldExtension(ExtensionIndexJob.java:533)
        at org.xwiki.extension.index.internal.job.ExtensionIndexJob.validateOlderExtensions(ExtensionIndexJob.java:289)
        at org.xwiki.extension.index.internal.job.ExtensionIndexJob.validateOldExtensions(ExtensionIndexJob.java:246)
        at org.xwiki.extension.index.internal.job.ExtensionIndexJob.runInternal(ExtensionIndexJob.java:221)
        at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:246)
        at org.xwiki.job.AbstractJob.run(AbstractJob.java:223)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
        at java.base/java.lang.Thread.run(Thread.java:840)
{code}
 

Doing from the server a  
wget https://nexus.xwiki.org/nexus/content/groups/public/org/xwiki/contrib/application-help-center/maven-metadata.xml
results in
{code:java}
<?xml version="1.0" encoding="UTF-8"?>
<metadata>
  <groupId>org.xwiki.contrib</groupId>
  <artifactId>application-help-center</artifactId>
  <versioning>
    <latest>1.5.4</latest>
    <release>1.5.4</release>
    <versions>
      <version>1.0</version>
      <version>1.1</version>
      <version>1.2</version>
      <version>1.3</version>
      <version>1.4</version>
      <version>1.5</version>
      <version>1.5.1</version>
      <version>1.5.2</version>
      <version>1.5.3</version>
      <version>1.5.4</version>
    </versions>
    <lastUpdated>20201221155339</lastUpdated>
  </versioning>
</metadata>
{code}