I am working with a WCF hosted in IIS 7, and the client is designed to run 24/7 with a reliable secure session.
Around every 20th hour or so the call to the WCF fails with the following:
"The underlying secure session has faulted before the reliable session fully completed. The reliable session was faulted."
I am running a trace in the WCF svc as well, the corresponding error seems to be
"The communication object, System.ServiceModel.Channels.ReplyChannel, cannot be used for communication because it has been Aborted."
The client is calling the same WCF method every 30th sec, which completes in 0,2 sec (server side).
This is soo annoying and I havent found any solution online, yet. I can post the .config case any one asks.
Thankful for any leads on this!
is the fault on the server end or the client end?
20 hours sounds almost like a server cycling a process / doing a re-start.
is the client creating a connection and then using it for 20 hours and then taking a dump?
if so you might want to have the client create a new connection every say .... 15 minutes and close the old one.
with asmx / wsdl services i used to see a problem with the client connection getting closed if i tried to use one client object for more than a few hours. by creating my client object on the fly i now never have that error.
Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums, or Contact Us and let us know.