Forum Discussion
karthic_n_12765
Nimbostratus
Feb 18, 2004Exception thrown on a re-connect to BIG-IP
Hello,
I get the following exception (System.Net.WebException with stack trace) the first time my .Net app attempts to re-connect to the iControl web-service after a delay. I.e. app sends command to device for the very first time...this works fine....wait for 3 minutes or so and send another command and I get the following exception....if I retry, it goes thru fine.
As you can see, the text in the exception says "An unexpected error occurred on a receive". Does this offer any hints? Since the communication is all encrypted by SSL, I take it I can't investigate this problem by taking at peek at the actual packet (using a network sniffer) sent by BIG-IP that caused this error.
Any ideas as to how I might go about investigating this problem? Appreciate your help very much.
The .Net app is running on a Windows Server 2003 box with version 1.2 (beta) of the .Net framework.
Thanks,
Karthic.
Exception Contents: System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a receive.
at System.Web.Services.Protocols.WebClientProtocol.GetWebResponse(WebRequest request)
at System.Web.Services.Protocols.HttpWebClientProtocol.GetWebResponse(WebRequest request)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
8 Replies
Sort By
- We haven't seen this behavior before. First you might check to see if you have the PreAuthenticate boolean set. This will enable HTTP keep alives which may be causing your problem upon delayed connections. By setting this boolean to false, a new connection will be established for each method call. This is not optimal for short bursts of method calls, but if you are waiting 3 minutes between polls then a new connection is probably the correct thing to do.
- karthic_n_12765
Nimbostratus
Hi Joe, - I'm going to have to try to recreate this with the 1.1 version of the framework. Have you verified that this occurs as well in v1.1 or is it just happening with 1.2? Also, my dev box is XP so I'll have to dig up a win2003 server to see if that's the underlying issue.
- karthic_n_12765
Nimbostratus
Joe, - Karthic,
- The new features in the frameworks are looking pretty interesting. Let me know what you find on XP and I will do the same.
- Karthic, I've just verified that this does not happen on Win2003 Advanced Server with v1.1 of the framework. I've tried various settings with and without keep alives set. We'll be keeping track of v1.2 and will support it when it's released but as of this point I don't believe it is a problem with our server components.
- karthic_n_12765
Nimbostratus
Joe,
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects