>
> I used the tryssl-1.0-SNAPSHOT.jar to run the same check you did and
> received the exact same response back from the server that Archiva is
> running on.


In that case, the bad mac error seems like it could be an intermittent
network-related error.

Assuming that you actually want to find that artifact, you may need to
proxy another repository that contains the artifact. I searched
for olap4j-0.9.7.309-JS-3.pom and found
https://community.jaspersoft.com/questions/826431/failure-find-orgolap4jolap4jjar097309-js-3
.

Do you have
http://jaspersoft.artifactoryonline.com/jaspersoft/third-party-ce-artifacts/
in your list of proxied repos, or an equivalent?

Brent


On Fri, Feb 6, 2015 at 11:33 AM, Nerderman,Adam <nerde...@oclc.org> wrote:

> I used the tryssl-1.0-SNAPSHOT.jar to run the same check you did and
> received the exact same response back from the server that Archiva is
> running on.
>
> ________________________________________
> From: Nerderman,Adam <nerde...@oclc.org>
> Sent: Friday, February 06, 2015 11:13 AM
> To: users
> Subject: Re: 500 error: Failed to look for file
>
> We are seeing it, but it has been inconsistent. Usually when I see the
> failure to transfer errors and record mac errors it moves on, but now
> sometimes it throws the download error with a stack trace.
>
> ________________________________________
> From: Brent Atkinson <brent.atkin...@gmail.com>
> Sent: Friday, February 06, 2015 11:06 AM
> To: users
> Subject: Re: 500 error: Failed to look for file
>
> Adam,
>
> I just investigated an issue relating to record mac errors, similar to the
> ones you just posted. That issue was:
>
> http://jira.codehaus.org/browse/CONTINUUM-2501
>
> Record mac errors can happen for a number of reasons, so there's no
> guarantee you are seeing exactly this situation. However, you could start
> by trying to fetch the failing URL with the attached tryssl tool from your
> Archiva host. For a good test you will want to ensure that you use the same
> JDK and networking-related system properties configured for Archiva, for
> example, -Dhttps.protocols.
>
> Since codehaus nexus is publicly available, I ran a quick check myself. It
> successfully negotiated a connection and returned a file not found (404).
> Are you seeing this repeatedly or could it just be that you had connection
> problems to codehaus?
>
> $ /usr/lib/jvm/java-7-oracle/bin/java -jar tryssl-1.0-SNAPSHOT.jar
> >
> https://nexus.codehaus.org/content/repositories/releases//org/olap4j/olap4j/0.9.7.309-JS-3/olap4j-0.9.7.309-JS-3.pom
> > HTTP/1.1 404 Not Found
> > X-Frame-Options: SAMEORIGIN
> > Transfer-Encoding: chunked
> > Date: Fri, 06 Feb 2015 15:58:09 GMT
> > Set-Cookie: rememberMe=deleteMe; Path=/; Max-Age=0; Expires=Thu,
> > 05-Feb-2015 15:58:09 GMT
> > Accept-Ranges: bytes
> > Connection: keep-alive
> > Content-Type: text/html
> > Server: nginx
> > X-Content-Type-Options: nosniff
> > Exception in thread "main" java.io.FileNotFoundException:
> >
> https://nexus.codehaus.org/content/repositories/releases//org/olap4j/olap4j/0.9.7.309-JS-3/olap4j-0.9.7.309-JS-3.pom
> > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> > at
> >
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
> > at
> >
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> > at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
> > at
> >
> sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1676)
> > at
> >
> sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1674)
> > at java.security.AccessController.doPrivileged(Native Method)
> > at
> >
> sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1672)
> > at
> >
> sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1245)
> > at
> >
> sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254)
> > at TrySSL.main(TrySSL.java:72)
> > Caused by: java.io.FileNotFoundException:
> >
> https://nexus.codehaus.org/content/repositories/releases//org/olap4j/olap4j/0.9.7.309-JS-3/olap4j-0.9.7.309-JS-3.pom
> > at
> >
> sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1625)
> > at
> >
> sun.net.www.protocol.http.HttpURLConnection.getHeaderFields(HttpURLConnection.java:2714)
> > at
> >
> sun.net.www.protocol.https.HttpsURLConnectionImpl.getHeaderFields(HttpsURLConnectionImpl.java:283)
> > at TrySSL.main(TrySSL.java:61)
>
>
> Brent
>
> On Fri, Feb 6, 2015 at 9:53 AM, Nerderman,Adam <nerde...@oclc.org> wrote:
>
> > We are running with Java jdk1.7.0_45.
> >
> > ________________________________________
> > From: Brent Atkinson <brent.atkin...@gmail.com>
> > Sent: Friday, February 06, 2015 9:48 AM
> > To: users
> > Subject: Re: 500 error: Failed to look for file
> >
> > It looks like your archiva installation is having issues negotiating a
> > secure connection to nexus.codehaus.org. My guess would be that it is
> > somewhat related to SSLv3. What version of Java are you running on that
> > host?
> >
> > Brent
> >
> > Repository.Codehaus: Download failure on resource [
> > >
> >
> https://nexus.codehaus.org/content/repositories/releases//org/olap4j/olap4j/0.9.7.309-JS-3/olap4j-0.9.7.309-JS-3.pom]:Received
> > fatal
> > > alert: bad_record_mac (cause: javax.net.ssl.SSLException: Received
> fatal
> > > alert: bad_record_mac)
> >
> >
> > On Fri, Feb 6, 2015 at 9:21 AM, Nerderman,Adam <nerde...@oclc.org>
> wrote:
> >
> > > Here is the log from Archiva.
> > >
> > > 2015-02-05 02:13:01,111 [qtp1657925669-42747] WARN
> > > org.apache.archiva.proxy.DefaultRepositoryProxyConnectors [] - Transfer
> > > error from repository Repository.Codehaus for artifact
> > > org.olap4j:olap4j:0.9.7.309-JS-3::pom , continuing to next repository.
> > > Error message: Download failure on resource [
> > >
> >
> https://nexus.codehaus.org/content/repositories/releases//org/olap4j/olap4j/0.9.7.309-JS-3/olap4j-0.9.7.309-JS-3.pom]:Received
> > > fatal alert: bad_record_mac (cause: javax.net.ssl.SSLException:
> Received
> > > fatal alert: bad_record_mac)
> > > 2015-02-05 02:13:02,367 [qtp1657925669-42747] ERROR
> > > org.apache.archiva.webdav.ArchivaDavResourceFactory [] - Failures
> > occurred
> > > downloading from some remote repositories:
> > >         Repository.Codehaus: Download failure on resource [
> > >
> >
> https://nexus.codehaus.org/content/repositories/releases//org/olap4j/olap4j/0.9.7.309-JS-3/olap4j-0.9.7.309-JS-3.pom]:Received
> > > fatal alert: bad_record_mac (cause: javax.net.ssl.SSLException:
> Received
> > > fatal alert: bad_record_mac)
> > > org.apache.archiva.policies.ProxyDownloadException: Failures occurred
> > > downloading from some remote repositories:
> > >         Repository.Codehaus: Download failure on resource [
> > >
> >
> https://nexus.codehaus.org/content/repositories/releases//org/olap4j/olap4j/0.9.7.309-JS-3/olap4j-0.9.7.309-JS-3.pom]:Received
> > > fatal alert: bad_record_mac (cause: javax.net.ssl.SSLException:
> Received
> > > fatal alert: bad_record_mac)
> > >         at
> > >
> >
> org.apache.archiva.proxy.DefaultRepositoryProxyConnectors.fetchFromProxies(DefaultRepositoryProxyConnectors.java:365)
> > > ~[archiva-proxy-2.1.1.jar:?]
> > >         at
> > >
> >
> org.apache.archiva.metadata.repository.storage.maven2.Maven2RepositoryStorage.applyServerSideRelocation(Maven2RepositoryStorage.java:669)
> > > ~[maven2-repository-2.1.1.jar:?]
> > >
> > > ________________________________________
> > > From: Olivier Lamy <ol...@apache.org>
> > > Sent: Friday, February 06, 2015 5:39 AM
> > > To: users@archiva.apache.org
> > > Subject: Re: 500 error: Failed to look for file
> > >
> > > Hi,
> > > This is maven log.
> > > Is there any issue in archiva logs?
> > >
> > > Olivier
> > >
> > > On 6 February 2015 at 02:27, Nerderman,Adam <nerde...@oclc.org> wrote:
> > >
> > > > One of our applications is seeing this build failure intermittently.
> > The
> > > > artifact that the application they are trying to get does not exist
> in
> > > this
> > > > repository, but for some reason instead of always moving on it is
> > failing
> > > > with a 500 error saying it failed to look for the file. Is there any
> > > known
> > > > bug with Archiva 2.1.1 for this or does anyone have any idea what
> might
> > > be
> > > > causing this?
> > > >
> > > >
> > > > Thanks,
> > > >
> > > > Adam
> > > >
> > > >
> > > > 05:39:03,483 ERROR - Failed to execute goal
> > > > org.apache.maven.plugins:maven-remote-resources-plugin:1.1:process
> > > > (default) on project circ-business-compiledrest: Error resolving
> > project
> > > > artifact: Could not transfer artifact
> > > org.olap4j:olap4j:pom:0.9.7.309-JS-3
> > > > from/to legacy-releases (http://HOST/archiva/repository/internal):
> > > Failed
> > > > to look for file:
> > > >
> > >
> >
> http://HOST/archiva/repository/internal/org/olap4j/olap4j/0.9.7.309-JS-3/olap4j-0.9.7.309-JS-3.pom
> > > .
> > > > Return code is: 500 for project org.olap4j:olap4j:jar:0.9.7.309-JS-3
> ->
> > > > [Help 1]
> > > > 05:39:03,483 ERROR -
> > > > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
> > execute
> > > > goal
> org.apache.maven.plugins:maven-remote-resources-plugin:1.1:process
> > > > (default) on project circ-business-compiledrest: Error resolving
> > project
> > > > artifact: Could not transfer artifact
> > > org.olap4j:olap4j:pom:0.9.7.309-JS-3
> > > > from/to legacy-releases (http://HOST/archiva/repository/internal):
> > > Failed
> > > > to look for file:
> > > >
> > >
> >
> http://HOST/archiva/repository/internal/org/olap4j/olap4j/0.9.7.309-JS-3/olap4j-0.9.7.309-JS-3.pom
> > > .
> > > > Return code is: 500 for project org.olap4j:olap4j:jar:0.9.7.309-JS-3
> > > > 05:39:03,483 ERROR -     at
> > > >
> > >
> >
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217)
> > > > 05:39:03,483 ERROR -     at
> > > >
> > >
> >
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
> > > > 05:39:03,483 ERROR -     at
> > > >
> > >
> >
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
> > > > 05:39:03,483 ERROR -     at
> > > >
> > >
> >
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
> > > > 05:39:03,483 ERROR -     at
> > > >
> > >
> >
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
> > > > 05:39:03,483 ERROR -     at
> > > >
> > >
> >
> org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
> > > > 05:39:03,483 ERROR -     at
> > > >
> > >
> >
> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
> > > > 05:39:03,483 ERROR -     at
> > > > org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
> > > > 05:39:03,483 ERROR -     at
> > > > org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
> > > > 05:39:03,483 ERROR -     at
> > > > org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
> > > > 05:39:03,483 ERROR -     at
> > > > org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
> > > > 05:39:03,483 ERROR -     at
> > > > org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
> > > > 05:39:03,483 ERROR -     at
> > > > sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > > 05:39:03,483 ERROR -     at
> > > >
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> > > > 05:39:03,483 ERROR -     at
> > > >
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> > > > 05:39:03,483 ERROR -     at
> > > > java.lang.reflect.Method.invoke(Method.java:601)
> > > > 05:39:03,483 ERROR -     at
> > > >
> > >
> >
> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
> > > > 05:39:03,483 ERROR -     at
> > > >
> > >
> >
> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
> > > > 05:39:03,483 ERROR -     at
> > > >
> > >
> >
> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
> > > > 05:39:03,483 ERROR -     at
> > > >
> > org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
> > > > 05:39:03,483 ERROR - Caused by:
> > > > org.apache.maven.plugin.MojoExecutionException: Error resolving
> project
> > > > artifact: Could not transfer artifact
> > > org.olap4j:olap4j:pom:0.9.7.309-JS-3
> > > > from/to legacy-releases (http://HOST/archiva/repository/internal):
> > > Failed
> > > > to look for file: http://
> > >
> >
> ​HOST/archiva/repository/internal/org/olap4j/olap4j/0.9.7.309-JS-3/olap4j-0.9.7.309-JS-3.pom.
> > > > Return code is: 500 for project org.olap4j:olap4j:jar:0.9.7.309-JS-3
> > > > 05:39:03,483 ERROR -     at
> > > >
> > >
> >
> org.apache.maven.plugin.resources.remote.ProcessRemoteResourcesMojo.getProjects(ProcessRemoteResourcesMojo.java:677)
> > > > 05:39:03,483 ERROR -     at
> > > >
> > >
> >
> org.apache.maven.plugin.resources.remote.ProcessRemoteResourcesMojo.configureVelocityContext(ProcessRemoteResourcesMojo.java:969)
> > > > 05:39:03,483 ERROR -     at
> > > >
> > >
> >
> org.apache.maven.plugin.resources.remote.ProcessRemoteResourcesMojo.execute(ProcessRemoteResourcesMojo.java:492)
> > > > 05:39:03,483 ERROR -     at
> > > >
> > >
> >
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
> > > > 05:39:03,483 ERROR -     at
> > > >
> > >
> >
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
> > > > 05:39:03,483 ERROR -     ... 19 more
> > > > 05:39:03,483 ERROR - Caused by:
> > > > org.apache.maven.project.ProjectBuildingException: Error resolving
> > > project
> > > > artifact: Could not transfer artifact
> > > org.olap4j:olap4j:pom:0.9.7.309-JS-3
> > > > from/to legacy-releases (http://HOST/archiva/repository/internal):
> > > Failed
> > > > to look for file:
> > > >
> > >
> >
> http://HOST/archiva/repository/internal/org/olap4j/olap4j/0.9.7.309-JS-3/olap4j-0.9.7.309-JS-3.pom
> > > .
> > > > Return code is: 500 for project org.olap4j:olap4j:jar:0.9.7.309-JS-3
> > > > 05:39:03,483 ERROR -     at
> > > >
> > >
> >
> org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:272)
> > > > 05:39:03,483 ERROR -     at
> > > >
> > >
> >
> org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(DefaultMavenProjectBuilder.java:237)
> > > > 05:39:03,483 ERROR -     at
> > > >
> > >
> >
> org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(DefaultMavenProjectBuilder.java:252)
> > > > 05:39:03,483 ERROR -     at
> > > >
> > >
> >
> org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(DefaultMavenProjectBuilder.java:259)
> > > > 05:39:03,483 ERROR -     at
> > > >
> > >
> >
> org.apache.maven.plugin.resources.remote.ProcessRemoteResourcesMojo.getProjects(ProcessRemoteResourcesMojo.java:647)
> > > > 05:39:03,483 ERROR -     ... 23 more
> > > > 05:39:03,483 ERROR - Caused by:
> > > > org.sonatype.aether.resolution.ArtifactResolutionException: Could not
> > > > transfer artifact org.olap4j:olap4j:pom:0.9.7.309-JS-3 from/to
> > > > legacy-releases (http://HOST/archiva/repository/internal): Failed to
> > > look
> > > > for file:
> > > >
> > >
> >
> http://HOST/archiva/repository/internal/org/olap4j/olap4j/0.9.7.309-JS-3/olap4j-0.9.7.309-JS-3.pom
> > > .
> > > > Return code is: 500
> > > > 05:39:03,483 ERROR -     at
> > > >
> > >
> >
> org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:541)
> > > > 05:39:03,483 ERROR -     at
> > > >
> > >
> >
> org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:220)
> > > > 05:39:03,483 ERROR -     at
> > > >
> > >
> >
> org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:197)
> > > > 05:39:03,483 ERROR -     at
> > > >
> > >
> >
> org.sonatype.aether.impl.internal.DefaultRepositorySystem.resolveArtifact(DefaultRepositorySystem.java:323)
> > > > 05:39:03,483 ERROR -     at
> > > >
> > >
> >
> org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:261)
> > > > 05:39:03,483 ERROR -     ... 27 more
> > > > 05:39:03,483 ERROR - Caused by:
> > > > org.sonatype.aether.transfer.ArtifactTransferException: Could not
> > > transfer
> > > > artifact org.olap4j:olap4j:pom:0.9.7.309-JS-3 from/to
> legacy-releases (
> > > > http://HOST/archiva/repository/internal): Failed to look for file:
> > > >
> > >
> >
> http://HOST/archiva/repository/internal/org/olap4j/olap4j/0.9.7.309-JS-3/olap4j-0.9.7.309-JS-3.pom
> > > .
> > > > Return code is: 500
> > > > 05:39:03,483 ERROR -     at
> > > >
> > >
> >
> org.sonatype.aether.connector.wagon.WagonRepositoryConnector$4.wrap(WagonRepositoryConnector.java:949)
> > > > 05:39:03,483 ERROR -     at
> > > >
> > >
> >
> org.sonatype.aether.connector.wagon.WagonRepositoryConnector$4.wrap(WagonRepositoryConnector.java:940)
> > > > 05:39:03,483 ERROR -     at
> > > >
> > >
> >
> org.sonatype.aether.connector.wagon.WagonRepositoryConnector$GetTask.flush(WagonRepositoryConnector.java:695)
> > > > 05:39:03,483 ERROR -     at
> > > >
> > >
> >
> org.sonatype.aether.connector.wagon.WagonRepositoryConnector$GetTask.flush(WagonRepositoryConnector.java:689)
> > > > 05:39:03,483 ERROR -     at
> > > >
> > >
> >
> org.sonatype.aether.connector.wagon.WagonRepositoryConnector.get(WagonRepositoryConnector.java:445)
> > > > 05:39:03,483 ERROR -     at
> > > >
> > >
> >
> org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:460)
> > > > 05:39:03,483 ERROR -     ... 31 more
> > > > 05:39:03,484 ERROR - Caused by:
> > > > org.apache.maven.wagon.TransferFailedException: Failed to look for
> > file:
> > > >
> > >
> >
> http://HOST/archiva/repository/internal/org/olap4j/olap4j/0.9.7.309-JS-3/olap4j-0.9.7.309-JS-3.pom
> > > .
> > > > Return code is: 500
> > > > 05:39:03,484 ERROR -     at
> > > >
> > >
> >
> org.apache.maven.wagon.providers.http.LightweightHttpWagon.resourceExists(LightweightHttpWagon.java:351)
> > > > 05:39:03,484 ERROR -     at
> > > >
> > >
> >
> org.sonatype.aether.connector.wagon.WagonRepositoryConnector$GetTask.run(WagonRepositoryConnector.java:584)
> > > > 05:39:03,484 ERROR -     at
> > > >
> > >
> >
> org.sonatype.aether.util.concurrency.RunnableErrorForwarder$1.run(RunnableErrorForwarder.java:64)
> > > > 05:39:03,484 ERROR -     at
> > > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
> > > > 05:39:03,484 ERROR -     at
> > > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
> > > > 05:39:03,484 ERROR -     at java.lang.Thread.run(Thread.java:722)
> > > > 05:39:03,484 ERROR -
> > > > 05:39:03,484 ERROR - Re-run Maven using the -X switch to enable full
> > > debug
> > > > logging.
> > > > 05:39:03,484 ERROR -
> > > > 05:39:03,484 ERROR - For more information about the errors and
> possible
> > > > solutions, please read the following articles:
> > > > 05:39:03,484 ERROR - [Help 1]
> > > >
> > http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
> > > > 05:39:03,484 ERROR -
> > > > 05:39:03,484 ERROR - After correcting the problems, you can resume
> the
> > > > build with the command
> > > > 05:39:03,484 ERROR - mvn <goals> -rf :circ-business-compiledrest
> > > >
> > > >
> > >
> > >
> > > --
> > > Olivier Lamy
> > > http://twitter.com/olamy | http://linkedin.com/in/olamy
> > >
> >
>

Reply via email to