archiva-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Chaffee" <jason_chaf...@tvworks.com>
Subject RE: Proxy connectors fails to download, Archiva needs restart
Date Thu, 03 Apr 2008 18:57:35 GMT
I was actually seeing the failure even though the artifacts are cached.

-----Original Message-----
From: Jackson, Brian R [mailto:Brian.R.Jackson@espn3.com] 
Sent: Thursday, April 03, 2008 11:53 AM
To: archiva-users@maven.apache.org
Subject: RE: Proxy connectors fails to download, Archiva needs restart

It does just that.  The problem I'm having is with artifacts that
haven't been cached yet.

-----Original Message-----
From:
archiva-users-return-1261-Brian.R.Jackson=espn3.com@maven.apache.org
[mailto:archiva-users-return-1261-Brian.R.Jackson=espn3.com@maven.apache
.org] On Behalf Of Jason Chaffee
Sent: Thursday, April 03, 2008 2:44 PM
To: archiva-users@maven.apache.org
Subject: RE: Proxy connectors fails to download, Archiva needs restart

Also, if the artifact is in the local cache and this failure happens,
shouldn't is simply log it and then return the cached artifact? 

-----Original Message-----
From: Brett Porter [mailto:brett.porter@gmail.com] 
Sent: Thursday, April 03, 2008 6:29 AM
To: archiva-users@maven.apache.org
Subject: Re: Proxy connectors fails to download, Archiva needs restart

ok, it looks like maybe they've blocked you in some way.

Archiva 1.0.2 should improve on the reporting of this, and allows the
error handling to be configurable.

- Brett

On 04/04/2008, Jackson, Brian R <Brian.R.Jackson@espn3.com> wrote:
> That didn't take long.
>
>  Here's the full stacktrace, which implies that the remote repository
is
>  returning a 500 error, but if I hit the same URL through a browser I
>  can't reproduce the 500 error.  I will coordinate with the owner of
the
>  remote repository and see if I can get more info from the logs on his
>  end.
>
>  418722 [SocketListener0-1] DEBUG
>  org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
Path
>  [com/go/tea/tea/3.3.11/tea-3.3.11.pom] is part of blacklist (skipping
>  transfer from repository [Central Repository]).
>  418722 [SocketListener0-1] DEBUG
>
> org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
>
> Applying [cache-failures] policy with [no]
>  418722 [SocketListener0-1] DEBUG
>  org.apache.maven.archiva.policies.PreDownloadPolicy:cache-failures  -
OK
>  to fetch, check-failures policy set to NO.
>  418722 [SocketListener0-1] DEBUG
>
> org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
>
> Applying [releases] policy with [once]
>  418722 [SocketListener0-1] DEBUG
>  org.apache.maven.archiva.policies.PreDownloadPolicy:releases  - OK to
>  update releases, local file does not exist.
>  418722 [SocketListener0-1] DEBUG
>
> org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
>
> Applying [snapshots] policy with [never]
>  418722 [SocketListener0-1] DEBUG
>  org.apache.maven.archiva.policies.PreDownloadPolicy:snapshots  - OK
to
>  update, snapshot policy does not apply for non-snapshot versions.
>  418722 [SocketListener0-1] DEBUG
>  org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
No
>  authentication for remote repository needed
>  418722 [SocketListener0-1] DEBUG
>
> org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
>
> Retrieving com/go/tea/tea/3.3.11/tea-3.3.11.pom from WDIG Releases
>  419035 [SocketListener0-1] WARN
>
> org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
>  Transfer error from repository "wdig.releases" for artifact
>
> com.go.tea:tea:3.3.11::pom, continuing to next repository. Error
>
> message: Download failure on resource
>
>
[http://maven2.corp.dig.com:8080/archiva/repository/internal//com/go/tea
>  /tea/3.3.11/tea-3.3.11.pom]:Error transferring file
>  419035 [SocketListener0-1] DEBUG
>  org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
Full
>  stack trace
>  org.apache.maven.archiva.proxy.ProxyException: Download failure on
>  resource
>
[http://maven2.corp.dig.com:8080/archiva/repository/internal//com/go/tea
>  /tea/3.3.11/tea-3.3.11.pom]:Error transferring file
>         at
>
org.apache.maven.archiva.proxy.DefaultRepositoryProxyConnectors.transfer
>  SimpleFile(DefaultRepositoryProxyConnectors.java:717)
>         at
>
org.apache.maven.archiva.proxy.DefaultRepositoryProxyConnectors.transfer
>  File(DefaultRepositoryProxyConnectors.java:542)
>         at
>
org.apache.maven.archiva.proxy.DefaultRepositoryProxyConnectors.fetchFro
>  mProxies(DefaultRepositoryProxyConnectors.java:155)
>         at
>
org.apache.maven.archiva.web.repository.ProxiedDavServer.applyServerSide
>  Relocation(ProxiedDavServer.java:447)
>         at
>
org.apache.maven.archiva.web.repository.ProxiedDavServer.fetchContentFro
>  mProxies(ProxiedDavServer.java:354)
>         at
>
org.apache.maven.archiva.web.repository.ProxiedDavServer.process(Proxied
>  DavServer.java:189)
>         at
>
org.codehaus.plexus.webdav.servlet.multiplexed.MultiplexedWebDavServlet.
>  service(MultiplexedWebDavServlet.java:119)
>         at
>
org.apache.maven.archiva.web.repository.RepositoryServlet.service(Reposi
>  toryServlet.java:155)
>         at
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>         at
>
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
>         at
>
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(Web
>  ApplicationHandler.java:830)
>         at
>
com.opensymphony.webwork.dispatcher.FilterDispatcher.doFilter(FilterDisp
>  atcher.java:189)
>         at
>
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(Web
>  ApplicationHandler.java:821)
>         at
>
com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.j
>  ava:39)
>         at
>
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(Web
>  ApplicationHandler.java:821)
>         at
>
com.opensymphony.webwork.dispatcher.ActionContextCleanUp.doFilter(Action
>  ContextCleanUp.java:88)
>         at
>
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(Web
>  ApplicationHandler.java:821)
>         at
>
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationH
>  andler.java:471)
>         at
>
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
>         at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
>         at
>
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationCon
>  text.java:633)
>         at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
>         at org.mortbay.http.HttpServer.service(HttpServer.java:909)
>         at
>  org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
>         at
>  org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:982)
>         at
>  org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
>         at
>
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244
>  )
>         at
>  org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
>         at
>  org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
>  Caused by: org.apache.maven.wagon.TransferFailedException: Error
>  transferring file
>         at
>
org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData
>  (LightweightHttpWagon.java:104)
>         at org.apache.maven.wagon.StreamWagon.get(StreamWagon.java:68)
>         at
>
org.apache.maven.archiva.proxy.DefaultRepositoryProxyConnectors.transfer
>  SimpleFile(DefaultRepositoryProxyConnectors.java:679)
>         ... 28 more
>  Caused by: java.io.IOException: Server returned HTTP response code:
500
>  for URL:
>
http://maven2.corp.dig.com:8080/archiva/repository/internal/com/go/tea/t
>  ea/3.3.11/tea-3.3.11.pom
>         at
>
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnec
>  tion.java:1241)
>         at
>
org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData
>  (LightweightHttpWagon.java:83)
>         ... 30 more
>  419050 [SocketListener0-1] DEBUG
>  org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
Path
>  [com/go/tea/tea/3.3.11/tea-3.3.11.pom] is part of blacklist (skipping
>  transfer from repository [Codehaus Releases]).
>  419050 [SocketListener0-1] DEBUG
>  org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
Path
>  [com/go/tea/tea/3.3.11/tea-3.3.11.pom] is part of blacklist (skipping
>  transfer from repository [Java.net Repository for Maven 2]).
>  419050 [SocketListener0-1] DEBUG
>  org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
Path
>  [com/go/tea/tea/3.3.11/tea-3.3.11.pom] is part of blacklist (skipping
>  transfer from repository [AndroMDA Releases]).
>  419050 [SocketListener0-1] DEBUG
>
> org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
>
> Exhausted all target repositories, artifact com.go.tea:tea:3.3.11::pom
>  not found.
>  419050 [SocketListener0-1] DEBUG
>  org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
Path
>  [com/go/tea/tea/3.3.11/tea-3.3.11.jar] is part of blacklist (skipping
>  transfer from repository [Central Repository]).
>  419050 [SocketListener0-1] DEBUG
>
> org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
>
> Applying [cache-failures] policy with [no]
>  419050 [SocketListener0-1] DEBUG
>  org.apache.maven.archiva.policies.PreDownloadPolicy:cache-failures  -
OK
>  to fetch, check-failures policy set to NO.
>  419050 [SocketListener0-1] DEBUG
>
> org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
>
> Applying [releases] policy with [once]
>  419050 [SocketListener0-1] DEBUG
>  org.apache.maven.archiva.policies.PreDownloadPolicy:releases  - OK to
>  update releases, local file does not exist.
>  419050 [SocketListener0-1] DEBUG
>
> org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
>
> Applying [snapshots] policy with [never]
>  419050 [SocketListener0-1] DEBUG
>  org.apache.maven.archiva.policies.PreDownloadPolicy:snapshots  - OK
to
>  update, snapshot policy does not apply for non-snapshot versions.
>  419050 [SocketListener0-1] DEBUG
>  org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
No
>  authentication for remote repository needed
>  419050 [SocketListener0-1] DEBUG
>
> org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
>
> Retrieving com/go/tea/tea/3.3.11/tea-3.3.11.jar from WDIG Releases
>  419269 [SocketListener0-1] WARN
>
> org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
>  Transfer error from repository "wdig.releases" for artifact
>
> com.go.tea:tea:3.3.11::jar, continuing to next repository. Error
>
> message: Download failure on resource
>
>
[http://maven2.corp.dig.com:8080/archiva/repository/internal//com/go/tea
>  /tea/3.3.11/tea-3.3.11.jar]:Error transferring file
>  419269 [SocketListener0-1] DEBUG
>  org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
Full
>  stack trace
>  org.apache.maven.archiva.proxy.ProxyException: Download failure on
>  resource
>
[http://maven2.corp.dig.com:8080/archiva/repository/internal//com/go/tea
>  /tea/3.3.11/tea-3.3.11.jar]:Error transferring file
>         at
>
org.apache.maven.archiva.proxy.DefaultRepositoryProxyConnectors.transfer
>  SimpleFile(DefaultRepositoryProxyConnectors.java:717)
>         at
>
org.apache.maven.archiva.proxy.DefaultRepositoryProxyConnectors.transfer
>  File(DefaultRepositoryProxyConnectors.java:542)
>         at
>
org.apache.maven.archiva.proxy.DefaultRepositoryProxyConnectors.fetchFro
>  mProxies(DefaultRepositoryProxyConnectors.java:155)
>         at
>
org.apache.maven.archiva.web.repository.ProxiedDavServer.fetchContentFro
>  mProxies(ProxiedDavServer.java:356)
>         at
>
org.apache.maven.archiva.web.repository.ProxiedDavServer.process(Proxied
>  DavServer.java:189)
>         at
>
org.codehaus.plexus.webdav.servlet.multiplexed.MultiplexedWebDavServlet.
>  service(MultiplexedWebDavServlet.java:119)
>         at
>
org.apache.maven.archiva.web.repository.RepositoryServlet.service(Reposi
>  toryServlet.java:155)
>         at
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>         at
>
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
>         at
>
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(Web
>  ApplicationHandler.java:830)
>         at
>
com.opensymphony.webwork.dispatcher.FilterDispatcher.doFilter(FilterDisp
>  atcher.java:189)
>         at
>
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(Web
>  ApplicationHandler.java:821)
>         at
>
com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.j
>  ava:39)
>         at
>
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(Web
>  ApplicationHandler.java:821)
>         at
>
com.opensymphony.webwork.dispatcher.ActionContextCleanUp.doFilter(Action
>  ContextCleanUp.java:88)
>         at
>
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(Web
>  ApplicationHandler.java:821)
>         at
>
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationH
>  andler.java:471)
>         at
>
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
>         at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
>         at
>
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationCon
>  text.java:633)
>         at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
>         at org.mortbay.http.HttpServer.service(HttpServer.java:909)
>         at
>  org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
>         at
>  org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:982)
>         at
>  org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
>         at
>
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244
>  )
>         at
>  org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
>         at
>  org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
>  Caused by: org.apache.maven.wagon.TransferFailedException: Error
>  transferring file
>         at
>
org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData
>  (LightweightHttpWagon.java:104)
>         at org.apache.maven.wagon.StreamWagon.get(StreamWagon.java:68)
>         at
>
org.apache.maven.archiva.proxy.DefaultRepositoryProxyConnectors.transfer
>  SimpleFile(DefaultRepositoryProxyConnectors.java:679)
>         ... 27 more
>  Caused by: java.io.IOException: Server returned HTTP response code:
500
>  for URL:
>
http://maven2.corp.dig.com:8080/archiva/repository/internal/com/go/tea/t
>  ea/3.3.11/tea-3.3.11.jar
>         at
>
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnec
>  tion.java:1241)
>         at
>
org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData
>  (LightweightHttpWagon.java:83)
>         ... 29 more
>  419269 [SocketListener0-1] DEBUG
>  org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
Path
>  [com/go/tea/tea/3.3.11/tea-3.3.11.jar] is part of blacklist (skipping
>  transfer from repository [Codehaus Releases]).
>  419410 [SocketListener0-1] DEBUG
>  org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
Path
>  [com/go/tea/tea/3.3.11/tea-3.3.11.jar] is part of blacklist (skipping
>  transfer from repository [Java.net Repository for Maven 2]).
>  419410 [SocketListener0-1] DEBUG
>  org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
Path
>  [com/go/tea/tea/3.3.11/tea-3.3.11.jar] is part of blacklist (skipping
>  transfer from repository [AndroMDA Releases]).
>  419410 [SocketListener0-1] DEBUG
>
> org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default  -
>
> Exhausted all target repositories, artifact com.go.tea:tea:3.3.11::jar
>  not found.
>
>
>
>  -----Original Message-----
>  From:
>  archiva-users-return-1255-Brian.R.Jackson=espn3.com@maven.apache.org
>
[mailto:archiva-users-return-1255-Brian.R.Jackson=espn3.com@maven.apache
>  .org] On Behalf Of Jackson, Brian R
>  Sent: Thursday, April 03, 2008 9:18 AM
>  To: archiva-users@maven.apache.org
>
> Subject: RE: Proxy connectors fails to download, Archiva needs restart
>
>  Brett,
>  I turned on the debug level logging and will update you with more
info
>  when it starts happening again.
>
>  Brian
>
>  -----Original Message-----
>  From:
>  archiva-users-return-1251-Brian.R.Jackson=espn3.com@maven.apache.org
>
[mailto:archiva-users-return-1251-Brian.R.Jackson=espn3.com@maven.apache
>  .org] On Behalf Of Brett Porter
>  Sent: Wednesday, April 02, 2008 6:10 PM
>  To: archiva-users@maven.apache.org
>  Subject: Re: Proxy connectors fails to download, Archiva needs
restart
>
>  I commented in the JIRA issue - it'd be great if you could turn on
>  debug level logging in log4j.xml to see what the exception is that
>  causes this.
>
>  Cheers,
>  Brett
>
>  On 03/04/2008, Jackson, Brian R <Brian.R.Jackson@espn3.com> wrote:
>  > I'm experiencing the following issue.  After the Archiva server has
>  been
>  >  up for some time, one of my proxy connectors starts to fail and
the
>  only
>  >  solution is to restart the service.  I see the following errors in
>  the
>  >  log:
>  >
>  >
>  >
>  >  76814726 [SocketListener0-0] WARN
>  >  org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default
-
>  >  Transfer error from repository "wdig.releases" for artifact
>  >  com.go.trove:trove:1.5.4::pom, continuing to next repository.
Error
>  >  message: Download failure on resource
>  >
>  >
>  >
>  >
>  >
>  >  The repository wdig.releases is another Archiva instance that we
have
>  >  internal to our company.  The proxy connector is setup for a
direct
>  >  connection with no HTTP proxying.  I know the network connection
>  isn't
>  >  an issue because a restart of just the Archiva service solves the
>  >  problem temporarily.
>  >
>  >
>  >
>  >  _______________________________________
>  >
>  >  Brian Jackson
>  >
>  >  Sr. Software Engineer
>  >
>  >  ESPN.com Fantasy Games
>  >
>  >  (860) 766-2511
>  >
>  >
>  >
>  >
>
>
>  --
>  Brett Porter
>  Blog: http://blogs.exist.com/bporter/
>


-- 
Brett Porter
Blog: http://blogs.exist.com/bporter/

Mime
View raw message