> Actually it is in settings: 
> http://maven.apache.org/guides/mini/guide-http-settings.html. Look for "Using 
> Preemptive Authentication".


I have tried that and it has no effect on the deployment which still fails

> What happens if you take Apache out of the equation and test direct 
> deployment to Artifactory?

Then it works

> 502 which suggests lack of response from the proxied server (Artifactory)


That's what I thought at the beginning but when I saw the access log, I thought 
it could come from somewhere else as I didn't know what was wrong with my 
Apache configuration...
My Apache configuration is the following :

<VirtualHost *:80>
        ServerName maven.artenum.com
        ProxyRequests Off
        ProxyPreserveHost on
        <Proxy *>
                Order Deny,allow
                Allow from all
        </Proxy>
        ProxyPass / http://127.0.0.1:9900/
        ProxyPassReverse / http://127.0.0.1:9900/
</VirtualHost>


Kind regards

Benoît


Le 9 juin 2010 à 00:28, Yoav Landman a écrit :

> Actually it is in settings: 
> http://maven.apache.org/guides/mini/guide-http-settings.html. Look for "Using 
> Preemptive Authentication".
> 
> I would have expected the result status to be 403 in your case not 502 which 
> suggests lack of response from the proxied server (Artifactory). What happens 
> if you take Apache out of the equation and test direct deployment to 
> Artifactory?
> 
> Yoav
> 
> 2010/6/8 Thiébault Benoît <[email protected]>
> Thanks for the tip.
> What do you mean by "preemptive authentication configuration in the 
> distribution management block" ?
> 
> Benoît
> 
> Le 8 juin 2010 à 20:58, Frederic Simon a écrit :
> 
>> You may want to try preemptive authentication configuration in the 
>> distribution management block.
>> What strange is that 502 bad gateway means something bad happens between 
>> Apache and Artifactory...
>> 
>> Fred Simon
>> www.jfrog.org
>> 
>> 
>>> On Jun 8, 2010 7:42 PM, "Thiébault Benoît" <[email protected]> wrote:
>>> 
>>> I checked the access log of artifactory after a successful deploy. it gives 
>>> :
>>> 
>>> 2010-06-08 18:31:59,079 [ACCEPTED DOWNLOAD] 
>>> libs-snapshots-local:org/myproject/myproject/2.0-SNAPSHOT:maven-metadata.xml
>>>  for anonymous/XX.XXX.XXX.XXX.
>>> 2010-06-08 18:31:59,158 [ACCEPTED DOWNLOAD] 
>>> libs-snapshots-local:org/myproject/myproject/2.0-SNAPSHOT/maven-metadata.xml.sha1
>>>  for anonymous/XX.XXX.XXX.XXX.
>>> 2010-06-08 18:31:59,642 [DENIED DEPLOY] 
>>> libs-snapshots-local:org/myproject/myproject/2.0-SNAPSHOT/myproject-2.0-20100608.163158-2.jar
>>>  for anonymous/XX.XXX.XXX.XXX.
>>> 2010-06-08 18:32:03,259 [ACCEPTED DEPLOY] 
>>> libs-snapshots-local:org/myproject/myproject/2.0-SNAPSHOT/myproject-2.0-SNAPSHOT.jar
>>>  for thiebault/XX.XXX.XXX.XXX.
>>> 2010-06-08 18:32:03,344 [DENIED DEPLOY] 
>>> libs-snapshots-local:org/myproject/myproject/2.0-SNAPSHOT/myproject-2.0-20100608.163158-2.jar.md5
>>>  for anonymous/XX.XXX.XXX.XXX.
>>> 2010-06-08 18:32:03,484 [DENIED DEPLOY] 
>>> libs-snapshots-local:org/myproject/myproject/2.0-SNAPSHOT/myproject-2.0-20100608.163158-2.jar.sha1
>>>  for anonymous/XX.XXX.XXX.XXX.
>>> 2010-06-08 18:32:03,691 [ACCEPTED DOWNLOAD] 
>>> libs-snapshots-local:org/myproject/myproject/2.0-SNAPSHOT:maven-metadata.xml
>>>  for anonymous/XX.XXX.XXX.XXX.
>>> 2010-06-08 18:32:03,759 [ACCEPTED DOWNLOAD] 
>>> libs-snapshots-local:org/myproject/myproject/2.0-SNAPSHOT/maven-metadata.xml.sha1
>>>  for anonymous/XX.XXX.XXX.XXX.
>>> 2010-06-08 18:32:03,895 [DENIED DEPLOY] 
>>> libs-snapshots-local:org/myproject/myproject/2.0-SNAPSHOT/maven-metadata.xml
>>>  for anonymous/XX.XXX.XXX.XXX.
>>> 2010-06-08 18:32:04,039 [DENIED DEPLOY] 
>>> libs-snapshots-local:org/myproject/myproject/2.0-SNAPSHOT/maven-metadata.xml.md5
>>>  for anonymous/XX.XXX.XXX.XXX.
>>> 2010-06-08 18:32:04,173 [DENIED DEPLOY] 
>>> libs-snapshots-local:org/myproject/myproject/2.0-SNAPSHOT/maven-metadata.xml.sha1
>>>  for anonymous/XX.XXX.XXX.XXX.
>>> 2010-06-08 18:32:04,603 [DENIED DEPLOY] 
>>> libs-snapshots-local:org/myproject/myproject/2.0-SNAPSHOT/myproject-2.0-20100608.163158-2.pom
>>>  for anonymous/XX.XXX.XXX.XXX.
>>> 2010-06-08 18:32:04,782 [ACCEPTED DEPLOY] 
>>> libs-snapshots-local:org/myproject/myproject/2.0-SNAPSHOT/myproject-2.0-SNAPSHOT.pom
>>>  for thiebault/XX.XXX.XXX.XXX.
>>> 2010-06-08 18:32:05,142 [DENIED DEPLOY] 
>>> libs-snapshots-local:org/myproject/myproject/2.0-SNAPSHOT/myproject-2.0-20100608.163158-2.pom.md5
>>>  for anonymous/XX.XXX.XXX.XXX.
>>> 2010-06-08 18:32:05,308 [DENIED DEPLOY] 
>>> libs-snapshots-local:org/myproject/myproject/2.0-SNAPSHOT/myproject-2.0-20100608.163158-2.pom.sha1
>>>  for anonymous/XX.XXX.XXX.XXX.
>>> 2010-06-08 18:32:05,513 [ACCEPTED DOWNLOAD] 
>>> libs-snapshots-local:org/myproject/myproject:maven-metadata.xml for 
>>> anonymous/XX.XXX.XXX.XXX.
>>> 2010-06-08 18:32:05,582 [ACCEPTED DOWNLOAD] 
>>> libs-snapshots-local:org/myproject/myproject/maven-metadata.xml.sha1 for 
>>> anonymous/XX.XXX.XXX.XXX.
>>> 2010-06-08 18:32:05,717 [DENIED DEPLOY] 
>>> libs-snapshots-local:org/myproject/myproject/maven-metadata.xml for 
>>> anonymous/XX.XXX.XXX.XXX.
>>> 2010-06-08 18:32:05,871 [DENIED DEPLOY] 
>>> libs-snapshots-local:org/myproject/myproject/maven-metadata.xml.md5 for 
>>> anonymous/XX.XXX.XXX.XXX.
>>> 2010-06-08 18:32:06,005 [DENIED DEPLOY] 
>>> libs-snapshots-local:org/myproject/myproject/maven-metadata.xml.sha1 for 
>>> anonymous/XX.XXX.XXX.XXX.
>>> 
>>> It seems that some of the files are deployed as anonymous, others using my 
>>> login. All anonymous deployments are rejected.
>>> 
>>> I have tried to only execute the jar-with-dependency assembly (not the 
>>> project ones) and I still have the same 502 error answer from Artifactory.
>>> I have also tried to only execute the projects assembly and they are 
>>> rejected as well.
>>> 
>>> I was wondering, maybe I have messed something with Artifactory permissions 
>>> ? Should anonymous deployment be allowed for some repositories ?
>>> 
>>> Benoît
>>> 
>>> 
>>> Le 8 juin 2010 à 18:23, Thiébault Benoît a écrit :
>>> 
>>> 
>>> >> Can you try skipping the assemblies, including jar-with-dependencies, 
>>> >> for the time being and se...
>>> 
>>> 
>>> 
>>> ------------------------------------------------------------------------------
>>> ThinkGeek and WIRED's GeekDad team up for the Ultimate
>>> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
>>> lucky parental unit.  See the prize list and enter to win:
>>> http://p.sf.net/sfu/thinkgeek-promo
>>> _______________________________________________
>>> Artifactory-users mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/artifactory-users
>>> 
>> 
>> ------------------------------------------------------------------------------
>> ThinkGeek and WIRED's GeekDad team up for the Ultimate 
>> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
>> lucky parental unit.  See the prize list and enter to win: 
>> http://p.sf.net/sfu/thinkgeek-promo_______________________________________________
>> Artifactory-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/artifactory-users
> 
> 
> ------------------------------------------------------------------------------
> ThinkGeek and WIRED's GeekDad team up for the Ultimate
> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
> lucky parental unit.  See the prize list and enter to win:
> http://p.sf.net/sfu/thinkgeek-promo
> _______________________________________________
> Artifactory-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/artifactory-users
> 
> 
> ------------------------------------------------------------------------------
> ThinkGeek and WIRED's GeekDad team up for the Ultimate 
> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
> lucky parental unit.  See the prize list and enter to win: 
> http://p.sf.net/sfu/thinkgeek-promo_______________________________________________
> Artifactory-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/artifactory-users

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users

Reply via email to