none
Timeouts on WCF-BasicHttp send port RRS feed

  • Question

  • I have set the retry count 3 at the sed port for the interval of 5 minutes, but message is getting timed out at first attempt within a minuets. Can some one suggest me the possible reason.
    Monday, October 6, 2014 3:41 PM

Answers

  • Hi Udal,

    You need set certain properties inside Orchestration and config file of the generated web service .

    Orchestration property before sending request to external service

    MyMessage(SOAP.ClientConnectionTimeout) = 300000;
    

    Web.Config file

    <httpRuntime executionTimeout="2000"></httpRuntime>

    Thanks

    Abhishek

    • Marked as answer by Angie Xu Monday, October 13, 2014 1:38 AM
    Tuesday, October 7, 2014 7:10 AM

All replies

  • The timeouts should be set up on the whole message path: client [- load balancer] [- proxy] - service. As a minimum the client and service timeouts should be set up. So verify the timeout values on the service side.

    One more thing: in some scenarios the Ordered Delivery on the send port can help to fight timeouts. Especially when the service cannot process the requests fast enough.

    And check out this article (Apply IIS Configuration Settings)


    Leonid Ganeline [BizTalk MVP] 



    Monday, October 6, 2014 4:08 PM
    Moderator
  • suppose, at client service time out is set for 1 minute, then also if in 1 minute, it is getting time out then also it should retry, because retry is being set for 3 times at send port. Isn't it ?

    Monday, October 6, 2014 5:30 PM
  • Hi,

    Please configure WCF-BasicHttp Send Port properties mentioned below to an appropriate value

    1.       SendTimeout
    2.       OpenTimeout
    3.       CloseTimeout

    They have default have value set to 1 minute. I suspect the issue you are facing is because of these default settings.

    Link:- http://msdn.microsoft.com/en-us/library/bb226467(BTS.20).aspx

    Rachit

    If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply.

    Monday, October 6, 2014 6:47 PM
    Moderator
  • Few time out error has come after 4 minute, below is the time out error:

    Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding

    Tuesday, October 7, 2014 5:54 AM
  • Hi Udal,

    You need set certain properties inside Orchestration and config file of the generated web service .

    Orchestration property before sending request to external service

    MyMessage(SOAP.ClientConnectionTimeout) = 300000;
    

    Web.Config file

    <httpRuntime executionTimeout="2000"></httpRuntime>

    Thanks

    Abhishek

    • Marked as answer by Angie Xu Monday, October 13, 2014 1:38 AM
    Tuesday, October 7, 2014 7:10 AM
  • Configuration for below WCF-BasicHttp Send Port properties

    1.      SendTimeout
    2.      OpenTimeout
    3.      CloseTimeout

    have default  value set to 1 minute. Can any-one suggest me, if I should increase the value from 1 minute to 2 or 3 minutes because during the heavy loads I am getting this time-out issue. Also please let me know the impact, if I am increasing the timeout value.

    Friday, October 24, 2014 9:57 AM
  • When you have set retry count as 3 , that you will get 3 warnings and 1 error after retry is over. The very first warning will come as soon as timeout is complete. Then 2nd warning ( which is first retry)after interval of 5 minutes ( as you have configured) and so on.
    Sunday, October 26, 2014 5:14 PM