archiva-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brett Porter <br...@apache.org>
Subject Re: Denied Access to remote repo
Date Wed, 28 Aug 2013 00:59:27 GMT
Is any of your configuration using a proxy server that might be denying access? I can't think
of any other reason.

Which version of Archiva are you using?

Regards,
Brett

On 28/08/2013, at 9:17 AM, Charles Kim <charlesk@yahoo-inc.com> wrote:

> We are starting to get denied access error from the central repo while doing curl from
the same machine seems to work.  Is there anything that might cause Archiva to behave this
way?  We have noticed the problem today.
> 
> Error message: Download failure on resource [http://repo1.maven.org/maven2/commons-daemon/commons-daemon/1.0.6/commons-daemon-1.0.6.pom]:Access
denied to: http://repo1.maven.org/maven2/commons-daemon/commons-daemon/1.0.6/commons-daemon-1.0.6.pom,
ReasonPhrase:Denied Access.
> 2013-08-27 23:04:41,609 ERROR [org.apache.archiva.webdav.ArchivaDavResourceFactory] Failures
occurred downloading from some remote repositories:
>        central: Download failure on resource [http://repo1.maven.org/maven2/commons-daemon/commons-daemon/1.0.6/commons-daemon-1.0.6.pom]:Access
denied to: http://repo1.maven.org/maven2/commons-daemon/commons-daemon/1.0.6/commons-daemon-1.0.6.pom,
ReasonPhrase:Denied Access.
> org.apache.archiva.policies.ProxyDownloadException: Failures occurred downloading from
some remote repositories:
>        central: Download failure on resource [http://repo1.maven.org/maven2/commons-daemon/commons-daemon/1.0.6/commons-daemon-1.0.6.pom]:Access
denied to: http://repo1.maven.org/maven2/commons-daemon/commons-daemon/1.0.6/commons-daemon-1.0.6.pom,
ReasonPhrase:Denied Access.
> 
> 
> -bash-4.1$ curl -v http://repo1.maven.org/maven2/commons-daemon/commons-daemon/1.0.6/commons-daemon-1.0.6.pom
> * About to connect() to repo1.maven.org port 80 (#0)
> *   Trying 199.27.77.185... connected
> * Connected to repo1.maven.org (199.27.77.185) port 80 (#0)
>> GET /maven2/commons-daemon/commons-daemon/1.0.6/commons-daemon-1.0.6.pom HTTP/1.1
>> User-Agent: curl/7.21.7 (x86_64-unknown-linux-gnu) libcurl/7.21.7 OpenSSL/0.9.8o
zlib/1.2.3 libidn/1.18 libssh2/1.2.2
>> Host: repo1.maven.org
>> Accept: */*
>> 
> < HTTP/1.1 200 OK

--
Brett Porter   @brettporter
http://brettporter.wordpress.com/
http://au.linkedin.com/in/brettporter


Mime
View raw message