Archiva
  1. Archiva
  2. MRM-850

Unable to download from certain repositories, 403 Forbidden

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.2
    • Fix Version/s: 1.1.1
    • Component/s: None
    • Labels:
      None
    • Environment:
      Linux Ubuntu

      Description

      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.

      1. wrapper.20080626.log
        72 kB
        Renee Rivas
      2. archiva.log
        43 kB
        Renee Rivas

        Activity

          People

          • Assignee:
            Unassigned
            Reporter:
            Renee Rivas
          • Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development