You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@archiva.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2008/06/26 04:27:26 UTC

[jira] Commented: (MRM-850) Unable to download from certain repositories, 403 Forbidden

    [ http://jira.codehaus.org/browse/MRM-850?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=139609#action_139609 ] 

Brett Porter commented on MRM-850:
----------------------------------

Please ignore the wget results. repo1 doesn't allow wgetting.

Do you have any more information in the Archiva logs about what caused the error transferring the file?

> Unable to download from certain repositories, 403 Forbidden
> -----------------------------------------------------------
>
>                 Key: MRM-850
>                 URL: http://jira.codehaus.org/browse/MRM-850
>             Project: Archiva
>          Issue Type: Bug
>    Affects Versions: 1.0.2
>         Environment: Linux Ubuntu 
>            Reporter: Renee Rivas
>
> I cant download from the central repository, repo1.maven.org.  I cant find any documentation on what settings I can change that relate to this.  this is what Archiva gives:
> jvm 1    | Jun 25, 2008 9:25:53 AM org.mortbay.jetty.servlet.ServletHandler handle
> jvm 1    | WARNING: /archiva/repository/internal/org/apache/felix/felix/1.0.0/felix-1.0.0.pom: 
> jvm 1    | org.apache.maven.archiva.policies.ProxyDownloadException: Failures occurred downloading from some remote repositories:
> jvm 1    |  central: Download failure on resource [http://repo1.maven.org/maven2/org/apache/felix/felix/1.0.0/felix-1.0.0.pom]:Error transferring file
> jvm 1    |  at org.apache.maven.archiva.proxy.DefaultRepositoryProxyConnectors.fetchFromProxies(DefaultRepositoryProxyConnectors.java:197)
> jvm 1    |  at org.apache.maven.archiva.web.repository.ProxiedDavServer.fetchContentFromProxies(ProxiedDavServer.java:355)
> jvm 1    |  at org.apache.maven.archiva.web.repository.ProxiedDavServer.process(ProxiedDavServer.java:188)
> jvm 1    |  at org.codehaus.plexus.webdav.servlet.multiplexed.MultiplexedWebDavServlet.service(MultiplexedWebDavServlet.java:119)
> jvm 1    |  at org.apache.maven.archiva.web.repository.RepositoryServlet.service(RepositoryServlet.java:155)
> jvm 1    |  at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> jvm 1    |  at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
> jvm 1    |  at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:830)
> jvm 1    |  at com.opensymphony.webwork.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:189)
> jvm 1    |  at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
> jvm 1    |  at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:39)
> jvm 1    |  at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
> jvm 1    |  at com.opensymphony.webwork.dispatcher.ActionContextCleanUp.doFilter(ActionContextCleanUp.java:88)
> jvm 1    |  at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
> jvm 1    |  at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471)
> jvm 1    |  at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
> jvm 1    |  at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
> jvm 1    |  at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633)
> jvm 1    |  at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
> jvm 1    |  at org.mortbay.http.HttpServer.service(HttpServer.java:909)
> jvm 1    |  at org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
> jvm 1    |  at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:982)
> jvm 1    |  at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
> jvm 1    |  at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
> jvm 1    |  at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
> jvm 1    |  at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
> If I add -U NoSuchBrowser/1.0 to wget, I can download from the site.   
> BUT,  if I use the regular wget command: wget --debug http://repo1.maven.org/maven2/org/apache/felix/felix/1.0.0/felix-1.0.0.pom
> this is what I get:
> DEBUG output created by Wget 1.10 on linux-gnu.
> --09:38:16--  http://repo1.maven.org/maven2/org/apache/felix/felix/1.0.0/felix-1.0.0.pom
>            => `felix-1.0.0.pom.1'
> Resolving proxy.ext.ray.com... 199.46.245.226
> Caching proxy.ext.ray.com => 199.46.245.226
> Connecting to proxy.ext.ray.com|199.46.245.226|:80... connected.
> Created socket 3.
> Releasing 0x08090888 (new refcount 1).
> ---request begin---
> GET http://repo1.maven.org/maven2/org/apache/felix/felix/1.0.0/felix-1.0.0.pom HTTP/1.0
> User-Agent: Wget/1.10
> Accept: */*
> Host: repo1.maven.org
> ---request end---
> Proxy request sent, awaiting response... 
> ---response begin---
> HTTP/1.1 403 Forbidden
> Content-Type: text/html; charset=iso-8859-1
> Date: Wed, 25 Jun 2008 16:38:42 GMT
> Proxy-Connection: close
> Server: Apache/2.0.52 (Red Hat)
> X-Cache: MISS from tus-proxy1
> ---response end---
> 403 Forbidden
> Closed fd 3
> 09:38:41 ERROR 403: Forbidden.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira