Test proxy connection settings

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Test proxy connection settings

jmborer

Hi there,

I must often change my artifactory proxy settings (login/password). The guys
in charge of the corporate proxy make changes sometimes that break our
software settings.

I would like to be able to test the proxy connection from within artifactory
to make sure it can access the internet. How can I do that without having to
play with the cached data? I don't want to delete some cached data otherwise
if my connection is broken I will not be able to get them again and my
collegues will kill me.

Any clue? A new feature for artifactory?

Cheers
--
View this message in context: http://www.nabble.com/Test-proxy-connection-settings-tp24374323p24374323.html
Sent from the Artifactory-Users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize
details at: http://p.sf.net/sfu/blackberry
_______________________________________________
Artifactory-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/artifactory-users
Reply | Threaded
Open this post in threaded view
|

Re: Test proxy connection settings

Yoav Landman
Administrator
It's more a workaround, but you could create a "test" remote cache that is not included in any virtual repo and is limited by pattern to a single artifact path (so the effect is minimal even on the "repo" global virtual repo) and/or even to admin users. You can then assign a different proxy reference that you wish to test to that repo, delete the repo (single file) content and try hitting the file's url to check it can be retrieved remotely.
Or - you could, of course, use wget or curl to test any kind of proxy config combo from the command line ;)

HTH,

Yoav

On Tue, Jul 7, 2009 at 5:29 PM, jmborer <[hidden email]> wrote:

Hi there,

I must often change my artifactory proxy settings (login/password). The guys
in charge of the corporate proxy make changes sometimes that break our
software settings.

I would like to be able to test the proxy connection from within artifactory
to make sure it can access the internet. How can I do that without having to
play with the cached data? I don't want to delete some cached data otherwise
if my connection is broken I will not be able to get them again and my
collegues will kill me.

Any clue? A new feature for artifactory?

Cheers
--
View this message in context: http://www.nabble.com/Test-proxy-connection-settings-tp24374323p24374323.html
Sent from the Artifactory-Users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize
details at: http://p.sf.net/sfu/blackberry
_______________________________________________
Artifactory-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/artifactory-users


------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Artifactory-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/artifactory-users
Reply | Threaded
Open this post in threaded view
|

Re: Test proxy connection settings

jmborer

Thank you for the insight.

Another question a little bit off topic: you use apache's httpclient lib,
right? Wich version is used in artifcatory 2.0.6?

I am asking you this, because I recently update from maven 2.1.0 to 2.2.0
and since all proxy authentications fail (NTLMv2 probably). Artifactory (at
least 2.0.4) is able to authenticate successfully. Have you patched
httpclient, used jcifs or is it just plain vanilla httpclient?
 


Yoav  Landman wrote:

>
> It's more a workaround, but you could create a "test" remote cache that is
> not included in any virtual repo and is limited by pattern to a single
> artifact path (so the effect is minimal even on the "repo" global virtual
> repo) and/or even to admin users. You can then assign a different proxy
> reference that you wish to test to that repo, delete the repo (single
> file)
> content and try hitting the file's url to check it can be retrieved
> remotely.
> Or - you could, of course, use wget or curl to test any kind of proxy
> config
> combo from the command line ;)
>
> HTH,
>
> Yoav
>
> On Tue, Jul 7, 2009 at 5:29 PM, jmborer <[hidden email]> wrote:
>
>>
>> Hi there,
>>
>> I must often change my artifactory proxy settings (login/password). The
>> guys
>> in charge of the corporate proxy make changes sometimes that break our
>> software settings.
>>
>> I would like to be able to test the proxy connection from within
>> artifactory
>> to make sure it can access the internet. How can I do that without having
>> to
>> play with the cached data? I don't want to delete some cached data
>> otherwise
>> if my connection is broken I will not be able to get them again and my
>> collegues will kill me.
>>
>> Any clue? A new feature for artifactory?
>>
>> Cheers
>> --
>> View this message in context:
>> http://www.nabble.com/Test-proxy-connection-settings-tp24374323p24374323.html
>> Sent from the Artifactory-Users mailing list archive at Nabble.com.
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Enter the BlackBerry Developer Challenge
>> This is your chance to win up to $100,000 in prizes! For a limited time,
>> vendors submitting new applications to BlackBerry App World(TM) will have
>> the opportunity to enter the BlackBerry Developer Challenge. See full
>> prize
>> details at: http://p.sf.net/sfu/blackberry
>> _______________________________________________
>> Artifactory-users mailing list
>> [hidden email]
>> https://lists.sourceforge.net/lists/listinfo/artifactory-users
>>
>
> ------------------------------------------------------------------------------
> Enter the BlackBerry Developer Challenge  
> This is your chance to win up to $100,000 in prizes! For a limited time,
> vendors submitting new applications to BlackBerry App World(TM) will have
> the opportunity to enter the BlackBerry Developer Challenge. See full
> prize  
> details at: http://p.sf.net/sfu/Challenge
> _______________________________________________
> Artifactory-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/artifactory-users
>
>

--
View this message in context: http://www.nabble.com/Test-proxy-connection-settings-tp24374323p24389489.html
Sent from the Artifactory-Users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Artifactory-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/artifactory-users
Reply | Threaded
Open this post in threaded view
|

Re: Test proxy connection settings

Yoav Landman
Administrator
Sure - for all HTTP communication Artifactory (2.0.x) uses only non-patched Apache HttpClient v.3 (the exact version you can find inside the war on the jar itself), which doesn't do NTLMv2.

On Wed, Jul 8, 2009 at 2:08 PM, jmborer <[hidden email]> wrote:

Thank you for the insight.

Another question a little bit off topic: you use apache's httpclient lib,
right? Wich version is used in artifcatory 2.0.6?

I am asking you this, because I recently update from maven 2.1.0 to 2.2.0
and since all proxy authentications fail (NTLMv2 probably). Artifactory (at
least 2.0.4) is able to authenticate successfully. Have you patched
httpclient, used jcifs or is it just plain vanilla httpclient?



Yoav  Landman wrote:
>
> It's more a workaround, but you could create a "test" remote cache that is
> not included in any virtual repo and is limited by pattern to a single
> artifact path (so the effect is minimal even on the "repo" global virtual
> repo) and/or even to admin users. You can then assign a different proxy
> reference that you wish to test to that repo, delete the repo (single
> file)
> content and try hitting the file's url to check it can be retrieved
> remotely.
> Or - you could, of course, use wget or curl to test any kind of proxy
> config
> combo from the command line ;)
>
> HTH,
>
> Yoav
>
> On Tue, Jul 7, 2009 at 5:29 PM, jmborer <[hidden email]> wrote:
>
>>
>> Hi there,
>>
>> I must often change my artifactory proxy settings (login/password). The
>> guys
>> in charge of the corporate proxy make changes sometimes that break our
>> software settings.
>>
>> I would like to be able to test the proxy connection from within
>> artifactory
>> to make sure it can access the internet. How can I do that without having
>> to
>> play with the cached data? I don't want to delete some cached data
>> otherwise
>> if my connection is broken I will not be able to get them again and my
>> collegues will kill me.
>>
>> Any clue? A new feature for artifactory?
>>
>> Cheers
>> --
>> View this message in context:
>> http://www.nabble.com/Test-proxy-connection-settings-tp24374323p24374323.html
>> Sent from the Artifactory-Users mailing list archive at Nabble.com.
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Enter the BlackBerry Developer Challenge
>> This is your chance to win up to $100,000 in prizes! For a limited time,
>> vendors submitting new applications to BlackBerry App World(TM) will have
>> the opportunity to enter the BlackBerry Developer Challenge. See full
>> prize
>> details at: http://p.sf.net/sfu/blackberry
>> _______________________________________________
>> Artifactory-users mailing list
>> [hidden email]
>> https://lists.sourceforge.net/lists/listinfo/artifactory-users
>>
>
> ------------------------------------------------------------------------------
> Enter the BlackBerry Developer Challenge
> This is your chance to win up to $100,000 in prizes! For a limited time,
> vendors submitting new applications to BlackBerry App World(TM) will have
> the opportunity to enter the BlackBerry Developer Challenge. See full
> prize
> details at: http://p.sf.net/sfu/Challenge
> _______________________________________________
> Artifactory-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/artifactory-users
>
>

--
View this message in context: http://www.nabble.com/Test-proxy-connection-settings-tp24374323p24389489.html
Sent from the Artifactory-Users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Artifactory-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/artifactory-users


------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Artifactory-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/artifactory-users