Tech Off Thread

2 posts

Forum Read Only

This forum has been made read only by the site admins. No new threads or comments can be added.

WCF: Secure session has faulted, why?

Back to Forum: Tech Off
  • User profile image
    Oggelito

    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!

  • User profile image
    figuerres

    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.

Conversation locked

This conversation has been locked by the site admins. No new comments can be made.