You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Benoît Thiébault <th...@artenum.com> on 2010/05/14 09:33:30 UTC

Error 502 using mvn deploy

Hi everyone,

I have installed a Maven repository and I am trying to deploy my project on it. My pom generates both the jar and the jar-with-dependencies files. When I use the web interface of the maven repository (its Artifactory in fact), I can upload my jars without any problem.

However, when I deploy with Maven using the "mvn deploy" command line, I have a 502 error sent by Apache for the jar-with-dependencies file (which weights 8.2 Mb). As explained here (https://issues.apache.org/bugzilla/show_bug.cgi?id=44592), it seems that Maven sends the header request, but as it does not send the body just afterwards, it causes Apache to send the 502 error...

Does any of you have already encountered the problem ?
I have tried to extend Apache KeepAliveTimeOut value, but it doesn't seem to work.
As a workaround, I was thinking about not deploying the jar-with-dependencies file automatically, but it does not seem possible as Maven deploys all the articfacts it created...

Any help on the subject is welcome :-)

Kind regards,

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


Re: Error 502 using mvn deploy

Posted by Benoît Thiébault <th...@artenum.com>.
I got this answer on artifactory mailing list it solved my problem with this maven repository ! I now have the choice between artifactory and nexus
Thanks Eli

----
Hello Benoit,

I have created an issue addressing your problem http://issues.jfrog.org/jira/browse/RTFACT-3190 
please try modifying your jetty connector in the jetty.xml file  to be as follow:

<Call name="addConnector">
        <Arg>
            <New class="org.eclipse.jetty.server.nio.SelectChannelConnector">
                <Set name="host"><SystemProperty name="jetty.host" /></Set>
                <Set name="port"><SystemProperty name="jetty.port" default="8081"/></Set>
                <Set name="forwarded">true</Set>
                <Set name="maxIdleTime">30000</Set>
                <Set name="Acceptors">1</Set>
                <Set name="lowResourceMaxIdleTime">3000</Set>
            </New>
        </Arg>
    </Call> 

HTH

Eli
The artifactory team

Le 15 mai 2010 à 18:11, Benoît Thiébault a écrit :

> Yes.
> It's too bad because I preferred Artifactory (looks very nice and seems simpler to use).
> 
> Le 15 mai 2010 à 16:45, Yoav Landman a écrit :
> 
>> Do you still run an Apache frontend?
>> 
>> 2010/5/15 Benoît Thiébault <th...@artenum.com>
>> 
>>> Yes I did.
>>> Maybe I just got something wrong with the settings of Apache... I'm not an
>>> expert in the field and had quite some difficulties with this part
>>> 
>>> Le 15 mai 2010 à 10:14, Frederic Simon a écrit :
>>> 
>>>> Out of curiosity: Did you use the embedded jetty with mod_proxy?
>>>> 
>>>> 2010/5/14 Benoît Thiébault <th...@artenum.com>
>>>> 
>>>>> I switched from Artifactory to Nexus and it solved the problem...
>>>>> Thanks for your help
>>>>> 
>>>>> Le 14 mai 2010 à 16:47, Benoît Thiébault a écrit :
>>>>> 
>>>>>> The error log says :
>>>>>> proxy: pass request body failed to host:port from myIP
>>>>>> 
>>>>>> Le 14 mai 2010 à 16:31, Brian Fox a écrit :
>>>>>> 
>>>>>>> 502 means a timeout between the reverse proxy and the repo manager
>>>>> behind it.
>>>>>>> 
>>>>>>> On Fri, May 14, 2010 at 3:33 AM, Benoît Thiébault <
>>>>> thiebault@artenum.com> wrote:
>>>>>>>> Hi everyone,
>>>>>>>> 
>>>>>>>> I have installed a Maven repository and I am trying to deploy my
>>>>> project on it. My pom generates both the jar and the
>>> jar-with-dependencies
>>>>> files. When I use the web interface of the maven repository (its
>>> Artifactory
>>>>> in fact), I can upload my jars without any problem.
>>>>>>>> 
>>>>>>>> However, when I deploy with Maven using the "mvn deploy" command
>>> line,
>>>>> I have a 502 error sent by Apache for the jar-with-dependencies file
>>> (which
>>>>> weights 8.2 Mb). As explained here (
>>>>> https://issues.apache.org/bugzilla/show_bug.cgi?id=44592), it seems
>>> that
>>>>> Maven sends the header request, but as it does not send the body just
>>>>> afterwards, it causes Apache to send the 502 error...
>>>>>>>> 
>>>>>>>> Does any of you have already encountered the problem ?
>>>>>>>> I have tried to extend Apache KeepAliveTimeOut value, but it doesn't
>>>>> seem to work.
>>>>>>>> As a workaround, I was thinking about not deploying the
>>>>> jar-with-dependencies file automatically, but it does not seem possible
>>> as
>>>>> Maven deploys all the articfacts it created...
>>>>>>>> 
>>>>>>>> Any help on the subject is welcome :-)
>>>>>>>> 
>>>>>>>> Kind regards,
>>>>>>>> 
>>>>>>>> Benoit
>>>>>>>> ---------------------------------------------------------------------
>>>>>>>> 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
>>>>>>> 
>>>>>>> 
>>>>>> 
>>>>>> ----
>>>>>> Benoît Thiébault
>>>>>> 
>>>>>> Artenum - Science & Groupware
>>>>>> http://www.artenum.com
>>>>>> 
>>>>>> 24, rue Louis-Blanc, 75010 Paris
>>>>>> tel/fax : +33 (0)1 46 94 67 54
>>>>>> 
>>>>>> 
>>>>>> ---------------------------------------------------------------------
>>>>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>>>>> For additional commands, e-mail: users-help@maven.apache.org
>>>>>> 
>>>>>> 
>>>>> 
>>>>> ----
>>>>> Benoît Thiébault
>>>>> 
>>>>> Artenum - Science & Groupware
>>>>> http://www.artenum.com
>>>>> 
>>>>> 24, rue Louis-Blanc, 75010 Paris
>>>>> tel/fax : +33 (0)1 46 94 67 54
>>>>> 
>>>>> 
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>>>> For additional commands, e-mail: users-help@maven.apache.org
>>>>> 
>>>>> 
>>>> 
>>>> 
>>>> --
>>>> Co. Founder and Chief Architect
>>>> JFrog Ltd
>>>> http://www.jfrog.org/
>>>> http://twitter.com/freddy33
>>> 
>>> ----
>>> Benoît Thiébault
>>> 
>>> Artenum - Science & Groupware
>>> http://www.artenum.com
>>> 
>>> 24, rue Louis-Blanc, 75010 Paris
>>> tel/fax : +33 (0)1 46 94 67 54
>>> 
>>> 
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>> For additional commands, e-mail: users-help@maven.apache.org
>>> 
>>> 
> 
> ----
> Benoît Thiébault
> 
>  Artenum - Science & Groupware
>  http://www.artenum.com
> 
>  24, rue Louis-Blanc, 75010 Paris
>  tel/fax : +33 (0)1 46 94 67 54
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
> 

----
Benoît Thiébault

  Artenum - Science & Groupware
  http://www.artenum.com

  24, rue Louis-Blanc, 75010 Paris
  tel/fax : +33 (0)1 46 94 67 54


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


Re: Error 502 using mvn deploy

Posted by Benoît Thiébault <th...@artenum.com>.
Yes.
It's too bad because I preferred Artifactory (looks very nice and seems simpler to use).

Le 15 mai 2010 à 16:45, Yoav Landman a écrit :

> Do you still run an Apache frontend?
> 
> 2010/5/15 Benoît Thiébault <th...@artenum.com>
> 
>> Yes I did.
>> Maybe I just got something wrong with the settings of Apache... I'm not an
>> expert in the field and had quite some difficulties with this part
>> 
>> Le 15 mai 2010 à 10:14, Frederic Simon a écrit :
>> 
>>> Out of curiosity: Did you use the embedded jetty with mod_proxy?
>>> 
>>> 2010/5/14 Benoît Thiébault <th...@artenum.com>
>>> 
>>>> I switched from Artifactory to Nexus and it solved the problem...
>>>> Thanks for your help
>>>> 
>>>> Le 14 mai 2010 à 16:47, Benoît Thiébault a écrit :
>>>> 
>>>>> The error log says :
>>>>> proxy: pass request body failed to host:port from myIP
>>>>> 
>>>>> Le 14 mai 2010 à 16:31, Brian Fox a écrit :
>>>>> 
>>>>>> 502 means a timeout between the reverse proxy and the repo manager
>>>> behind it.
>>>>>> 
>>>>>> On Fri, May 14, 2010 at 3:33 AM, Benoît Thiébault <
>>>> thiebault@artenum.com> wrote:
>>>>>>> Hi everyone,
>>>>>>> 
>>>>>>> I have installed a Maven repository and I am trying to deploy my
>>>> project on it. My pom generates both the jar and the
>> jar-with-dependencies
>>>> files. When I use the web interface of the maven repository (its
>> Artifactory
>>>> in fact), I can upload my jars without any problem.
>>>>>>> 
>>>>>>> However, when I deploy with Maven using the "mvn deploy" command
>> line,
>>>> I have a 502 error sent by Apache for the jar-with-dependencies file
>> (which
>>>> weights 8.2 Mb). As explained here (
>>>> https://issues.apache.org/bugzilla/show_bug.cgi?id=44592), it seems
>> that
>>>> Maven sends the header request, but as it does not send the body just
>>>> afterwards, it causes Apache to send the 502 error...
>>>>>>> 
>>>>>>> Does any of you have already encountered the problem ?
>>>>>>> I have tried to extend Apache KeepAliveTimeOut value, but it doesn't
>>>> seem to work.
>>>>>>> As a workaround, I was thinking about not deploying the
>>>> jar-with-dependencies file automatically, but it does not seem possible
>> as
>>>> Maven deploys all the articfacts it created...
>>>>>>> 
>>>>>>> Any help on the subject is welcome :-)
>>>>>>> 
>>>>>>> Kind regards,
>>>>>>> 
>>>>>>> Benoit
>>>>>>> ---------------------------------------------------------------------
>>>>>>> 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
>>>>>> 
>>>>>> 
>>>>> 
>>>>> ----
>>>>> Benoît Thiébault
>>>>> 
>>>>> Artenum - Science & Groupware
>>>>> http://www.artenum.com
>>>>> 
>>>>> 24, rue Louis-Blanc, 75010 Paris
>>>>> tel/fax : +33 (0)1 46 94 67 54
>>>>> 
>>>>> 
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>>>> For additional commands, e-mail: users-help@maven.apache.org
>>>>> 
>>>>> 
>>>> 
>>>> ----
>>>> Benoît Thiébault
>>>> 
>>>> Artenum - Science & Groupware
>>>> http://www.artenum.com
>>>> 
>>>> 24, rue Louis-Blanc, 75010 Paris
>>>> tel/fax : +33 (0)1 46 94 67 54
>>>> 
>>>> 
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>>> For additional commands, e-mail: users-help@maven.apache.org
>>>> 
>>>> 
>>> 
>>> 
>>> --
>>> Co. Founder and Chief Architect
>>> JFrog Ltd
>>> http://www.jfrog.org/
>>> http://twitter.com/freddy33
>> 
>> ----
>> Benoît Thiébault
>> 
>> Artenum - Science & Groupware
>> http://www.artenum.com
>> 
>> 24, rue Louis-Blanc, 75010 Paris
>> tel/fax : +33 (0)1 46 94 67 54
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>> 
>> 

----
Benoît Thiébault

  Artenum - Science & Groupware
  http://www.artenum.com

  24, rue Louis-Blanc, 75010 Paris
  tel/fax : +33 (0)1 46 94 67 54


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


Re: Error 502 using mvn deploy

Posted by Yoav Landman <yl...@gmail.com>.
Do you still run an Apache frontend?

2010/5/15 Benoît Thiébault <th...@artenum.com>

> Yes I did.
> Maybe I just got something wrong with the settings of Apache... I'm not an
> expert in the field and had quite some difficulties with this part
>
> Le 15 mai 2010 à 10:14, Frederic Simon a écrit :
>
> > Out of curiosity: Did you use the embedded jetty with mod_proxy?
> >
> > 2010/5/14 Benoît Thiébault <th...@artenum.com>
> >
> >> I switched from Artifactory to Nexus and it solved the problem...
> >> Thanks for your help
> >>
> >> Le 14 mai 2010 à 16:47, Benoît Thiébault a écrit :
> >>
> >>> The error log says :
> >>> proxy: pass request body failed to host:port from myIP
> >>>
> >>> Le 14 mai 2010 à 16:31, Brian Fox a écrit :
> >>>
> >>>> 502 means a timeout between the reverse proxy and the repo manager
> >> behind it.
> >>>>
> >>>> On Fri, May 14, 2010 at 3:33 AM, Benoît Thiébault <
> >> thiebault@artenum.com> wrote:
> >>>>> Hi everyone,
> >>>>>
> >>>>> I have installed a Maven repository and I am trying to deploy my
> >> project on it. My pom generates both the jar and the
> jar-with-dependencies
> >> files. When I use the web interface of the maven repository (its
> Artifactory
> >> in fact), I can upload my jars without any problem.
> >>>>>
> >>>>> However, when I deploy with Maven using the "mvn deploy" command
> line,
> >> I have a 502 error sent by Apache for the jar-with-dependencies file
> (which
> >> weights 8.2 Mb). As explained here (
> >> https://issues.apache.org/bugzilla/show_bug.cgi?id=44592), it seems
> that
> >> Maven sends the header request, but as it does not send the body just
> >> afterwards, it causes Apache to send the 502 error...
> >>>>>
> >>>>> Does any of you have already encountered the problem ?
> >>>>> I have tried to extend Apache KeepAliveTimeOut value, but it doesn't
> >> seem to work.
> >>>>> As a workaround, I was thinking about not deploying the
> >> jar-with-dependencies file automatically, but it does not seem possible
> as
> >> Maven deploys all the articfacts it created...
> >>>>>
> >>>>> Any help on the subject is welcome :-)
> >>>>>
> >>>>> Kind regards,
> >>>>>
> >>>>> Benoit
> >>>>> ---------------------------------------------------------------------
> >>>>> 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
> >>>>
> >>>>
> >>>
> >>> ----
> >>> Benoît Thiébault
> >>>
> >>> Artenum - Science & Groupware
> >>> http://www.artenum.com
> >>>
> >>> 24, rue Louis-Blanc, 75010 Paris
> >>> tel/fax : +33 (0)1 46 94 67 54
> >>>
> >>>
> >>> ---------------------------------------------------------------------
> >>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> >>> For additional commands, e-mail: users-help@maven.apache.org
> >>>
> >>>
> >>
> >> ----
> >> Benoît Thiébault
> >>
> >> Artenum - Science & Groupware
> >> http://www.artenum.com
> >>
> >> 24, rue Louis-Blanc, 75010 Paris
> >> tel/fax : +33 (0)1 46 94 67 54
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> >> For additional commands, e-mail: users-help@maven.apache.org
> >>
> >>
> >
> >
> > --
> > Co. Founder and Chief Architect
> > JFrog Ltd
> > http://www.jfrog.org/
> > http://twitter.com/freddy33
>
> ----
> Benoît Thiébault
>
>  Artenum - Science & Groupware
>  http://www.artenum.com
>
>  24, rue Louis-Blanc, 75010 Paris
>  tel/fax : +33 (0)1 46 94 67 54
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Re: Error 502 using mvn deploy

Posted by Benoît Thiébault <th...@artenum.com>.
Yes I did.
Maybe I just got something wrong with the settings of Apache... I'm not an expert in the field and had quite some difficulties with this part

Le 15 mai 2010 à 10:14, Frederic Simon a écrit :

> Out of curiosity: Did you use the embedded jetty with mod_proxy?
> 
> 2010/5/14 Benoît Thiébault <th...@artenum.com>
> 
>> I switched from Artifactory to Nexus and it solved the problem...
>> Thanks for your help
>> 
>> Le 14 mai 2010 à 16:47, Benoît Thiébault a écrit :
>> 
>>> The error log says :
>>> proxy: pass request body failed to host:port from myIP
>>> 
>>> Le 14 mai 2010 à 16:31, Brian Fox a écrit :
>>> 
>>>> 502 means a timeout between the reverse proxy and the repo manager
>> behind it.
>>>> 
>>>> On Fri, May 14, 2010 at 3:33 AM, Benoît Thiébault <
>> thiebault@artenum.com> wrote:
>>>>> Hi everyone,
>>>>> 
>>>>> I have installed a Maven repository and I am trying to deploy my
>> project on it. My pom generates both the jar and the jar-with-dependencies
>> files. When I use the web interface of the maven repository (its Artifactory
>> in fact), I can upload my jars without any problem.
>>>>> 
>>>>> However, when I deploy with Maven using the "mvn deploy" command line,
>> I have a 502 error sent by Apache for the jar-with-dependencies file (which
>> weights 8.2 Mb). As explained here (
>> https://issues.apache.org/bugzilla/show_bug.cgi?id=44592), it seems that
>> Maven sends the header request, but as it does not send the body just
>> afterwards, it causes Apache to send the 502 error...
>>>>> 
>>>>> Does any of you have already encountered the problem ?
>>>>> I have tried to extend Apache KeepAliveTimeOut value, but it doesn't
>> seem to work.
>>>>> As a workaround, I was thinking about not deploying the
>> jar-with-dependencies file automatically, but it does not seem possible as
>> Maven deploys all the articfacts it created...
>>>>> 
>>>>> Any help on the subject is welcome :-)
>>>>> 
>>>>> Kind regards,
>>>>> 
>>>>> Benoit
>>>>> ---------------------------------------------------------------------
>>>>> 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
>>>> 
>>>> 
>>> 
>>> ----
>>> Benoît Thiébault
>>> 
>>> Artenum - Science & Groupware
>>> http://www.artenum.com
>>> 
>>> 24, rue Louis-Blanc, 75010 Paris
>>> tel/fax : +33 (0)1 46 94 67 54
>>> 
>>> 
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>> For additional commands, e-mail: users-help@maven.apache.org
>>> 
>>> 
>> 
>> ----
>> Benoît Thiébault
>> 
>> Artenum - Science & Groupware
>> http://www.artenum.com
>> 
>> 24, rue Louis-Blanc, 75010 Paris
>> tel/fax : +33 (0)1 46 94 67 54
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>> 
>> 
> 
> 
> -- 
> Co. Founder and Chief Architect
> JFrog Ltd
> http://www.jfrog.org/
> http://twitter.com/freddy33

----
Benoît Thiébault

  Artenum - Science & Groupware
  http://www.artenum.com

  24, rue Louis-Blanc, 75010 Paris
  tel/fax : +33 (0)1 46 94 67 54


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


Re: Error 502 using mvn deploy

Posted by Frederic Simon <fr...@jfrog.org>.
Out of curiosity: Did you use the embedded jetty with mod_proxy?

2010/5/14 Benoît Thiébault <th...@artenum.com>

> I switched from Artifactory to Nexus and it solved the problem...
> Thanks for your help
>
> Le 14 mai 2010 à 16:47, Benoît Thiébault a écrit :
>
> > The error log says :
> > proxy: pass request body failed to host:port from myIP
> >
> > Le 14 mai 2010 à 16:31, Brian Fox a écrit :
> >
> >> 502 means a timeout between the reverse proxy and the repo manager
> behind it.
> >>
> >> On Fri, May 14, 2010 at 3:33 AM, Benoît Thiébault <
> thiebault@artenum.com> wrote:
> >>> Hi everyone,
> >>>
> >>> I have installed a Maven repository and I am trying to deploy my
> project on it. My pom generates both the jar and the jar-with-dependencies
> files. When I use the web interface of the maven repository (its Artifactory
> in fact), I can upload my jars without any problem.
> >>>
> >>> However, when I deploy with Maven using the "mvn deploy" command line,
> I have a 502 error sent by Apache for the jar-with-dependencies file (which
> weights 8.2 Mb). As explained here (
> https://issues.apache.org/bugzilla/show_bug.cgi?id=44592), it seems that
> Maven sends the header request, but as it does not send the body just
> afterwards, it causes Apache to send the 502 error...
> >>>
> >>> Does any of you have already encountered the problem ?
> >>> I have tried to extend Apache KeepAliveTimeOut value, but it doesn't
> seem to work.
> >>> As a workaround, I was thinking about not deploying the
> jar-with-dependencies file automatically, but it does not seem possible as
> Maven deploys all the articfacts it created...
> >>>
> >>> Any help on the subject is welcome :-)
> >>>
> >>> Kind regards,
> >>>
> >>> Benoit
> >>> ---------------------------------------------------------------------
> >>> 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
> >>
> >>
> >
> > ----
> > Benoît Thiébault
> >
> >  Artenum - Science & Groupware
> >  http://www.artenum.com
> >
> >  24, rue Louis-Blanc, 75010 Paris
> >  tel/fax : +33 (0)1 46 94 67 54
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>
> ----
> Benoît Thiébault
>
>  Artenum - Science & Groupware
>  http://www.artenum.com
>
>  24, rue Louis-Blanc, 75010 Paris
>  tel/fax : +33 (0)1 46 94 67 54
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>


-- 
Co. Founder and Chief Architect
JFrog Ltd
http://www.jfrog.org/
http://twitter.com/freddy33

Re: Error 502 using mvn deploy

Posted by Wayne Fay <wa...@gmail.com>.
> I switched from Artifactory to Nexus and it solved the problem...

I'm sure Jason will be glad to hear that... Yoav, not so much. ;-)

Wayne

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


Re: Error 502 using mvn deploy

Posted by Benoît Thiébault <th...@artenum.com>.
I switched from Artifactory to Nexus and it solved the problem...
Thanks for your help

Le 14 mai 2010 à 16:47, Benoît Thiébault a écrit :

> The error log says :
> proxy: pass request body failed to host:port from myIP
> 
> Le 14 mai 2010 à 16:31, Brian Fox a écrit :
> 
>> 502 means a timeout between the reverse proxy and the repo manager behind it.
>> 
>> On Fri, May 14, 2010 at 3:33 AM, Benoît Thiébault <th...@artenum.com> wrote:
>>> Hi everyone,
>>> 
>>> I have installed a Maven repository and I am trying to deploy my project on it. My pom generates both the jar and the jar-with-dependencies files. When I use the web interface of the maven repository (its Artifactory in fact), I can upload my jars without any problem.
>>> 
>>> However, when I deploy with Maven using the "mvn deploy" command line, I have a 502 error sent by Apache for the jar-with-dependencies file (which weights 8.2 Mb). As explained here (https://issues.apache.org/bugzilla/show_bug.cgi?id=44592), it seems that Maven sends the header request, but as it does not send the body just afterwards, it causes Apache to send the 502 error...
>>> 
>>> Does any of you have already encountered the problem ?
>>> I have tried to extend Apache KeepAliveTimeOut value, but it doesn't seem to work.
>>> As a workaround, I was thinking about not deploying the jar-with-dependencies file automatically, but it does not seem possible as Maven deploys all the articfacts it created...
>>> 
>>> Any help on the subject is welcome :-)
>>> 
>>> Kind regards,
>>> 
>>> Benoit
>>> ---------------------------------------------------------------------
>>> 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
>> 
>> 
> 
> ----
> Benoît Thiébault
> 
>  Artenum - Science & Groupware
>  http://www.artenum.com
> 
>  24, rue Louis-Blanc, 75010 Paris
>  tel/fax : +33 (0)1 46 94 67 54
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
> 

----
Benoît Thiébault

  Artenum - Science & Groupware
  http://www.artenum.com

  24, rue Louis-Blanc, 75010 Paris
  tel/fax : +33 (0)1 46 94 67 54


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


Re: Error 502 using mvn deploy

Posted by Benoît Thiébault <th...@artenum.com>.
The error log says :
proxy: pass request body failed to host:port from myIP

Le 14 mai 2010 à 16:31, Brian Fox a écrit :

> 502 means a timeout between the reverse proxy and the repo manager behind it.
> 
> On Fri, May 14, 2010 at 3:33 AM, Benoît Thiébault <th...@artenum.com> wrote:
>> Hi everyone,
>> 
>> I have installed a Maven repository and I am trying to deploy my project on it. My pom generates both the jar and the jar-with-dependencies files. When I use the web interface of the maven repository (its Artifactory in fact), I can upload my jars without any problem.
>> 
>> However, when I deploy with Maven using the "mvn deploy" command line, I have a 502 error sent by Apache for the jar-with-dependencies file (which weights 8.2 Mb). As explained here (https://issues.apache.org/bugzilla/show_bug.cgi?id=44592), it seems that Maven sends the header request, but as it does not send the body just afterwards, it causes Apache to send the 502 error...
>> 
>> Does any of you have already encountered the problem ?
>> I have tried to extend Apache KeepAliveTimeOut value, but it doesn't seem to work.
>> As a workaround, I was thinking about not deploying the jar-with-dependencies file automatically, but it does not seem possible as Maven deploys all the articfacts it created...
>> 
>> Any help on the subject is welcome :-)
>> 
>> Kind regards,
>> 
>> Benoit
>> ---------------------------------------------------------------------
>> 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
> 
> 

----
Benoît Thiébault

  Artenum - Science & Groupware
  http://www.artenum.com

  24, rue Louis-Blanc, 75010 Paris
  tel/fax : +33 (0)1 46 94 67 54


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


Re: Error 502 using mvn deploy

Posted by Brian Fox <br...@infinity.nu>.
502 means a timeout between the reverse proxy and the repo manager behind it.

On Fri, May 14, 2010 at 3:33 AM, Benoît Thiébault <th...@artenum.com> wrote:
> Hi everyone,
>
> I have installed a Maven repository and I am trying to deploy my project on it. My pom generates both the jar and the jar-with-dependencies files. When I use the web interface of the maven repository (its Artifactory in fact), I can upload my jars without any problem.
>
> However, when I deploy with Maven using the "mvn deploy" command line, I have a 502 error sent by Apache for the jar-with-dependencies file (which weights 8.2 Mb). As explained here (https://issues.apache.org/bugzilla/show_bug.cgi?id=44592), it seems that Maven sends the header request, but as it does not send the body just afterwards, it causes Apache to send the 502 error...
>
> Does any of you have already encountered the problem ?
> I have tried to extend Apache KeepAliveTimeOut value, but it doesn't seem to work.
> As a workaround, I was thinking about not deploying the jar-with-dependencies file automatically, but it does not seem possible as Maven deploys all the articfacts it created...
>
> Any help on the subject is welcome :-)
>
> Kind regards,
>
> Benoit
> ---------------------------------------------------------------------
> 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