When I inspect network traffic, I see:
49 08:27:29 09.09.2013 4.5749160 System 10.131.82.112 10.81.3.168 HTTP HTTP:Request, GET http://registry.npmjs.org/appium , Using NTLM Authorization {HTTP:49, TCP:48, IPv4:19}
Why did cntlm stopped sending NTLM info in the second request? I can send response details if you wish, but I couldn't see any detail other than that written above.
My OS: Win7 sp 1. Proxy: McAfee Web Gateway 7.3.2.2.0.15726. Cntlm: Latest version (-version didn't work)
Any help would be appreciated.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I make proxy setting (127.0.0.1 and cntlm port) in my application (npm) and run it, but I receive 407 auth required.
cntlm -M http://registry.npmjs.org/appium returns:
Config profile 1/4... Credentials rejected
Config profile 2/4... OK (HTTP code: 200)
----------------------------[ Profile 1 ]------
Auth NTLM
PassNT 15946814D2B227C7CAD54B4011C27EDC
PassLM F84F404D45ACE29EEB79DCA5DCCC1B2D
So I put this info into my config file:
Username MyUser
Domain MyDomain
Password pwd
PassNT 15946814D2B227C7CAD54B4011C27EDC
PassLM F84F404D45ACE29EEB79DCA5DCCC1B2D
Proxy 10.81.3.168:8080
When I inspect network traffic, I see:
49 08:27:29 09.09.2013 4.5749160 System 10.131.82.112 10.81.3.168 HTTP HTTP:Request, GET http://registry.npmjs.org/appium , Using NTLM Authorization {HTTP:49, TCP:48, IPv4:19}
51 08:27:29 09.09.2013 4.5942200 System 10.81.3.168 10.131.82.112 HTTP HTTP:Response, HTTP/1.1, Status: Proxy authentication required, URL: http://registry.npmjs.org/appium , Using NTLM TlRMTVNTUAACAAAAAAAAAAAAAAAFgomgBQunfDYmHz8AAAAAAAAAAAAAAAAAAAAA Authentication {HTTP:49, TCP:48, IPv4:19}
54 08:27:29 09.09.2013 4.5957078 System 10.131.82.112 10.81.3.168 HTTP HTTP:Request, GET http://registry.npmjs.org/appium {HTTP:49, TCP:48, IPv4:19}
56 08:27:29 09.09.2013 4.6424354 System 10.81.3.168 10.131.82.112 HTTP HTTP:Response, HTTP/1.1, Status: Proxy authentication required, URL: http://registry.npmjs.org/appium , Using NTLM Authentication {HTTP:49, TCP:48, IPv4:19}
Why did cntlm stopped sending NTLM info in the second request? I can send response details if you wish, but I couldn't see any detail other than that written above.
My OS: Win7 sp 1. Proxy: McAfee Web Gateway 7.3.2.2.0.15726. Cntlm: Latest version (-version didn't work)
Any help would be appreciated.
Sorry it was my mistake, I should have pasted -M output to the config file, which would have added "Auth NTLM" entry. Default was NTLMv2.