Login  
Search All Forums
Dart Home | PowerTCP Web for ActiveX | Custom Development Reply | PowerTCP Web for ActiveX Topics | Forums   
AuthorForum: PowerTCP Web for ActiveX
Topic: MS Proxy 2 problems
User221
ciaran.bradley@mapflow.com

From: Dublin, Republic of Ireland
Posts: 2
Member Since: 02/22/02
posted February 22, 2002 8:00 AM

I have a VB app running on Windows 98 that is trying to open a HTTP connection through MS Proxy 2. Like many other people I've had problems with WebTool when trying to connect through MS Proxy using the Web tool.

 When NT Challenge Response (NTLM) Authentication is used on the proxy I can make GET connections, POST connections that do not have any data in the post body, but not POST connections that contain data. I get the error 12032 - The WIN32 Internet Function Needs to redo the request. From reading the posts here this is a recurring problem with customers who are using the web tool so I would like to know if there is a definitive solution to this problem?

If basic authentication is used on the proxy, I cannot get any connections through the proxy. I get 407 errors returned by MS Proxy. Has anyone been able to use the web tool (or any other PowerTCP tool) with basic authentication?

Thanks,

Ciaran
K M Drake



From: Utica, NY USA
Posts: 3406
Member Since: 07/14/00
posted February 22, 2002 1:23 PM


Hi Ciaran,
I would try doing a Head or Get prior to the Post, in order to get through the authentication. See the following:
http://support.dart.com/forum.dwp?view=6345#FID6345
-ken

K M Drake
Dart Tech Support
User221
ciaran.bradley@mapflow.com

From: Dublin, Republic of Ireland
Posts: 2
Member Since: 02/22/02
posted March 1, 2002 9:43 AM

Even with the proxy client installed, and trying a HEAD or GET I couldn't get NTLM to work when posting data. I eventually got it working by switching to Basic authentication, specifying a default domain on the proxy server for basic authentication, and then manually adding the base64 encoded user:password string.

Exactly what do the ProxyUsername and ProxyPassword properties do? After using a packet sniffer I see that they're not adding the "Proxy-Autherization: Basic user:pass" HTTP headers.
K M Drake



From: Utica, NY USA
Posts: 3406
Member Since: 07/14/00
posted March 1, 2002 2:25 PM


Hi,
The parameters are used to create a:
Proxy-Authorization header
for the Request, after the control receives a:
407 Proxy Authentication Required
Response. 
I just set up a proxy that asked for Basic proxy authorization:
Proxy-Authenticate: Basic
and the control added the Proxy-Authorization header with the username and password base64 encoded in its subsequent Get.
-ken

K M Drake
Dart Tech Support
Reply | PowerTCP Web for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX