jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Archiva
  • MRM-1599

NTLM proxy no longer works

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.4-M2
  • Fix Version/s: 1.4-M3
  • Component/s: remote proxy
  • Labels:
    None

Description

After upgrading Archiva from 1.3.5 to 1.4-M2 NTLM proxy no longer works. This is most likely caused by switching to wagon http.

2012-02-02 10:46:48,582 [qtp1120643297-21] DEBUG org.apache.archiva.proxy.common.DebugTransferListener - transferInitiated for resource org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.pom on repository url http://repo1.maven.org/maven2/
2012-02-02 10:46:48,834 [qtp1120643297-21] DEBUG org.apache.http.wire - >> "GET http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.pom HTTP/1.1[\r][\n]"
2012-02-02 10:46:48,835 [qtp1120643297-21] DEBUG org.apache.http.wire - >> "Cache-control: no-cache[\r][\n]"
2012-02-02 10:46:48,835 [qtp1120643297-21] DEBUG org.apache.http.wire - >> "Cache-store: no-store[\r][\n]"
2012-02-02 10:46:48,835 [qtp1120643297-21] DEBUG org.apache.http.wire - >> "Pragma: no-cache[\r][\n]"
2012-02-02 10:46:48,835 [qtp1120643297-21] DEBUG org.apache.http.wire - >> "Expires: 0[\r][\n]"
2012-02-02 10:46:48,835 [qtp1120643297-21] DEBUG org.apache.http.wire - >> "Accept-Encoding: gzip[\r][\n]"
2012-02-02 10:46:48,835 [qtp1120643297-21] DEBUG org.apache.http.wire - >> "Host: repo1.maven.org[\r][\n]"
2012-02-02 10:46:48,835 [qtp1120643297-21] DEBUG org.apache.http.wire - >> "Proxy-Connection: Keep-Alive[\r][\n]"
2012-02-02 10:46:48,835 [qtp1120643297-21] DEBUG org.apache.http.wire - >> "[\r][\n]"
2012-02-02 10:46:48,835 [qtp1120643297-21] DEBUG org.apache.http.headers - >> GET http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.pom HTTP/1.1
2012-02-02 10:46:48,835 [qtp1120643297-21] DEBUG org.apache.http.headers - >> Cache-control: no-cache
2012-02-02 10:46:48,835 [qtp1120643297-21] DEBUG org.apache.http.headers - >> Cache-store: no-store
2012-02-02 10:46:48,835 [qtp1120643297-21] DEBUG org.apache.http.headers - >> Pragma: no-cache
2012-02-02 10:46:48,835 [qtp1120643297-21] DEBUG org.apache.http.headers - >> Expires: 0
2012-02-02 10:46:48,835 [qtp1120643297-21] DEBUG org.apache.http.headers - >> Accept-Encoding: gzip
2012-02-02 10:46:48,835 [qtp1120643297-21] DEBUG org.apache.http.headers - >> Host: repo1.maven.org
2012-02-02 10:46:48,835 [qtp1120643297-21] DEBUG org.apache.http.headers - >> Proxy-Connection: Keep-Alive
2012-02-02 10:46:49,116 [qtp1120643297-21] DEBUG org.apache.http.wire - << "HTTP/1.1 407 Proxy Authentication Required[\r][\n]"
2012-02-02 10:46:49,118 [qtp1120643297-21] DEBUG org.apache.http.wire - << "Proxy-Authenticate: NTLM[\r][\n]"
2012-02-02 10:46:49,118 [qtp1120643297-21] DEBUG org.apache.http.wire - << "Proxy-Authenticate: BASIC realm="Auth_Seq_NTLM_to_ldap"[\r][\n]"
2012-02-02 10:46:49,118 [qtp1120643297-21] DEBUG org.apache.http.wire - << "Cache-Control: no-cache[\r][\n]"
2012-02-02 10:46:49,118 [qtp1120643297-21] DEBUG org.apache.http.wire - << "Pragma: no-cache[\r][\n]"
2012-02-02 10:46:49,118 [qtp1120643297-21] DEBUG org.apache.http.wire - << "Content-Type: text/html; charset=utf-8[\r][\n]"
2012-02-02 10:46:49,118 [qtp1120643297-21] DEBUG org.apache.http.wire - << "Proxy-Connection: close[\r][\n]"
2012-02-02 10:46:49,118 [qtp1120643297-21] DEBUG org.apache.http.wire - << "Set-Cookie: BCSI-CS-41D6D8BAA7362CE4=2; Path=/[\r][\n]"
2012-02-02 10:46:49,118 [qtp1120643297-21] DEBUG org.apache.http.wire - << "Connection: close[\r][\n]"
2012-02-02 10:46:49,118 [qtp1120643297-21] DEBUG org.apache.http.wire - << "Content-Length: 895[\r][\n]"
2012-02-02 10:46:49,118 [qtp1120643297-21] DEBUG org.apache.http.wire - << "[\r][\n]"
2012-02-02 10:46:49,118 [qtp1120643297-21] DEBUG org.apache.http.headers - << HTTP/1.1 407 Proxy Authentication Required
2012-02-02 10:46:49,118 [qtp1120643297-21] DEBUG org.apache.http.headers - << Proxy-Authenticate: NTLM
2012-02-02 10:46:49,118 [qtp1120643297-21] DEBUG org.apache.http.headers - << Proxy-Authenticate: BASIC realm="Auth_Seq_NTLM_to_ldap"
2012-02-02 10:46:49,118 [qtp1120643297-21] DEBUG org.apache.http.headers - << Cache-Control: no-cache
2012-02-02 10:46:49,118 [qtp1120643297-21] DEBUG org.apache.http.headers - << Pragma: no-cache
2012-02-02 10:46:49,118 [qtp1120643297-21] DEBUG org.apache.http.headers - << Content-Type: text/html; charset=utf-8
2012-02-02 10:46:49,118 [qtp1120643297-21] DEBUG org.apache.http.headers - << Proxy-Connection: close
2012-02-02 10:46:49,118 [qtp1120643297-21] DEBUG org.apache.http.headers - << Set-Cookie: BCSI-CS-41D6D8BAA7362CE4=2; Path=/
2012-02-02 10:46:49,118 [qtp1120643297-21] DEBUG org.apache.http.headers - << Connection: close
2012-02-02 10:46:49,118 [qtp1120643297-21] DEBUG org.apache.http.headers - << Content-Length: 895
2012-02-02 10:46:49,157 [qtp1120643297-21] ERROR org.apache.http.client.protocol.RequestProxyAuthentication - Proxy authentication error: Credentials cannot be used for NTLM authentication: org.apache.http.auth.UsernamePasswordCredentials
2012-02-02 10:46:49,157 [qtp1120643297-21] DEBUG org.apache.http.wire - >> "GET http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.pom HTTP/1.1[\r][\n]"
2012-02-02 10:46:49,157 [qtp1120643297-21] DEBUG org.apache.http.wire - >> "Cache-control: no-cache[\r][\n]"
2012-02-02 10:46:49,157 [qtp1120643297-21] DEBUG org.apache.http.wire - >> "Cache-store: no-store[\r][\n]"
2012-02-02 10:46:49,157 [qtp1120643297-21] DEBUG org.apache.http.wire - >> "Pragma: no-cache[\r][\n]"
2012-02-02 10:46:49,157 [qtp1120643297-21] DEBUG org.apache.http.wire - >> "Expires: 0[\r][\n]"
2012-02-02 10:46:49,157 [qtp1120643297-21] DEBUG org.apache.http.wire - >> "Accept-Encoding: gzip[\r][\n]"
2012-02-02 10:46:49,157 [qtp1120643297-21] DEBUG org.apache.http.wire - >> "Host: repo1.maven.org[\r][\n]"
2012-02-02 10:46:49,157 [qtp1120643297-21] DEBUG org.apache.http.wire - >> "Proxy-Connection: Keep-Alive[\r][\n]"
2012-02-02 10:46:49,157 [qtp1120643297-21] DEBUG org.apache.http.wire - >> "Cookie: BCSI-CS-41D6D8BAA7362CE4=2[\r][\n]"
2012-02-02 10:46:49,157 [qtp1120643297-21] DEBUG org.apache.http.wire - >> "[\r][\n]"

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Olivier Lamy added a comment - 04/Feb/12 4:25 PM

fixed.
New option to use previous wagon which support ntlm.

Show
Olivier Lamy added a comment - 04/Feb/12 4:25 PM fixed. New option to use previous wagon which support ntlm.
Hide
Permalink
Oscar González added a comment - 12/Apr/12 4:15 AM

Hi Olivier.

Is there any workaround for version 1.4M1?

Thanks.

Show
Oscar González added a comment - 12/Apr/12 4:15 AM Hi Olivier. Is there any workaround for version 1.4M1? Thanks.
Hide
Permalink
Olivier Lamy added a comment - 12/Apr/12 4:18 AM

You can use current SNAPSHOT build.

Show
Olivier Lamy added a comment - 12/Apr/12 4:18 AM You can use current SNAPSHOT build.
Hide
Permalink
Oscar González added a comment - 13/Apr/12 2:07 AM

Thanks Olivier.

I'll try it.

Show
Oscar González added a comment - 13/Apr/12 2:07 AM Thanks Olivier. I'll try it.

People

  • Assignee:
    Olivier Lamy
    Reporter:
    Lukasz Szelag
Vote (0)
Watch (2)

Dates

  • Created:
    03/Feb/12 1:16 PM
    Updated:
    13/Apr/12 2:07 AM
    Resolved:
    04/Feb/12 4:25 PM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.