Created: (MNG-4228) Authorization failed: Not authorized by proxy.

View: New views
20 Messages — Rating Filter:   Alert me  
< Prev | 1 - 2 - 3 | Next >

Issue Comment Edited: (MNG-4228) Authorization failed: Not authorized by proxy.

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ http://jira.codehaus.org/browse/MNG-4228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=182961#action_182961 ]

Marco Noto edited comment on MNG-4228 at 7/8/09 10:02 AM:
----------------------------------------------------------

jean-marc, i can't run your example...

I've some problems with my JAVA_HOME in C.\Programs Files (path with space):
Exception in thread "main" java.lang.NoClassDefFoundError: Files\Java\jre1/6/0_04\jre\lib\security\cacerts

Now i haven't the time to change the example...

edit :) ok I set my JAVA HOME to C:\Progra~1\Java\jre1.6.0_04\ and the examples runs ok ;)

      was (Author: cn73):
    jean-marc, i can't run your example...

I've some problems with my JAVA_HOME in C.\Programs Files (path with space):
Exception in thread "main" java.lang.NoClassDefFoundError: Files\Java\jre1/6/0_04\jre\lib\security\cacerts

Now i haven't the time to change the example...
 

> Authorization failed: Not authorized by proxy.
> ----------------------------------------------
>
>                 Key: MNG-4228
>                 URL: http://jira.codehaus.org/browse/MNG-4228
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Artifacts and Repositories, Settings
>    Affects Versions: 2.2.0
>         Environment: Windows XP, java version "1.6.0_04"
>            Reporter: Marco Noto
>            Priority: Blocker
>             Fix For: 2.2.1
>
>         Attachments: NTLMV21.RAR, TestNTLMAuth.java
>
>
> I can not access any external repository using the version 2.2.0. If I go back to 2.1.0 everything works properly.
> For example:
> mvn -U eclipse:eclipse
> [INFO] Scanning for projects...
> [INFO] Searching repository for plugin with prefix: 'eclipse'.
> [INFO] org.apache.maven.plugins: checking for updates from central
> [WARNING] repository metadata for: 'org.apache.maven.plugins' could not be retrieved from repository: central due
>  to an error: Authorization failed: Not authorized by proxy.
> [INFO] Repository 'central' will be blacklisted

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Issue Comment Edited: (MNG-4228) Authorization failed: Not authorized by proxy.

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ http://jira.codehaus.org/browse/MNG-4228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=182961#action_182961 ]

Marco Noto edited comment on MNG-4228 at 7/8/09 10:06 AM:
----------------------------------------------------------

jean-marc  the examples runs ok ;)

      was (Author: cn73):
    jean-marc, i can't run your example...

I've some problems with my JAVA_HOME in C.\Programs Files (path with space):
Exception in thread "main" java.lang.NoClassDefFoundError: Files\Java\jre1/6/0_04\jre\lib\security\cacerts

Now i haven't the time to change the example...

edit :) ok I set my JAVA HOME to C:\Progra~1\Java\jre1.6.0_04\ and the examples runs ok ;)
 

> Authorization failed: Not authorized by proxy.
> ----------------------------------------------
>
>                 Key: MNG-4228
>                 URL: http://jira.codehaus.org/browse/MNG-4228
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Artifacts and Repositories, Settings
>    Affects Versions: 2.2.0
>         Environment: Windows XP, java version "1.6.0_04"
>            Reporter: Marco Noto
>            Priority: Blocker
>             Fix For: 2.2.1
>
>         Attachments: NTLMV21.RAR, TestNTLMAuth.java
>
>
> I can not access any external repository using the version 2.2.0. If I go back to 2.1.0 everything works properly.
> For example:
> mvn -U eclipse:eclipse
> [INFO] Scanning for projects...
> [INFO] Searching repository for plugin with prefix: 'eclipse'.
> [INFO] org.apache.maven.plugins: checking for updates from central
> [WARNING] repository metadata for: 'org.apache.maven.plugins' could not be retrieved from repository: central due
>  to an error: Authorization failed: Not authorized by proxy.
> [INFO] Repository 'central' will be blacklisted

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Issue Comment Edited: (MNG-4228) Authorization failed: Not authorized by proxy.

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ http://jira.codehaus.org/browse/MNG-4228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=182961#action_182961 ]

Marco Noto edited comment on MNG-4228 at 7/8/09 10:09 AM:
----------------------------------------------------------

jean-marc  i've some problems with the exaples, and now i haven't the  time to solve it... I will return on Monday!

      was (Author: cn73):
    jean-marc  the examples runs ok ;)
 

> Authorization failed: Not authorized by proxy.
> ----------------------------------------------
>
>                 Key: MNG-4228
>                 URL: http://jira.codehaus.org/browse/MNG-4228
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Artifacts and Repositories, Settings
>    Affects Versions: 2.2.0
>         Environment: Windows XP, java version "1.6.0_04"
>            Reporter: Marco Noto
>            Priority: Blocker
>             Fix For: 2.2.1
>
>         Attachments: NTLMV21.RAR, TestNTLMAuth.java
>
>
> I can not access any external repository using the version 2.2.0. If I go back to 2.1.0 everything works properly.
> For example:
> mvn -U eclipse:eclipse
> [INFO] Scanning for projects...
> [INFO] Searching repository for plugin with prefix: 'eclipse'.
> [INFO] org.apache.maven.plugins: checking for updates from central
> [WARNING] repository metadata for: 'org.apache.maven.plugins' could not be retrieved from repository: central due
>  to an error: Authorization failed: Not authorized by proxy.
> [INFO] Repository 'central' will be blacklisted

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Issue Comment Edited: (MNG-4228) Authorization failed: Not authorized by proxy.

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ http://jira.codehaus.org/browse/MNG-4228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=182951#action_182951 ]

Jean-Marc Borer edited comment on MNG-4228 at 7/8/09 10:10 AM:
---------------------------------------------------------------

It seems we are using NTLMv1: artifactory 2.0.6 uses httpclient 3.x lib which implements NTLMv1. This works fine and authentication is successful. So not (yet) a NTLMv2 issue for me.

Anyway maven 2.2.0 cannot access internet because of Authorization failed: Not authorized by proxy.

I have used the patched lib provided by Konstantin at http://issues.apache.org/jira/browse/HTTPCLIENT-579. You can downloaded it at http://issues.apache.org/jira/secure/attachment/12410908/NTLMV21.RAR 

Then I have rewritten his example see my attached file. Simply drop it to the example dir build and run.

Edit:
Steps to run the example:
1) go to src directory and typ:
$ant
2) go to examples dir
3) edit run.bat and put quotes around the %JAVA_HOME% if it contains spaces
4) edit the java file and put your information (proxy address, login password etc)
5) to compile type
$ ant
6) execute run.bat

Marco could you try the example to see if this works for you?

      was (Author: jmborer):
    It seems we are using NTLMv1: artifactory 2.0.6 uses httpclient 3.x lib which implements NTLMv1. This works fine and authentication is successful. So not (yet) a NTLMv2 issue for me.

Anyway maven 2.2.0 cannot access internet because of Authorization failed: Not authorized by proxy.

I have used the patched lib provided by Konstantin at http://issues.apache.org/jira/browse/HTTPCLIENT-579. You can downloaded it at http://issues.apache.org/jira/secure/attachment/12410908/NTLMV21.RAR 

Then I have rewritten his example see my attached file. Simply drop it to the example dir build and run.

Marco could you try the example to see if this works for you?
 

> Authorization failed: Not authorized by proxy.
> ----------------------------------------------
>
>                 Key: MNG-4228
>                 URL: http://jira.codehaus.org/browse/MNG-4228
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Artifacts and Repositories, Settings
>    Affects Versions: 2.2.0
>         Environment: Windows XP, java version "1.6.0_04"
>            Reporter: Marco Noto
>            Priority: Blocker
>             Fix For: 2.2.1
>
>         Attachments: NTLMV21.RAR, TestNTLMAuth.java
>
>
> I can not access any external repository using the version 2.2.0. If I go back to 2.1.0 everything works properly.
> For example:
> mvn -U eclipse:eclipse
> [INFO] Scanning for projects...
> [INFO] Searching repository for plugin with prefix: 'eclipse'.
> [INFO] org.apache.maven.plugins: checking for updates from central
> [WARNING] repository metadata for: 'org.apache.maven.plugins' could not be retrieved from repository: central due
>  to an error: Authorization failed: Not authorized by proxy.
> [INFO] Repository 'central' will be blacklisted

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Issue Comment Edited: (MNG-4228) Authorization failed: Not authorized by proxy.

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ http://jira.codehaus.org/browse/MNG-4228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=182951#action_182951 ]

Jean-Marc Borer edited comment on MNG-4228 at 7/8/09 10:12 AM:
---------------------------------------------------------------

It seems we are using NTLMv1: artifactory 2.0.6 uses httpclient 3.x lib which implements NTLMv1. This works fine and authentication is successful. So not (yet) a NTLMv2 issue for me.

Anyway maven 2.2.0 cannot access internet because of Authorization failed: Not authorized by proxy.

I have used the patched lib provided by Konstantin at http://issues.apache.org/jira/browse/HTTPCLIENT-579. You can downloaded it at http://issues.apache.org/jira/secure/attachment/12410908/NTLMV21.RAR 

Then I have rewritten his example see my attached file. Simply drop it to the example dir build and run.

Edit:
Steps to run the example:
1) go to src directory and typ:
$ant
2) go to examples dir
3) edit run.bat and put quotes around the value of -Djavax.net.ssl.trustStore if it contains spaces otherwise you will get an error
4) edit the java file and put your information (proxy address, login password etc)
5) to compile type
$ ant
6) execute run.bat

Marco could you try the example to see if this works for you?

      was (Author: jmborer):
    It seems we are using NTLMv1: artifactory 2.0.6 uses httpclient 3.x lib which implements NTLMv1. This works fine and authentication is successful. So not (yet) a NTLMv2 issue for me.

Anyway maven 2.2.0 cannot access internet because of Authorization failed: Not authorized by proxy.

I have used the patched lib provided by Konstantin at http://issues.apache.org/jira/browse/HTTPCLIENT-579. You can downloaded it at http://issues.apache.org/jira/secure/attachment/12410908/NTLMV21.RAR 

Then I have rewritten his example see my attached file. Simply drop it to the example dir build and run.

Edit:
Steps to run the example:
1) go to src directory and typ:
$ant
2) go to examples dir
3) edit run.bat and put quotes around the %JAVA_HOME% if it contains spaces
4) edit the java file and put your information (proxy address, login password etc)
5) to compile type
$ ant
6) execute run.bat

Marco could you try the example to see if this works for you?
 

> Authorization failed: Not authorized by proxy.
> ----------------------------------------------
>
>                 Key: MNG-4228
>                 URL: http://jira.codehaus.org/browse/MNG-4228
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Artifacts and Repositories, Settings
>    Affects Versions: 2.2.0
>         Environment: Windows XP, java version "1.6.0_04"
>            Reporter: Marco Noto
>            Priority: Blocker
>             Fix For: 2.2.1
>
>         Attachments: NTLMV21.RAR, TestNTLMAuth.java
>
>
> I can not access any external repository using the version 2.2.0. If I go back to 2.1.0 everything works properly.
> For example:
> mvn -U eclipse:eclipse
> [INFO] Scanning for projects...
> [INFO] Searching repository for plugin with prefix: 'eclipse'.
> [INFO] org.apache.maven.plugins: checking for updates from central
> [WARNING] repository metadata for: 'org.apache.maven.plugins' could not be retrieved from repository: central due
>  to an error: Authorization failed: Not authorized by proxy.
> [INFO] Repository 'central' will be blacklisted

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Issue Comment Edited: (MNG-4228) Authorization failed: Not authorized by proxy.

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ http://jira.codehaus.org/browse/MNG-4228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=182961#action_182961 ]

Marco Noto edited comment on MNG-4228 at 7/8/09 10:15 AM:
----------------------------------------------------------

jean-marc  i run the examples and:


        <LI id=L_default_11>Error Code: 407 Proxy Authentication Required. The ISA Server requires authorization
to fulfill the request. Access to the Web Proxy filter is denied. (12209)
<LI id=L_default_12>IP Address: ------------
<LI id=L_default_13>Date: 08/07/2009 15:14:01 [GMT]
<LI id=L_default_14>Server: -----------------
<LI id=L_default_15>Source: proxy


      was (Author: cn73):
    jean-marc  i've some problems with the exaples, and now i haven't the  time to solve it... I will return on Monday!
 

> Authorization failed: Not authorized by proxy.
> ----------------------------------------------
>
>                 Key: MNG-4228
>                 URL: http://jira.codehaus.org/browse/MNG-4228
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Artifacts and Repositories, Settings
>    Affects Versions: 2.2.0
>         Environment: Windows XP, java version "1.6.0_04"
>            Reporter: Marco Noto
>            Priority: Blocker
>             Fix For: 2.2.1
>
>         Attachments: NTLMV21.RAR, TestNTLMAuth.java
>
>
> I can not access any external repository using the version 2.2.0. If I go back to 2.1.0 everything works properly.
> For example:
> mvn -U eclipse:eclipse
> [INFO] Scanning for projects...
> [INFO] Searching repository for plugin with prefix: 'eclipse'.
> [INFO] org.apache.maven.plugins: checking for updates from central
> [WARNING] repository metadata for: 'org.apache.maven.plugins' could not be retrieved from repository: central due
>  to an error: Authorization failed: Not authorized by proxy.
> [INFO] Repository 'central' will be blacklisted

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Re: Commented: (MNG-4228) Authorization failed: Not authorized by proxy.

by Durga.Tirunagari :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

can one of the people listed in here ( with no clickable e-mail  
address ). Remove me from this user list ?
E-mail (durga.tirunagari@... )

http://jira.codehaus.org/secure/Administrators.jspa

System Administrators

Here is the list of system administrators for this installation of JIRA.

System Administrators have complete administrative rights including  
permission to manage underlying JIRA system configuration such as  
backups and services.

    * Alan Cabrera
    * Andrew Eisenberg
    * Arnaud Heritier
    * Ben Walding
    * bob mcwhirter
    * Brett Porter
    * Brian Topping
    * Bruce Snyder
    * Contegix Support
    * Dain Sundstrom
    * Dan Diephouse
    * Dan North
    * David Blevins
    * Dennis Lundberg
    * Edward Povazan
    * Emmanuel Venisse
    * Eugene Kuleshov
    * Guillaume Laforge
    * Jacques Morel
    * James E. Ervin
    * James Macgill
    * Jason Dillon
    * Jason van Zyl
    * Jody Garnett
    * Paul Hammant
    * Peter Donald
    * peter royal
    * Rodrigo B. de Oliveira
    * Scott Farquhar
    * Trygve Laugstol
    * Vincent Massol
    * Werner Guttmann
    * Xircles System User

Thanks a bunch
On Jul 8, 2009, at 6:06 AM, Jean-Marc Borer (JIRA) wrote:

>
>    [ http://jira.codehaus.org/browse/MNG-4228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=182952#action_182952 
>  ]
>
> Jean-Marc Borer commented on MNG-4228:
> --------------------------------------
>
> The solution provided above is based on a patched version of  
> httpclient v3.
>
> If you look at the explanation on page  http://hc.apache.org/httpcomponents-client/ntlm.html 
>  concerning httpclient 4.x it uses jcifs implementation for NTLMv2.  
> However they will no longer support the http part of jcifs according  
> to their page http://jcifs.samba.org/src/docs/ntlmhttpauth.html
>
> I am puzzled here: apache recommends to use a lib that will no  
> longer be supported (at least the http part) and redirect to a  
> commercial implementation jespa http://www.ioplex.com/jespa.html.  
> What sould we do? They don't even explain how to use jespa in  
> httpclient 4.x...
>
>> Authorization failed: Not authorized by proxy.
>> ----------------------------------------------
>>
>>                Key: MNG-4228
>>                URL: http://jira.codehaus.org/browse/MNG-4228
>>            Project: Maven 2
>>         Issue Type: Bug
>>         Components: Artifacts and Repositories, Settings
>>   Affects Versions: 2.2.0
>>        Environment: Windows XP, java version "1.6.0_04"
>>           Reporter: Marco Noto
>>           Priority: Blocker
>>            Fix For: 2.2.1
>>
>>        Attachments: NTLMV21.RAR, TestNTLMAuth.java
>>
>>
>> I can not access any external repository using the version 2.2.0.  
>> If I go back to 2.1.0 everything works properly.
>> For example:
>> mvn -U eclipse:eclipse
>> [INFO] Scanning for projects...
>> [INFO] Searching repository for plugin with prefix: 'eclipse'.
>> [INFO] org.apache.maven.plugins: checking for updates from central
>> [WARNING] repository metadata for: 'org.apache.maven.plugins' could  
>> not be retrieved from repository: central due
>> to an error: Authorization failed: Not authorized by proxy.
>> [INFO] Repository 'central' will be blacklisted
>
> --
> This message is automatically generated by JIRA.
> -
> If you think it was sent incorrectly contact one of the  
> administrators: http://jira.codehaus.org/secure/Administrators.jspa
> -
> For more information on JIRA, see: http://www.atlassian.com/software/jira
>
>


Commented: (MNG-4228) Authorization failed: Not authorized by proxy.

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ http://jira.codehaus.org/browse/MNG-4228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=183053#action_183053 ]

Jean-Marc Borer commented on MNG-4228:
--------------------------------------

Marco, I don't know what that means. I am not an expert in this domain. I am just looking for solutions.

Are you sure to have provided all the required information? Do you use my example [1] or the one bundled in [2]?

Proxy authentication is just used in my example.

> Authorization failed: Not authorized by proxy.
> ----------------------------------------------
>
>                 Key: MNG-4228
>                 URL: http://jira.codehaus.org/browse/MNG-4228
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Artifacts and Repositories, Settings
>    Affects Versions: 2.2.0
>         Environment: Windows XP, java version "1.6.0_04"
>            Reporter: Marco Noto
>            Priority: Blocker
>             Fix For: 2.2.1
>
>         Attachments: NTLMV21.RAR, TestNTLMAuth.java
>
>
> I can not access any external repository using the version 2.2.0. If I go back to 2.1.0 everything works properly.
> For example:
> mvn -U eclipse:eclipse
> [INFO] Scanning for projects...
> [INFO] Searching repository for plugin with prefix: 'eclipse'.
> [INFO] org.apache.maven.plugins: checking for updates from central
> [WARNING] repository metadata for: 'org.apache.maven.plugins' could not be retrieved from repository: central due
>  to an error: Authorization failed: Not authorized by proxy.
> [INFO] Repository 'central' will be blacklisted

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Commented: (MNG-4228) Authorization failed: Not authorized by proxy.

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ http://jira.codehaus.org/browse/MNG-4228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=183058#action_183058 ]

Oleg Kalnichevski commented on MNG-4228:
----------------------------------------

> I am puzzled here: apache recommends to use a lib that will no longer be supported (at least the http part)

As far as my interpretation of the JCIF developers' position goes it sounds perfectly reasonable for them to discontinue development of components they consider out of scope and concentrate their efforts on the core competency, which is the NTLM authentication protocol.

> What sould we do?

General recommendation to all HttpClient users is to not use NTLM

Oleg

> Authorization failed: Not authorized by proxy.
> ----------------------------------------------
>
>                 Key: MNG-4228
>                 URL: http://jira.codehaus.org/browse/MNG-4228
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Artifacts and Repositories, Settings
>    Affects Versions: 2.2.0
>         Environment: Windows XP, java version "1.6.0_04"
>            Reporter: Marco Noto
>            Priority: Blocker
>             Fix For: 2.2.1
>
>         Attachments: NTLMV21.RAR, TestNTLMAuth.java
>
>
> I can not access any external repository using the version 2.2.0. If I go back to 2.1.0 everything works properly.
> For example:
> mvn -U eclipse:eclipse
> [INFO] Scanning for projects...
> [INFO] Searching repository for plugin with prefix: 'eclipse'.
> [INFO] org.apache.maven.plugins: checking for updates from central
> [WARNING] repository metadata for: 'org.apache.maven.plugins' could not be retrieved from repository: central due
>  to an error: Authorization failed: Not authorized by proxy.
> [INFO] Repository 'central' will be blacklisted

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Commented: (MNG-4228) Authorization failed: Not authorized by proxy.

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ http://jira.codehaus.org/browse/MNG-4228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=183059#action_183059 ]

Jean-Marc Borer commented on MNG-4228:
--------------------------------------

> General recommendation to all HttpClient users is to not use NTLM

That is no acceptable! We work in companies where they impose proxies that use such authentication scheme. We have no influence at all on this choice.

I would really be sorry to be obliged to drop maven because of connection issues that seem not impossible to fix...

> Authorization failed: Not authorized by proxy.
> ----------------------------------------------
>
>                 Key: MNG-4228
>                 URL: http://jira.codehaus.org/browse/MNG-4228
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Artifacts and Repositories, Settings
>    Affects Versions: 2.2.0
>         Environment: Windows XP, java version "1.6.0_04"
>            Reporter: Marco Noto
>            Priority: Blocker
>             Fix For: 2.2.1
>
>         Attachments: NTLMV21.RAR, TestNTLMAuth.java
>
>
> I can not access any external repository using the version 2.2.0. If I go back to 2.1.0 everything works properly.
> For example:
> mvn -U eclipse:eclipse
> [INFO] Scanning for projects...
> [INFO] Searching repository for plugin with prefix: 'eclipse'.
> [INFO] org.apache.maven.plugins: checking for updates from central
> [WARNING] repository metadata for: 'org.apache.maven.plugins' could not be retrieved from repository: central due
>  to an error: Authorization failed: Not authorized by proxy.
> [INFO] Repository 'central' will be blacklisted

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Issue Comment Edited: (MNG-4228) Authorization failed: Not authorized by proxy.

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ http://jira.codehaus.org/browse/MNG-4228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=183059#action_183059 ]

Jean-Marc Borer edited comment on MNG-4228 at 7/9/09 5:41 AM:
--------------------------------------------------------------

> General recommendation to all HttpClient users is to not use NTLM

That is no acceptable! We work in companies where they impose proxies that use such authentication scheme. We have no influence at all on this choice.

I would really be sorry to be obliged to drop maven because of connection issues that seem not impossible to fix... Maven 2.1.0 works fine though...

      was (Author: jmborer):
    > General recommendation to all HttpClient users is to not use NTLM

That is no acceptable! We work in companies where they impose proxies that use such authentication scheme. We have no influence at all on this choice.

I would really be sorry to be obliged to drop maven because of connection issues that seem not impossible to fix...
 

> Authorization failed: Not authorized by proxy.
> ----------------------------------------------
>
>                 Key: MNG-4228
>                 URL: http://jira.codehaus.org/browse/MNG-4228
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Artifacts and Repositories, Settings
>    Affects Versions: 2.2.0
>         Environment: Windows XP, java version "1.6.0_04"
>            Reporter: Marco Noto
>            Priority: Blocker
>             Fix For: 2.2.1
>
>         Attachments: NTLMV21.RAR, TestNTLMAuth.java
>
>
> I can not access any external repository using the version 2.2.0. If I go back to 2.1.0 everything works properly.
> For example:
> mvn -U eclipse:eclipse
> [INFO] Scanning for projects...
> [INFO] Searching repository for plugin with prefix: 'eclipse'.
> [INFO] org.apache.maven.plugins: checking for updates from central
> [WARNING] repository metadata for: 'org.apache.maven.plugins' could not be retrieved from repository: central due
>  to an error: Authorization failed: Not authorized by proxy.
> [INFO] Repository 'central' will be blacklisted

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Commented: (MNG-4228) Authorization failed: Not authorized by proxy.

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ http://jira.codehaus.org/browse/MNG-4228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=183121#action_183121 ]

John Casey commented on MNG-4228:
---------------------------------

Please rest assured that we're not simply going to drop support for users behind NTLM proxies. Our hands are somewhat tied with httpclient, it seems, but we're thinking about using a delegator Wagon implementation for Maven 2.2.1 that would allow you to specify which http wagon impl you want to use...the lightweight-http wagon used in Maven < 2.2.0, which supports NTLM but falls down in other fringe use cases, or the httpclient-driven wagon used in Maven 2.2.0. We're probably going to leave httpclient in as the default choice, but allow users to flip this if they run into problems.

> Authorization failed: Not authorized by proxy.
> ----------------------------------------------
>
>                 Key: MNG-4228
>                 URL: http://jira.codehaus.org/browse/MNG-4228
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Artifacts and Repositories, Settings
>    Affects Versions: 2.2.0
>         Environment: Windows XP, java version "1.6.0_04"
>            Reporter: Marco Noto
>            Priority: Blocker
>             Fix For: 2.2.1
>
>         Attachments: NTLMV21.RAR, TestNTLMAuth.java
>
>
> I can not access any external repository using the version 2.2.0. If I go back to 2.1.0 everything works properly.
> For example:
> mvn -U eclipse:eclipse
> [INFO] Scanning for projects...
> [INFO] Searching repository for plugin with prefix: 'eclipse'.
> [INFO] org.apache.maven.plugins: checking for updates from central
> [WARNING] repository metadata for: 'org.apache.maven.plugins' could not be retrieved from repository: central due
>  to an error: Authorization failed: Not authorized by proxy.
> [INFO] Repository 'central' will be blacklisted

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Updated: (MNG-4228) [regression] Authorization failed: Not authorized by proxy.

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ http://jira.codehaus.org/browse/MNG-4228?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

John Casey updated MNG-4228:
----------------------------

    Summary: [regression] Authorization failed: Not authorized by proxy.  (was: Authorization failed: Not authorized by proxy.)

> [regression] Authorization failed: Not authorized by proxy.
> -----------------------------------------------------------
>
>                 Key: MNG-4228
>                 URL: http://jira.codehaus.org/browse/MNG-4228
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Artifacts and Repositories, Settings
>    Affects Versions: 2.2.0
>         Environment: Windows XP, java version "1.6.0_04"
>            Reporter: Marco Noto
>            Priority: Blocker
>             Fix For: 2.2.1
>
>         Attachments: NTLMV21.RAR, TestNTLMAuth.java
>
>
> I can not access any external repository using the version 2.2.0. If I go back to 2.1.0 everything works properly.
> For example:
> mvn -U eclipse:eclipse
> [INFO] Scanning for projects...
> [INFO] Searching repository for plugin with prefix: 'eclipse'.
> [INFO] org.apache.maven.plugins: checking for updates from central
> [WARNING] repository metadata for: 'org.apache.maven.plugins' could not be retrieved from repository: central due
>  to an error: Authorization failed: Not authorized by proxy.
> [INFO] Repository 'central' will be blacklisted

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Work started: (MNG-4228) [regression] Authorization failed: Not authorized by proxy.

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ http://jira.codehaus.org/browse/MNG-4228?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on MNG-4228 started by John Casey.

> [regression] Authorization failed: Not authorized by proxy.
> -----------------------------------------------------------
>
>                 Key: MNG-4228
>                 URL: http://jira.codehaus.org/browse/MNG-4228
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Artifacts and Repositories, Settings
>    Affects Versions: 2.2.0
>         Environment: Windows XP, java version "1.6.0_04"
>            Reporter: Marco Noto
>            Assignee: John Casey
>            Priority: Blocker
>             Fix For: 2.2.1
>
>         Attachments: NTLMV21.RAR, TestNTLMAuth.java
>
>
> I can not access any external repository using the version 2.2.0. If I go back to 2.1.0 everything works properly.
> For example:
> mvn -U eclipse:eclipse
> [INFO] Scanning for projects...
> [INFO] Searching repository for plugin with prefix: 'eclipse'.
> [INFO] org.apache.maven.plugins: checking for updates from central
> [WARNING] repository metadata for: 'org.apache.maven.plugins' could not be retrieved from repository: central due
>  to an error: Authorization failed: Not authorized by proxy.
> [INFO] Repository 'central' will be blacklisted

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Work stopped: (MNG-4228) [regression] Authorization failed: Not authorized by proxy.

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ http://jira.codehaus.org/browse/MNG-4228?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on MNG-4228 stopped by John Casey.

> [regression] Authorization failed: Not authorized by proxy.
> -----------------------------------------------------------
>
>                 Key: MNG-4228
>                 URL: http://jira.codehaus.org/browse/MNG-4228
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Artifacts and Repositories, Settings
>    Affects Versions: 2.2.0
>         Environment: Windows XP, java version "1.6.0_04"
>            Reporter: Marco Noto
>            Assignee: John Casey
>            Priority: Blocker
>             Fix For: 2.2.1
>
>         Attachments: NTLMV21.RAR, TestNTLMAuth.java
>
>
> I can not access any external repository using the version 2.2.0. If I go back to 2.1.0 everything works properly.
> For example:
> mvn -U eclipse:eclipse
> [INFO] Scanning for projects...
> [INFO] Searching repository for plugin with prefix: 'eclipse'.
> [INFO] org.apache.maven.plugins: checking for updates from central
> [WARNING] repository metadata for: 'org.apache.maven.plugins' could not be retrieved from repository: central due
>  to an error: Authorization failed: Not authorized by proxy.
> [INFO] Repository 'central' will be blacklisted

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Closed: (MNG-4228) [regression] Authorization failed: Not authorized by proxy.

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ http://jira.codehaus.org/browse/MNG-4228?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

John Casey closed MNG-4228.
---------------------------

    Resolution: Fixed

lightweight wagon is once again the default for http/s wagons, but httpclient-driven wagons can be selected using:

{noformat}
-Dmaven.wagon.provider.http=httpclient

-OR-

-Dmaven.wagon.provider.https=httpclient
{noformat}

Or, you can configure the provider per-server using the following <server> configuration:

{noformat}
<wagonProvider>httpclient</wagonProvider>
{noformat}

> [regression] Authorization failed: Not authorized by proxy.
> -----------------------------------------------------------
>
>                 Key: MNG-4228
>                 URL: http://jira.codehaus.org/browse/MNG-4228
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Artifacts and Repositories, Settings
>    Affects Versions: 2.2.0
>         Environment: Windows XP, java version "1.6.0_04"
>            Reporter: Marco Noto
>            Assignee: John Casey
>            Priority: Blocker
>             Fix For: 2.2.1
>
>         Attachments: NTLMV21.RAR, TestNTLMAuth.java
>
>
> I can not access any external repository using the version 2.2.0. If I go back to 2.1.0 everything works properly.
> For example:
> mvn -U eclipse:eclipse
> [INFO] Scanning for projects...
> [INFO] Searching repository for plugin with prefix: 'eclipse'.
> [INFO] org.apache.maven.plugins: checking for updates from central
> [WARNING] repository metadata for: 'org.apache.maven.plugins' could not be retrieved from repository: central due
>  to an error: Authorization failed: Not authorized by proxy.
> [INFO] Repository 'central' will be blacklisted

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Issue Comment Edited: (MNG-4228) [regression] Authorization failed: Not authorized by proxy.

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ http://jira.codehaus.org/browse/MNG-4228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=183419#action_183419 ]

John Casey edited comment on MNG-4228 at 7/13/09 3:52 PM:
----------------------------------------------------------

lightweight wagon is once again the default for http/s wagons, but httpclient-driven wagons can be selected using:

{noformat}
-Dmaven.wagon.provider.http=httpclient

-OR-

-Dmaven.wagon.provider.https=httpclient
{noformat}

Or, you can configure the provider per-server using the following <server> configuration:

{noformat}
<wagonProvider>httpclient</wagonProvider>
{noformat}

Once the release goes out, you'll be able to read up on this configuration at:

http://maven.apache.org/guides/mini/guide-wagon-providers.html

      was (Author: jdcasey):
    lightweight wagon is once again the default for http/s wagons, but httpclient-driven wagons can be selected using:

{noformat}
-Dmaven.wagon.provider.http=httpclient

-OR-

-Dmaven.wagon.provider.https=httpclient
{noformat}

Or, you can configure the provider per-server using the following <server> configuration:

{noformat}
<wagonProvider>httpclient</wagonProvider>
{noformat}
 

> [regression] Authorization failed: Not authorized by proxy.
> -----------------------------------------------------------
>
>                 Key: MNG-4228
>                 URL: http://jira.codehaus.org/browse/MNG-4228
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Artifacts and Repositories, Settings
>    Affects Versions: 2.2.0
>         Environment: Windows XP, java version "1.6.0_04"
>            Reporter: Marco Noto
>            Assignee: John Casey
>            Priority: Blocker
>             Fix For: 2.2.1
>
>         Attachments: NTLMV21.RAR, TestNTLMAuth.java
>
>
> I can not access any external repository using the version 2.2.0. If I go back to 2.1.0 everything works properly.
> For example:
> mvn -U eclipse:eclipse
> [INFO] Scanning for projects...
> [INFO] Searching repository for plugin with prefix: 'eclipse'.
> [INFO] org.apache.maven.plugins: checking for updates from central
> [WARNING] repository metadata for: 'org.apache.maven.plugins' could not be retrieved from repository: central due
>  to an error: Authorization failed: Not authorized by proxy.
> [INFO] Repository 'central' will be blacklisted

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Commented: (MNG-4228) [regression] Authorization failed: Not authorized by proxy.

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ http://jira.codehaus.org/browse/MNG-4228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=183497#action_183497 ]

Jean-Marc Borer commented on MNG-4228:
--------------------------------------

So if I understand well:

lightweight wagon is based on Sun's Java implementation and http wagon  is based on Apache's HttpClient lib, right?

Anyway Artifactory (http://www.jfrog.org/products.php) uses plain vanilla httpclient lib version 3 and is able to access the internet through our NTLM corporate proxy. Why is then wagon no able to do that? I was able my self to build a small example with httpclient 3 that works fine...

Great that at least the previous behavior of maven is restored. When is 2.2.1 planned to be released?

> [regression] Authorization failed: Not authorized by proxy.
> -----------------------------------------------------------
>
>                 Key: MNG-4228
>                 URL: http://jira.codehaus.org/browse/MNG-4228
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Artifacts and Repositories, Settings
>    Affects Versions: 2.2.0
>         Environment: Windows XP, java version "1.6.0_04"
>            Reporter: Marco Noto
>            Assignee: John Casey
>            Priority: Blocker
>             Fix For: 2.2.1
>
>         Attachments: NTLMV21.RAR, TestNTLMAuth.java
>
>
> I can not access any external repository using the version 2.2.0. If I go back to 2.1.0 everything works properly.
> For example:
> mvn -U eclipse:eclipse
> [INFO] Scanning for projects...
> [INFO] Searching repository for plugin with prefix: 'eclipse'.
> [INFO] org.apache.maven.plugins: checking for updates from central
> [WARNING] repository metadata for: 'org.apache.maven.plugins' could not be retrieved from repository: central due
>  to an error: Authorization failed: Not authorized by proxy.
> [INFO] Repository 'central' will be blacklisted

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Commented: (MNG-4228) [regression] Authorization failed: Not authorized by proxy.

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ http://jira.codehaus.org/browse/MNG-4228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=183499#action_183499 ]

Oleg Kalnichevski commented on MNG-4228:
----------------------------------------

@Jean-Marc

There are several versions of the NTLM authentication scheme [1]. HttpClient 3.x _partially_ supports only what is known as NTLMv1. Depending on the version of the ISA proxy and its configuration this may or may not be sufficient.

Oleg

[1] http://en.wikipedia.org/wiki/NTLM

> [regression] Authorization failed: Not authorized by proxy.
> -----------------------------------------------------------
>
>                 Key: MNG-4228
>                 URL: http://jira.codehaus.org/browse/MNG-4228
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Artifacts and Repositories, Settings
>    Affects Versions: 2.2.0
>         Environment: Windows XP, java version "1.6.0_04"
>            Reporter: Marco Noto
>            Assignee: John Casey
>            Priority: Blocker
>             Fix For: 2.2.1
>
>         Attachments: NTLMV21.RAR, TestNTLMAuth.java
>
>
> I can not access any external repository using the version 2.2.0. If I go back to 2.1.0 everything works properly.
> For example:
> mvn -U eclipse:eclipse
> [INFO] Scanning for projects...
> [INFO] Searching repository for plugin with prefix: 'eclipse'.
> [INFO] org.apache.maven.plugins: checking for updates from central
> [WARNING] repository metadata for: 'org.apache.maven.plugins' could not be retrieved from repository: central due
>  to an error: Authorization failed: Not authorized by proxy.
> [INFO] Repository 'central' will be blacklisted

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Commented: (MNG-4228) [regression] Authorization failed: Not authorized by proxy.

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ http://jira.codehaus.org/browse/MNG-4228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=183511#action_183511 ]

Jean-Marc Borer commented on MNG-4228:
--------------------------------------

@Oleg

I totally agree with you, but:
1) httpclient 3.x works for me out of the box with my proxy
2) maven 2.2.0 fails where maven 2.1.0 succeeds to access the web

So I am wondering what is wrong anyway with the lib that wagon uses in maven 2.2.0 since httpclient 3.x works with my proxy? Something is "wronger" than just using another lib...

> [regression] Authorization failed: Not authorized by proxy.
> -----------------------------------------------------------
>
>                 Key: MNG-4228
>                 URL: http://jira.codehaus.org/browse/MNG-4228
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Artifacts and Repositories, Settings
>    Affects Versions: 2.2.0
>         Environment: Windows XP, java version "1.6.0_04"
>            Reporter: Marco Noto
>            Assignee: John Casey
>            Priority: Blocker
>             Fix For: 2.2.1
>
>         Attachments: NTLMV21.RAR, TestNTLMAuth.java
>
>
> I can not access any external repository using the version 2.2.0. If I go back to 2.1.0 everything works properly.
> For example:
> mvn -U eclipse:eclipse
> [INFO] Scanning for projects...
> [INFO] Searching repository for plugin with prefix: 'eclipse'.
> [INFO] org.apache.maven.plugins: checking for updates from central
> [WARNING] repository metadata for: 'org.apache.maven.plugins' could not be retrieved from repository: central due
>  to an error: Authorization failed: Not authorized by proxy.
> [INFO] Repository 'central' will be blacklisted

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
< Prev | 1 - 2 - 3 | Next >