What are the timeouts configured for wcf bindings on the TD server?

 I believe the default is 10 minutes. Does the TD configuration change these timeouts in any way or use the defaults?

Parents
  • Hi Mark,

    You are keeping a lot of stuff implicit... like the version of the software... timeouts could also be coming from tokens... what is the error message you get back.

    Thanks,
    Dave
  • Hi, Dave. Sorry. You are right. My question did not provide details. In the long run, I'll be running code against both Tridion Docs and KC 2016, but for now the issue occurs with KC 2016. The problem appears to be not with the total token lifespan (usually 10 hours?), but the timeout if a specific binding is not used in given length of time after being created. I have a services class that I instantiate and then use for a while. If, for example, I set up a pub output binding and a baseline binding and then use the pub output binding for a while (longer than 10 minutes), and then use the baseline binding, I get an error. The solution, it seems, is to only create bindings if they are going to be used in a given timeframe though I'm not sure what that timeframe should be. I believe the default is 10 minutes for WCF, but not sure if KC or TD configures it differently. Here is the error:

    System.ServiceModel.Security.MessageSecurityException: An unsecured or incorrectly secured fault was received from the other party. See the inner FaultException for the fault code and detail. ---> System.ServiceModel.FaultException: At least one security token in the message could not be validated.
Reply
  • Hi, Dave. Sorry. You are right. My question did not provide details. In the long run, I'll be running code against both Tridion Docs and KC 2016, but for now the issue occurs with KC 2016. The problem appears to be not with the total token lifespan (usually 10 hours?), but the timeout if a specific binding is not used in given length of time after being created. I have a services class that I instantiate and then use for a while. If, for example, I set up a pub output binding and a baseline binding and then use the pub output binding for a while (longer than 10 minutes), and then use the baseline binding, I get an error. The solution, it seems, is to only create bindings if they are going to be used in a given timeframe though I'm not sure what that timeframe should be. I believe the default is 10 minutes for WCF, but not sure if KC or TD configures it differently. Here is the error:

    System.ServiceModel.Security.MessageSecurityException: An unsecured or incorrectly secured fault was received from the other party. See the inner FaultException for the fault code and detail. ---> System.ServiceModel.FaultException: At least one security token in the message could not be validated.
Children