Webservices Basic Authentication Bottlenecks

From: Jeremy (jeremy_at_)
Date: 11/03/04


Date: Wed, 03 Nov 2004 02:07:27 -0800


Hi,

Hope someone can help.

I am connecting a .NET service(client) to a .NET WebService via a Squid
Proxy running basic authentication.

To make this work I have created a webproxy and set it to each request.

When the request is made the proxy first fires back a 407 Proxy
Authentication Required.

Then the request gets resent with the proxy information and it goes
through.

Now unfortunately to make this work I had to force Keep-Alive to being
false.("Found this in another post otherwise I got connection problems")

However I think this caused the proxy server to forget about the
authentication and basically every single request to the webservice is
first being rejected and then accepted.

I have roughly 10000 SOAP requests to be made in as short of time as
possible. Content_Length would be roughly 2K.

With the setup as it stands the Webservice is only receiving maximum 1
request a second.

The connection is via an adsl link but looking at the throughput this
does not seem to be the cause of the bottleneck.

The problem seems to be the fact that every request requires
authentication.

So to sum up

1. Can I force the proxy server to remember my authentication details
for a specified length of time ie Session.

2. How do I go about tracking the bottlenecks of the webservice.

Thanks for your help

Jeremy



Relevant Pages

  • RE: HttpWebRequest over Https Via Proxy Fails using NTLM
    ... The proxy authentication header returns Basic, NTLM, and Negotiate. ... A network trace shows that the https request handshake is as follows: ...
    (microsoft.public.dotnet.framework.aspnet)
  • RE: HttpWebRequest over Https Via Proxy Fails using NTLM
    ... request a resource over HTTPS is failing following the installation of a new ... proxy server on our internal network with 407 Proxy Authentication Required. ... Is there any way to debug the ntlm authentication module to see exactly what ...
    (microsoft.public.dotnet.framework.aspnet)
  • HttpWebRequest over Https Via Proxy Fails using NTLM
    ... proxy server on our internal network with 407 Proxy Authentication Required. ... The same request through the old proxy succeeds. ... Is there any way to debug the ntlm authentication module to see exactly what ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Proxy server with HttpListener
    ... class using sockets that will write the authentication details to your ... that captured HTTP request to your company proxy. ... How can I send the HttpListenerRequest to the internet and put the ...
    (microsoft.public.dotnet.framework.webservices)
  • Re: bypassing proxy
    ... and when the proxy is removed he's able to ... Chances are that you need to enable authentication caching on the ISA ... Web-apps often request authentication for each request. ... BigFix ...
    (Security-Basics)

Quantcast