Forum Discussion

ferseb's avatar
11 years ago

Proxy authentification error with soapUI 4.6.4 using NTLMv1

Hi,

We are encountering some problems going through a proxy with NTLM authentification using soapUI 4.6.4.

We do a simple rest call and we are blocked by proxy.
Using Burp as a local proxy with a NTLMv1 authentification this works fine.

Without this local proxy, we use soapUI with a configuration in File>Preferences>Proxy Settings.
The configuration is the same as in Burp except that username was specied like {domain}\{username} (like there's not a domain field).

Here the logs :

• Thu Feb 20 13:33:01 CET 2014:DEBUG:<< "HTTP/1.1 407 Proxy Authentication Required[\r][\n]"
• Thu Feb 20 13:33:01 CET 2014:DEBUG:<< "Mime-Version: 1.0[\r][\n]"
• Thu Feb 20 13:33:01 CET 2014:DEBUG:<< "Date: Thu, 20 Feb 2014 13:33:01 CET[\r][\n]"
• Thu Feb 20 13:33:01 CET 2014:DEBUG:<< "Content-Type: text/html[\r][\n]"
• Thu Feb 20 13:33:01 CET 2014:DEBUG:<< "Proxy-Authenticate: NTLM TlRMTVNTUAACAAAADAAMADAAAAA1Aokg51dcUQAGb4MAAAAAAAAAAGIAYgA8AAAAQwBPAE0ATQBVAE4AAgAMAEMATwBNAE0AVQBOAAEAEgBXAEUAQgAtAEwAWQBPAE4AMQAEAA4AcwBuAGMAZgAuAGYAcgADACIAdwBlAGIALQBsAHkAbwBuADEALgBzAG4AYwBmAC4AZgByAAAAAAA=[\r][\n]"
• Thu Feb 20 13:33:01 CET 2014:DEBUG:<< "Connection: keep-alive[\r][\n]"
• Thu Feb 20 13:33:01 CET 2014:DEBUG:<< "Proxy-Connection: keep-alive[\r][\n]"
• Thu Feb 20 13:33:01 CET 2014:DEBUG:<< "Content-Length: 0[\r][\n]"
• Thu Feb 20 13:33:01 CET 2014:DEBUG:<< "[\r][\n]"
• Thu Feb 20 13:33:01 CET 2014:DEBUG:>> "POST http://XXXXXXXXXXXXX HTTP/1.1[\r][\n]"
• Thu Feb 20 13:33:01 CET 2014:DEBUG:>> "Accept-Encoding: gzip,deflate[\r][\n]"
• Thu Feb 20 13:33:01 CET 2014:DEBUG:>> "Content-Type: text/xml;charset=UTF-8[\r][\n]"
• Thu Feb 20 13:33:01 CET 2014:DEBUG:>> "SOAPAction: "urn:YYYY/YYYYY"[\r][\n]"
• Thu Feb 20 13:33:01 CET 2014:DEBUG:>> "Content-Length: 944[\r][\n]"
• Thu Feb 20 13:33:01 CET 2014:DEBUG:>> "Host: XXXXXXX [\r][\n]"
• Thu Feb 20 13:33:01 CET 2014:DEBUG:>> "Proxy-Connection: Keep-Alive[\r][\n]"
• Thu Feb 20 13:33:01 CET 2014:DEBUG:>> "User-Agent: Apache-HttpClient/4.1.1 (java 1.5)[\r][\n]"
• Thu Feb 20 13:33:01 CET 2014:DEBUG:>> "Proxy-Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAACOAI4AWAAAAAYABgDmAAAAEgASAOwAAAASABIA/gAAAAAAAAAQAQAANQIIIC/Wy/gh20pp66uI+jfkYl0OTNJr8b/0VXpAm+VeEDnMZEORqtcfxosBAQAAAAAAAPDYJOU3Ls8BDkzSa/G/9FUAAAAAAgAMAEMATwBNAE0AVQBOAAEAEgBXAEUAQgAtAEwAWQBPAE4AMQAEAA4AcwBuAGMAZgAuAGYAcgADACIAdwBlAGIALQBsAHkAbwBuADEALgBzAG4AYwBmAC4AZgByAAAAAABTAEkAVgBQAFkAUABUADAAMwA2ADEAMQBJAE4AVABFAFIATgBFAFQAMwA=[\r][\n]"
• Thu Feb 20 13:33:01 CET 2014:DEBUG:>> "[\r][\n]"
• Thu Feb 20 13:33:01 CET 2014:DEBUG:>> "[\n]"
• Thu Feb 20 13:33:01 CET 2014:DEBUG:>> " [\n]"
• Thu Feb 20 13:33:01 CET 2014:DEBUG:>> " [\n]"
• Thu Feb 20 13:33:01 CET 2014:DEBUG:>> " [\n]"
• Thu Feb 20 13:33:01 CET 2014:DEBUG:>> " [\n]"
• Thu Feb 20 13:33:01 CET 2014:DEBUG:>> " [\n]"
• Thu Feb 20 13:33:01 CET 2014:DEBUG:>> " [\n]"
• Thu Feb 20 13:33:01 CET 2014:DEBUG:>> " [\n]"
• Thu Feb 20 13:33:01 CET 2014:DEBUG:>> " [\n]"
• Thu Feb 20 13:33:01 CET 2014:DEBUG:>> " [\n]"
• Thu Feb 20 13:33:01 CET 2014:DEBUG:>> " [\n]"
• Thu Feb 20 13:33:01 CET 2014:DEBUG:>> " [\n]"
• Thu Feb 20 13:33:01 CET 2014:DEBUG:>> " [\n]"
• Thu Feb 20 13:33:01 CET 2014:DEBUG:>> " [\n]"
• Thu Feb 20 13:33:01 CET 2014:DEBUG:>> " [\n]"
• Thu Feb 20 13:33:01 CET 2014:DEBUG:>> " [\n]"
• Thu Feb 20 13:33:01 CET 2014:DEBUG:>> " [\n]"
• Thu Feb 20 13:33:01 CET 2014:DEBUG:>> " [\n]"
• Thu Feb 20 13:33:01 CET 2014:DEBUG:>> " [\n]"
• Thu Feb 20 13:33:01 CET 2014:DEBUG:>> " [\n]"
• Thu Feb 20 13:33:01 CET 2014:DEBUG:>> " [\n]"
• Thu Feb 20 13:33:01 CET 2014:DEBUG:>> " [\n]"
• Thu Feb 20 13:33:01 CET 2014:DEBUG:>> ""
• Thu Feb 20 13:33:02 CET 2014:DEBUG:<< "HTTP/1.1 407 Proxy Authentication Required[\r][\n]"
• Thu Feb 20 13:33:02 CET 2014:DEBUG:<< "Mime-Version: 1.0[\r][\n]"
• Thu Feb 20 13:33:02 CET 2014:DEBUG:<< "Date: Thu, 20 Feb 2014 13:33:02 CET[\r][\n]"
• Thu Feb 20 13:33:02 CET 2014:DEBUG:<< "Content-Type: text/html[\r][\n]"
• Thu Feb 20 13:33:02 CET 2014:DEBUG:<< "Proxy-Authenticate: NTLM[\r][\n]"
• Thu Feb 20 13:33:02 CET 2014:DEBUG:<< "Connection: close[\r][\n]"
• Thu Feb 20 13:33:02 CET 2014:DEBUG:<< "Proxy-Connection: close[\r][\n]"
• Thu Feb 20 13:33:02 CET 2014:DEBUG:<< "Content-Length: 3831[\r][\n]"
• Thu Feb 20 13:33:02 CET 2014:DEBUG:<< "[\r][\n]"
• Thu Feb 20 13:33:02 CET 2014:DEBUG:<< "[\r][\n]"


SoapUi seems to send authentification data.
But the proxy responded as if there was none.

Regards.
Sebastien
No RepliesBe the first to reply