You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Dan Tran <da...@gmail.com> on 2014/04/18 06:55:42 UTC

Strange maven central response - do you see the same thing??

Hello Maven friends

my maven build fails with this

[INFO]
[INFO] --- maven-scm-plugin:1.9:checkout (default-cli) @ standalone-pom ---
Downloading:
http://repo.maven.apache.org/maven2/org/apache/maven/scm/maven-scm-provider-cvsexe/1.9/maven-scm-provider-cvsexe-1.9.pom
Apr 17, 2014 9:50:21 PM
org.apache.maven.wagon.providers.http.httpclient.impl.client.DefaultRequestDirector
tryExecute
INFO: I/O exception
(org.apache.maven.wagon.providers.http.httpclient.NoHttpResponseException)
caught when processing request: The target server failed to respond
Apr 17, 2014 9:50:21 PM
org.apache.maven.wagon.providers.http.httpclient.impl.client.DefaultRequestDirector
tryExecute
INFO: Retrying request
Apr 17, 2014 9:50:31 PM
org.apache.maven.wagon.providers.http.httpclient.impl.client.DefaultRequestDirector
tryExecute
INFO: I/O exception
(org.apache.maven.wagon.providers.http.httpclient.NoHttpResponseException)
caught when processing request: The target server failed to respond
Apr 17, 2014 9:50:31 PM
org.apache.maven.wagon.providers.http.httpclient.impl.client.DefaultRequestDirector
tryExecute
INFO: Retrying request


I can't even curl
http://repo.maven.apache.org/maven2/org/apache/maven/scm/maven-scm-provider-cvsexe/1.9/maven-scm-provider-cvsexe-1.9.pom

C:\Users\dantran>curl
http://central.maven.org/maven2/org/apache/maven/scm/maven-scm-provider-cvsexe/1.9/maven-scm-provider-cvsexe-1.9.pom
curl: (52) Empty reply from server

note central.maven.org and repo.maven.apache.org  are the same host

But browser can see that file.

do you see the same thing

Thanks

-Dan

-D

Re: Strange maven central response - do you see the same thing??

Posted by Dan Tran <da...@gmail.com>.
A ticket has been filed at https://issues.sonatype.org/browse/MVNCENTRAL-446

Now I wonder how many people get affected by this

click on next link to see if  you are the one
http://central.maven.org/maven2/org/apache/maven/scm/maven-scm-provider-cvsexe


-D


On Fri, Apr 18, 2014 at 10:30 AM, Jason Swank <js...@sonatype.com> wrote:

> Hi,
>
> Things are working correctly from a service perspective and there have
> been no recent changes: follow up w/ me directly with output from the
> same command if you're still seeing issues.
>
> Regards,
> Jason
>
> --
> Sonatype
> twitter: @sonatype_ops
>
>   $ curl -iL
> http://central.maven.org/maven2/org/apache/maven/scm/maven-scm-provider-cvsexe
>   HTTP/1.1 301 Moved Permanently
>   Server: nginx
>   Content-Type: text/html
>   Location:
>
> http://central.maven.org/maven2/org/apache/maven/scm/maven-scm-provider-cvsexe/
>   Via: 1.1 varnish
>   Content-Length: 184
>   Accept-Ranges: bytes
>   Date: Fri, 18 Apr 2014 17:25:26 GMT
>   Via: 1.1 varnish
>   Age: 115
>   Connection: keep-alive
>   X-Served-By: cache-v41-ASH, cache-d96-DAL
>   X-Cache: HIT, HIT
>   X-Cache-Hits: 1, 1
>   X-Timer: S1397841812.112793922,VS0,VS15,VE16,VE114617
>
>   HTTP/1.1 200 OK
>   Server: nginx
>   Content-Type: text/html
>   Via: 1.1 varnish
>   Content-Length: 2310
>   Accept-Ranges: bytes
>   Date: Fri, 18 Apr 2014 17:25:26 GMT
>   Via: 1.1 varnish
>   Age: 32308
>   Connection: keep-alive
>   X-Served-By: cache-v42-ASH, cache-d96-DAL
>   X-Cache: HIT, HIT
>   X-Cache-Hits: 1, 1
>   X-Timer: S1397809618.491005421,VS0,VS16,VE16,VE32308302
>   Vary: X-Repo-Manager, X-Repo-Manager
>
>
> On Fri, Apr 18, 2014 at 10:19:33AM -0700, Dan Tran wrote:
> > A friend of mine in the same city has no issue, neither my workplace.
> >
> > At home, all my devices ( pc, ipad) seeing the same issue.  Reboot the
> > router does not help either
> >
> > -D
> >
> >
> > On Fri, Apr 18, 2014 at 5:41 AM, Karl Heinz Marbaise <khmarbaise@gmx.de
> >wrote:
> >
> > > Hi,
> > >
> > >
> > >  I guess Karl-Heinz and I are accessing from Germany, so maybe there is
> > >> some
> > >> routing problem on your side?
> > >>
> > >
> > > You guess is correct Mirko...
> > >
> > >
> > > Kind regards
> > > Karl-Heinz Marbaise
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > For additional commands, e-mail: users-help@maven.apache.org
> > >
> > >
>
> On Fri, Apr 18, 2014 at 10:19:33AM -0700, Dan Tran wrote:
> > A friend of mine in the same city has no issue, neither my workplace.
> >
> > At home, all my devices ( pc, ipad) seeing the same issue.  Reboot the
> > router does not help either
> >
> > -D
> >
> >
> > On Fri, Apr 18, 2014 at 5:41 AM, Karl Heinz Marbaise <khmarbaise@gmx.de
> >wrote:
> >
> > > Hi,
> > >
> > >
> > >  I guess Karl-Heinz and I are accessing from Germany, so maybe there is
> > >> some
> > >> routing problem on your side?
> > >>
> > >
> > > You guess is correct Mirko...
> > >
> > >
> > > Kind regards
> > > Karl-Heinz Marbaise
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > For additional commands, e-mail: users-help@maven.apache.org
> > >
> > >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Re: Strange maven central response - do you see the same thing??

Posted by Jason Swank <js...@sonatype.com>.
Hi,

Things are working correctly from a service perspective and there have
been no recent changes: follow up w/ me directly with output from the
same command if you're still seeing issues.

Regards,
Jason

--
Sonatype
twitter: @sonatype_ops

  $ curl -iL http://central.maven.org/maven2/org/apache/maven/scm/maven-scm-provider-cvsexe 
  HTTP/1.1 301 Moved Permanently
  Server: nginx
  Content-Type: text/html
  Location:
  http://central.maven.org/maven2/org/apache/maven/scm/maven-scm-provider-cvsexe/
  Via: 1.1 varnish
  Content-Length: 184
  Accept-Ranges: bytes
  Date: Fri, 18 Apr 2014 17:25:26 GMT
  Via: 1.1 varnish
  Age: 115
  Connection: keep-alive
  X-Served-By: cache-v41-ASH, cache-d96-DAL
  X-Cache: HIT, HIT
  X-Cache-Hits: 1, 1
  X-Timer: S1397841812.112793922,VS0,VS15,VE16,VE114617

  HTTP/1.1 200 OK
  Server: nginx
  Content-Type: text/html
  Via: 1.1 varnish
  Content-Length: 2310
  Accept-Ranges: bytes
  Date: Fri, 18 Apr 2014 17:25:26 GMT
  Via: 1.1 varnish
  Age: 32308
  Connection: keep-alive
  X-Served-By: cache-v42-ASH, cache-d96-DAL
  X-Cache: HIT, HIT
  X-Cache-Hits: 1, 1
  X-Timer: S1397809618.491005421,VS0,VS16,VE16,VE32308302
  Vary: X-Repo-Manager, X-Repo-Manager


On Fri, Apr 18, 2014 at 10:19:33AM -0700, Dan Tran wrote:
> A friend of mine in the same city has no issue, neither my workplace.
> 
> At home, all my devices ( pc, ipad) seeing the same issue.  Reboot the
> router does not help either
> 
> -D
> 
> 
> On Fri, Apr 18, 2014 at 5:41 AM, Karl Heinz Marbaise <kh...@gmx.de>wrote:
> 
> > Hi,
> >
> >
> >  I guess Karl-Heinz and I are accessing from Germany, so maybe there is
> >> some
> >> routing problem on your side?
> >>
> >
> > You guess is correct Mirko...
> >
> >
> > Kind regards
> > Karl-Heinz Marbaise
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >

On Fri, Apr 18, 2014 at 10:19:33AM -0700, Dan Tran wrote:
> A friend of mine in the same city has no issue, neither my workplace.
> 
> At home, all my devices ( pc, ipad) seeing the same issue.  Reboot the
> router does not help either
> 
> -D
> 
> 
> On Fri, Apr 18, 2014 at 5:41 AM, Karl Heinz Marbaise <kh...@gmx.de>wrote:
> 
> > Hi,
> >
> >
> >  I guess Karl-Heinz and I are accessing from Germany, so maybe there is
> >> some
> >> routing problem on your side?
> >>
> >
> > You guess is correct Mirko...
> >
> >
> > Kind regards
> > Karl-Heinz Marbaise
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Strange maven central response - do you see the same thing??

Posted by Dan Tran <da...@gmail.com>.
A friend of mine in the same city has no issue, neither my workplace.

At home, all my devices ( pc, ipad) seeing the same issue.  Reboot the
router does not help either

-D


On Fri, Apr 18, 2014 at 5:41 AM, Karl Heinz Marbaise <kh...@gmx.de>wrote:

> Hi,
>
>
>  I guess Karl-Heinz and I are accessing from Germany, so maybe there is
>> some
>> routing problem on your side?
>>
>
> You guess is correct Mirko...
>
>
> Kind regards
> Karl-Heinz Marbaise
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Re: Strange maven central response - do you see the same thing??

Posted by Karl Heinz Marbaise <kh...@gmx.de>.
Hi,

> I guess Karl-Heinz and I are accessing from Germany, so maybe there is some
> routing problem on your side?

You guess is correct Mirko...

Kind regards
Karl-Heinz Marbaise

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Strange maven central response - do you see the same thing??

Posted by Baptiste Mathus <ml...@batmat.net>.
FWIW, just tried from Toulouse, France:
http://repo.maven.apache.org/maven2/org/apache/maven/scm/maven-scm-provider-cvsexeindeed
redirects to
http://central.maven.org/maven2/org/apache/maven/scm/maven-scm-provider-cvsexe/

HTH


2014-04-18 11:03 GMT+02:00 Mirko Friedenhagen <mf...@gmail.com>:

> I guess Karl-Heinz and I are accessing from Germany, so maybe there is some
> routing problem on your side?
>
> Regards
> Mirko
> --
> Sent from my mobile
> On Apr 18, 2014 10:27 AM, "Dan Tran" <da...@gmail.com> wrote:
>
> > My browser cannot even browse those links.  perhaps my virus checker is
> > culprit?
> >
> > It is a strange day!
> >
> > -D
> >
> >
> > On Fri, Apr 18, 2014 at 1:14 AM, Mirko Friedenhagen <
> > mfriedenhagen@gmail.com
> > > wrote:
> >
> > > Same for me, repo.maven.apache.org redirects to central.maven.org with
> > the
> > > given URL.
> > >
> > > Regards
> > > Mirko
> > > --
> > > Sent from my mobile
> > > On Apr 18, 2014 10:09 AM, "Karl Heinz Marbaise" <kh...@gmx.de>
> > wrote:
> > >
> > > > Hi,
> > > >
> > > > if i try the given URL:
> > > > > http://repo.maven.apache.org/maven2/org/apache/maven/scm/
> > > > maven-scm-provider-cvsexe
> > > >
> > > > I'm redirected to :
> > > >
> > > > http://central.maven.org/maven2/org/apache/maven/scm/
> > > > maven-scm-provider-cvsexe/
> > > >
> > > > ..
> > > >
> > > > Kind regards
> > > > Karl-Heinz Marbaise
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > > For additional commands, e-mail: users-help@maven.apache.org
> > > >
> > > >
> > >
> >
>
> --
> Baptiste <Batmat> MATHUS - http://batmat.net
> Sauvez un arbre,
> Mangez un castor ! nbsp;!
>

Re: Strange maven central response - do you see the same thing??

Posted by Mirko Friedenhagen <mf...@gmail.com>.
I guess Karl-Heinz and I are accessing from Germany, so maybe there is some
routing problem on your side?

Regards
Mirko
-- 
Sent from my mobile
On Apr 18, 2014 10:27 AM, "Dan Tran" <da...@gmail.com> wrote:

> My browser cannot even browse those links.  perhaps my virus checker is
> culprit?
>
> It is a strange day!
>
> -D
>
>
> On Fri, Apr 18, 2014 at 1:14 AM, Mirko Friedenhagen <
> mfriedenhagen@gmail.com
> > wrote:
>
> > Same for me, repo.maven.apache.org redirects to central.maven.org with
> the
> > given URL.
> >
> > Regards
> > Mirko
> > --
> > Sent from my mobile
> > On Apr 18, 2014 10:09 AM, "Karl Heinz Marbaise" <kh...@gmx.de>
> wrote:
> >
> > > Hi,
> > >
> > > if i try the given URL:
> > > > http://repo.maven.apache.org/maven2/org/apache/maven/scm/
> > > maven-scm-provider-cvsexe
> > >
> > > I'm redirected to :
> > >
> > > http://central.maven.org/maven2/org/apache/maven/scm/
> > > maven-scm-provider-cvsexe/
> > >
> > > ..
> > >
> > > Kind regards
> > > Karl-Heinz Marbaise
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > For additional commands, e-mail: users-help@maven.apache.org
> > >
> > >
> >
>

Re: Strange maven central response - do you see the same thing??

Posted by Dan Tran <da...@gmail.com>.
My browser cannot even browse those links.  perhaps my virus checker is
culprit?

It is a strange day!

-D


On Fri, Apr 18, 2014 at 1:14 AM, Mirko Friedenhagen <mfriedenhagen@gmail.com
> wrote:

> Same for me, repo.maven.apache.org redirects to central.maven.org with the
> given URL.
>
> Regards
> Mirko
> --
> Sent from my mobile
> On Apr 18, 2014 10:09 AM, "Karl Heinz Marbaise" <kh...@gmx.de> wrote:
>
> > Hi,
> >
> > if i try the given URL:
> > > http://repo.maven.apache.org/maven2/org/apache/maven/scm/
> > maven-scm-provider-cvsexe
> >
> > I'm redirected to :
> >
> > http://central.maven.org/maven2/org/apache/maven/scm/
> > maven-scm-provider-cvsexe/
> >
> > ..
> >
> > Kind regards
> > Karl-Heinz Marbaise
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>

Re: Strange maven central response - do you see the same thing??

Posted by Mirko Friedenhagen <mf...@gmail.com>.
Same for me, repo.maven.apache.org redirects to central.maven.org with the
given URL.

Regards
Mirko
-- 
Sent from my mobile
On Apr 18, 2014 10:09 AM, "Karl Heinz Marbaise" <kh...@gmx.de> wrote:

> Hi,
>
> if i try the given URL:
> > http://repo.maven.apache.org/maven2/org/apache/maven/scm/
> maven-scm-provider-cvsexe
>
> I'm redirected to :
>
> http://central.maven.org/maven2/org/apache/maven/scm/
> maven-scm-provider-cvsexe/
>
> ..
>
> Kind regards
> Karl-Heinz Marbaise
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Re: Strange maven central response - do you see the same thing??

Posted by Karl Heinz Marbaise <kh...@gmx.de>.
Hi,

if i try the given URL:
 > 
http://repo.maven.apache.org/maven2/org/apache/maven/scm/maven-scm-provider-cvsexe

I'm redirected to :

http://central.maven.org/maven2/org/apache/maven/scm/maven-scm-provider-cvsexe/

..

Kind regards
Karl-Heinz Marbaise

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Strange maven central response - do you see the same thing??

Posted by Dan Tran <da...@gmail.com>.
Please disregard my last analysis.  I think i found the issue

http://repo.maven.apache.org/maven2/org/apache/maven/scm/maven-scm-provider-cvsexe

is not available

Could you try?

Thanks

-D


On Fri, Apr 18, 2014 at 12:31 AM, Dan Tran <da...@gmail.com> wrote:

> My error is come from a quick command to do check out a perforce OSS
> source tree   mvn scm:checkout
> -DconnectionUrl=scm:perforce:workshop.perforce.com:1666://guest/perforce_software/p4maven
> -Dproject.base=. -Dusername=xxxx -Dpassword=yyyyy
>
> it fails with and without my nexus.  The strange thing I pickup the full
> url  from the error log and use curl to see if I see the error.
>
> now, this is getting stranger.  I browse to the artifact using my browser
> and copy the link.  My curl works.
>
> I place the 2 curl  urls into my text editor and It looks exactly the
> same.  Then I copy those links back to my comand line, one works and the
> other fails.
>
> there must be hidden chars in bad one.
>
> Thoughts?
>
> -D
>
> my maven is 3.0.5 on windows, and vary the hostnames dont matter
>
>
>
>
> On Thu, Apr 17, 2014 at 11:08 PM, Mirko Friedenhagen <
> mfriedenhagen@gmail.com> wrote:
>
>> Dan,
>>
>> I always use http://repo1.maven.org/maven2/.. e.g.
>> http://repo1.maven.org/maven2/org/apache/maven/
>>
>> Two possible explanations:
>>
>> Browsers by default follow http redirects, with curl you need -L as an
>> Option.
>>
>> You have different proxy settings for the CLI and your browser :-)
>>
>> Regards
>> Mirko
>> --
>> Sent from my mobile
>> On Apr 18, 2014 6:56 AM, "Dan Tran" <da...@gmail.com> wrote:
>>
>> > Hello Maven friends
>> >
>> > my maven build fails with this
>> >
>> > [INFO]
>> > [INFO] --- maven-scm-plugin:1.9:checkout (default-cli) @ standalone-pom
>> ---
>> > Downloading:
>> >
>> >
>> http://repo.maven.apache.org/maven2/org/apache/maven/scm/maven-scm-provider-cvsexe/1.9/maven-scm-provider-cvsexe-1.9.pom
>> > Apr 17, 2014 9:50:21 PM
>> >
>> >
>> org.apache.maven.wagon.providers.http.httpclient.impl.client.DefaultRequestDirector
>> > tryExecute
>> > INFO: I/O exception
>> >
>> (org.apache.maven.wagon.providers.http.httpclient.NoHttpResponseException)
>> > caught when processing request: The target server failed to respond
>> > Apr 17, 2014 9:50:21 PM
>> >
>> >
>> org.apache.maven.wagon.providers.http.httpclient.impl.client.DefaultRequestDirector
>> > tryExecute
>> > INFO: Retrying request
>> > Apr 17, 2014 9:50:31 PM
>> >
>> >
>> org.apache.maven.wagon.providers.http.httpclient.impl.client.DefaultRequestDirector
>> > tryExecute
>> > INFO: I/O exception
>> >
>> (org.apache.maven.wagon.providers.http.httpclient.NoHttpResponseException)
>> > caught when processing request: The target server failed to respond
>> > Apr 17, 2014 9:50:31 PM
>> >
>> >
>> org.apache.maven.wagon.providers.http.httpclient.impl.client.DefaultRequestDirector
>> > tryExecute
>> > INFO: Retrying request
>> >
>> >
>> > I can't even curl
>> >
>> >
>> http://repo.maven.apache.org/maven2/org/apache/maven/scm/maven-scm-provider-cvsexe/1.9/maven-scm-provider-cvsexe-1.9.pom
>> >
>> > C:\Users\dantran>curl
>> >
>> >
>> http://central.maven.org/maven2/org/apache/maven/scm/maven-scm-provider-cvsexe/1.9/maven-scm-provider-cvsexe-1.9.pom
>> > curl: (52) Empty reply from server
>> >
>> > note central.maven.org and repo.maven.apache.org  are the same host
>> >
>> > But browser can see that file.
>> >
>> > do you see the same thing
>> >
>> > Thanks
>> >
>> > -Dan
>> >
>> > -D
>> >
>>
>
>

Re: Strange maven central response - do you see the same thing??

Posted by Dan Tran <da...@gmail.com>.
My error is come from a quick command to do check out a perforce OSS source
tree   mvn scm:checkout
-DconnectionUrl=scm:perforce:workshop.perforce.com:1666://guest/perforce_software/p4maven
-Dproject.base=. -Dusername=xxxx -Dpassword=yyyyy

it fails with and without my nexus.  The strange thing I pickup the full
url  from the error log and use curl to see if I see the error.

now, this is getting stranger.  I browse to the artifact using my browser
and copy the link.  My curl works.

I place the 2 curl  urls into my text editor and It looks exactly the same.
 Then I copy those links back to my comand line, one works and the other
fails.

there must be hidden chars in bad one.

Thoughts?

-D

my maven is 3.0.5 on windows, and vary the hostnames dont matter




On Thu, Apr 17, 2014 at 11:08 PM, Mirko Friedenhagen <
mfriedenhagen@gmail.com> wrote:

> Dan,
>
> I always use http://repo1.maven.org/maven2/.. e.g.
> http://repo1.maven.org/maven2/org/apache/maven/
>
> Two possible explanations:
>
> Browsers by default follow http redirects, with curl you need -L as an
> Option.
>
> You have different proxy settings for the CLI and your browser :-)
>
> Regards
> Mirko
> --
> Sent from my mobile
> On Apr 18, 2014 6:56 AM, "Dan Tran" <da...@gmail.com> wrote:
>
> > Hello Maven friends
> >
> > my maven build fails with this
> >
> > [INFO]
> > [INFO] --- maven-scm-plugin:1.9:checkout (default-cli) @ standalone-pom
> ---
> > Downloading:
> >
> >
> http://repo.maven.apache.org/maven2/org/apache/maven/scm/maven-scm-provider-cvsexe/1.9/maven-scm-provider-cvsexe-1.9.pom
> > Apr 17, 2014 9:50:21 PM
> >
> >
> org.apache.maven.wagon.providers.http.httpclient.impl.client.DefaultRequestDirector
> > tryExecute
> > INFO: I/O exception
> >
> (org.apache.maven.wagon.providers.http.httpclient.NoHttpResponseException)
> > caught when processing request: The target server failed to respond
> > Apr 17, 2014 9:50:21 PM
> >
> >
> org.apache.maven.wagon.providers.http.httpclient.impl.client.DefaultRequestDirector
> > tryExecute
> > INFO: Retrying request
> > Apr 17, 2014 9:50:31 PM
> >
> >
> org.apache.maven.wagon.providers.http.httpclient.impl.client.DefaultRequestDirector
> > tryExecute
> > INFO: I/O exception
> >
> (org.apache.maven.wagon.providers.http.httpclient.NoHttpResponseException)
> > caught when processing request: The target server failed to respond
> > Apr 17, 2014 9:50:31 PM
> >
> >
> org.apache.maven.wagon.providers.http.httpclient.impl.client.DefaultRequestDirector
> > tryExecute
> > INFO: Retrying request
> >
> >
> > I can't even curl
> >
> >
> http://repo.maven.apache.org/maven2/org/apache/maven/scm/maven-scm-provider-cvsexe/1.9/maven-scm-provider-cvsexe-1.9.pom
> >
> > C:\Users\dantran>curl
> >
> >
> http://central.maven.org/maven2/org/apache/maven/scm/maven-scm-provider-cvsexe/1.9/maven-scm-provider-cvsexe-1.9.pom
> > curl: (52) Empty reply from server
> >
> > note central.maven.org and repo.maven.apache.org  are the same host
> >
> > But browser can see that file.
> >
> > do you see the same thing
> >
> > Thanks
> >
> > -Dan
> >
> > -D
> >
>

Re: Strange maven central response - do you see the same thing??

Posted by Mirko Friedenhagen <mf...@gmail.com>.
Dan,

I always use http://repo1.maven.org/maven2/.. e.g.
http://repo1.maven.org/maven2/org/apache/maven/

Two possible explanations:

Browsers by default follow http redirects, with curl you need -L as an
Option.

You have different proxy settings for the CLI and your browser :-)

Regards
Mirko
-- 
Sent from my mobile
On Apr 18, 2014 6:56 AM, "Dan Tran" <da...@gmail.com> wrote:

> Hello Maven friends
>
> my maven build fails with this
>
> [INFO]
> [INFO] --- maven-scm-plugin:1.9:checkout (default-cli) @ standalone-pom ---
> Downloading:
>
> http://repo.maven.apache.org/maven2/org/apache/maven/scm/maven-scm-provider-cvsexe/1.9/maven-scm-provider-cvsexe-1.9.pom
> Apr 17, 2014 9:50:21 PM
>
> org.apache.maven.wagon.providers.http.httpclient.impl.client.DefaultRequestDirector
> tryExecute
> INFO: I/O exception
> (org.apache.maven.wagon.providers.http.httpclient.NoHttpResponseException)
> caught when processing request: The target server failed to respond
> Apr 17, 2014 9:50:21 PM
>
> org.apache.maven.wagon.providers.http.httpclient.impl.client.DefaultRequestDirector
> tryExecute
> INFO: Retrying request
> Apr 17, 2014 9:50:31 PM
>
> org.apache.maven.wagon.providers.http.httpclient.impl.client.DefaultRequestDirector
> tryExecute
> INFO: I/O exception
> (org.apache.maven.wagon.providers.http.httpclient.NoHttpResponseException)
> caught when processing request: The target server failed to respond
> Apr 17, 2014 9:50:31 PM
>
> org.apache.maven.wagon.providers.http.httpclient.impl.client.DefaultRequestDirector
> tryExecute
> INFO: Retrying request
>
>
> I can't even curl
>
> http://repo.maven.apache.org/maven2/org/apache/maven/scm/maven-scm-provider-cvsexe/1.9/maven-scm-provider-cvsexe-1.9.pom
>
> C:\Users\dantran>curl
>
> http://central.maven.org/maven2/org/apache/maven/scm/maven-scm-provider-cvsexe/1.9/maven-scm-provider-cvsexe-1.9.pom
> curl: (52) Empty reply from server
>
> note central.maven.org and repo.maven.apache.org  are the same host
>
> But browser can see that file.
>
> do you see the same thing
>
> Thanks
>
> -Dan
>
> -D
>