NTLMSchemeFactory is unsync with where it was copied

(Heidi) #1

I tried all suggestions but still couldn’t access maven resource through proxy.

After investigation I found the org.gradle.api.internal.externalresource.transport.http.ntlm.NTLMSchemeFactory is different from where it was copied : http://hc.apache.org/httpcomponents-client-ga/ntlm.html, the flags used by messages are different.

I create a test class to access a maven center pom file, it successfully download the pom file when I use the code http://hc.apache.org/httpcomponents-client-ga/ntlm.html but failed with the gradle one.

Please investigate

(Szczepan Faber) #2

Can you show us how you configure the proxy settings, what Gradle version is used and what is the output of the gradle build (run with -d -s so that we can see the debug level messages and the stack trace). Please gist for stack trace of any long text.

Thanks for reporting!

(Heidi) #3

Here is the proxy setting and stack trace:

proxy setting: systemProp.http.proxyHost= systemProp.http.proxyPort= systemProp.http.proxyUser= systemProp.http.proxyPassword= systemProp.http.auth.ntlm.domain=

Statck trace: https://gist.github.com/4128692

If need I can provide the stack trace of my test one.