|
View:
New views
20 Messages
—
Rating Filter:
Alert me
|
| < Prev | 1 - 2 - 3 | Next > |
|
|
Created: (MNG-4228) Authorization failed: Not authorized by proxy.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 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.[ http://jira.codehaus.org/browse/MNG-4228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=182830#action_182830 ] Jean-Marc Borer commented on MNG-4228: -------------------------------------- Same for me. > 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 > > 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.[ http://jira.codehaus.org/browse/MNG-4228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=182831#action_182831 ] Jean-Marc Borer commented on MNG-4228: -------------------------------------- How can such a problem slip into a release? > 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 > > 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.[ http://jira.codehaus.org/browse/MNG-4228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=182833#action_182833 ] Marco Noto commented on MNG-4228: --------------------------------- No answer? seems like a serious problem ... has changed the management of http file transfer? Can be a problem similar to that of Eclipse Galileo? http://wiki.eclipse.org/ECF_Filetransfer_Support_for_NTLMv2_Proxies > 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 > > 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.[ http://jira.codehaus.org/browse/MNG-4228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=182843#action_182843 ] John Casey commented on MNG-4228: --------------------------------- maybe you could describe the type of proxy you're trying to use? testing on proxied networks is famously difficult, and many people don't have access to test on certain configurations. It's possible an actual problem slipped through, but I'd expect this isn't beyond our reach to correct using settings.xml configuration. Since Maven 2.2.0 has switched to using a HttpClient-driven http wagon, you might take a look at these pages as starting points, and see how your particular type of proxy is configured: http://maven.apache.org/guides/mini/guide-http-settings.html http://hc.apache.org/httpclient-3.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 > > 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.[ http://jira.codehaus.org/browse/MNG-4228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=182848#action_182848 ] John Casey commented on MNG-4228: --------------------------------- After looking around at this some more, it's possible we'll have to address this in a 2.2.1 release. Not sure what the best strategy is, maybe simply to provide some mapping mechanism for which http wagon to use, then allow folks behind an NTLMv2 proxy to switch over to the lightweight-http solution we used to use. This cuts off some nicer features, but it doesn't look like solutions such as those in [HTTPCLIENT-579|http://issues.apache.org/jira/browse/HTTPCLIENT-579] is going to be an option any time soon. > 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 > Fix For: 2.2.1 > > > 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) Authorization failed: Not authorized by proxy.[ http://jira.codehaus.org/browse/MNG-4228?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] John Casey updated MNG-4228: ---------------------------- Fix Version/s: 2.2.1 > 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 > Fix For: 2.2.1 > > > 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.[ http://jira.codehaus.org/browse/MNG-4228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=182854#action_182854 ] John Casey commented on MNG-4228: --------------------------------- See also: http://wiki.apache.org/jakarta-httpclient/FrequentlyAskedNTLMQuestions > 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 > Fix For: 2.2.1 > > > 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) Authorization failed: Not authorized by proxy.[ http://jira.codehaus.org/browse/MNG-4228?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] John Casey updated MNG-4228: ---------------------------- Priority: Blocker (was: Major) upgrade priority > 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 > > > 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.[ http://jira.codehaus.org/browse/MNG-4228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=182918#action_182918 ] Marco Noto commented on MNG-4228: --------------------------------- Thanks for your reply jhon. Some developers are not able to configure their corporate proxy. Neither the information about proxy implementation is provided to employees.:( However, our proxy is NTLMv2, but the company certainly do not want to change it if I can not use maven 2.2.0. > 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 > > > 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.[ http://jira.codehaus.org/browse/MNG-4228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=182938#action_182938 ] Jean-Marc Borer commented on MNG-4228: -------------------------------------- Same for me as for Marco. Still not understanding the issue with maven 2.2.0. Why does it work with 2.1.0 and not 2.2.0. I think to understand that the HTTP library has been updated, right? Why does it break NTLM authentication then that was working before?! I am also using an artifactory server. They use apache's httpclient library and proxy authentication works fine there. So what's the matter here? > 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 > > > 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.[ http://jira.codehaus.org/browse/MNG-4228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=182941#action_182941 ] Jean-Marc Borer commented on MNG-4228: -------------------------------------- Maybe you maven developpers should have a look at http://www.ioplex.com/jespa.html. Maybe it is not your business to make httpclient work, but at least you could suggest a patch or make the guys at apache move to include the lib. I will certainly be benefic for all of use and especially maven > 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 > > > 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.[ http://jira.codehaus.org/browse/MNG-4228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=182942#action_182942 ] Jean-Marc Borer commented on MNG-4228: -------------------------------------- Jespa is not free. Anyway httpclient 4.0 seems to adress some NTLM issues or provide insights http://hc.apache.org/httpcomponents-client/ntlm.html > 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 > > > 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.[ http://jira.codehaus.org/browse/MNG-4228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=182951#action_182951 ] Jean-Marc Borer commented on MNG-4228: -------------------------------------- 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: 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) Authorization failed: Not authorized by proxy.[ http://jira.codehaus.org/browse/MNG-4228?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jean-Marc Borer updated MNG-4228: --------------------------------- Attachment: TestNTLMAuth.java > 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: 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) Authorization failed: Not authorized by proxy.[ http://jira.codehaus.org/browse/MNG-4228?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jean-Marc Borer updated MNG-4228: --------------------------------- Attachment: NTLMV21.RAR > 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.[ 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.[ http://jira.codehaus.org/browse/MNG-4228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=182961#action_182961 ] Marco Noto commented on MNG-4228: --------------------------------- jean-marc, i can't run your example... in build.xml you refers commons-httpclient-3.0-ntlm-2.0.jar...where is it? > 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.[ 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 9:50 AM: --------------------------------------------------------- jean-marc, i can't run your example... >java -classpath .;..\lib\commons-logging-1.0.4.jar;..\lib\commons-codec-1.3.jar;..\lib\commons-httpclient-3.0-n lm-2.0.jar -Djavax.net.ssl.trustStore=C:\Program Files\Java\jdk1.6.0_04/jre/lib/security/cacerts -Djavax.net.ssl trustStorePassword=changeit TestNTLMAuth Exception in thread "main" java.lang.NoClassDefFoundError: Files\Java\jdk1/6/0_04/jre/lib/security/cacerts Caused by: java.lang.ClassNotFoundException: Files\Java\jdk1.6.0_04.jre.lib.security.cacerts at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClassInternal(Unknown Source) was (Author: cn73): jean-marc, i can't run your example... in build.xml you refers commons-httpclient-3.0-ntlm-2.0.jar...where is it? > 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.[ 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 9:59 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... was (Author: cn73): jean-marc, i can't run your example... >java -classpath .;..\lib\commons-logging-1.0.4.jar;..\lib\commons-codec-1.3.jar;..\lib\commons-httpclient-3.0-n lm-2.0.jar -Djavax.net.ssl.trustStore=C:\Program Files\Java\jdk1.6.0_04/jre/lib/security/cacerts -Djavax.net.ssl trustStorePassword=changeit TestNTLMAuth Exception in thread "main" java.lang.NoClassDefFoundError: Files\Java\jdk1/6/0_04/jre/lib/security/cacerts Caused by: java.lang.ClassNotFoundException: Files\Java\jdk1.6.0_04.jre.lib.security.cacerts at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClassInternal(Unknown Source) > 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 |
| < Prev | 1 - 2 - 3 | Next > |
| Free embeddable forum powered by Nabble | Forum Help |