Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8897285
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T00:18:02+00:00 2026-06-15T00:18:02+00:00

We have a WCF service hosted in IIS. I can see from log files

  • 0

We have a WCF service hosted in IIS. I can see from log files that a client which sends a request that takes over 3 minutes to execute receives an HTTP 503 (Service unavailable) error.

How do I change the timeout? To test it worked I reduced the timeout to 3 seconds to make sure it actually timed out.

I’ve tried

<system.web> 
    <httpRuntime executionTimeout="3"/> 
</system.web> 

which seemed to do nothing.

I’ve also tried changing the binding to no avail.

  <basicHttpBinding>
    <binding name="basicHttp" receiveTimeout="00:00:03" sendTimeout="00:00:03" >
      <security mode="TransportCredentialOnly">
        <transport clientCredentialType="Ntlm" proxyCredentialType="None" realm="" />
        <message clientCredentialType="UserName" algorithmSuite="Default" />
      </security>
    </binding>
  </basicHttpBinding>

Note, I am trying to get the WCF service to return some sort of failure after a duration controlled by us. I’m not expecting the request that has taken longer than expected to terminate.

Any help most appreciated before I tear my hair out.


Just to clarify…

The service has been up and running for a few months. But when processing the occasional long running request, the client receives an HTTP 503 response after 3 minutes. In the background we can see that the request has been properly procesed but it has taken > 5 minutes. Obviously by this point it’s too late as the client has already received an error response.

Other requests are being processed as normal.

The load on the system at this point is very low. In fact, this is a test environment and transactions are one at a time with no overlaps.

I’m also quite certain that the bindings are connected to the endpoints. I’ve opened the config file in the WCF Config Editor and everything is linked up correctly.

Is it even possible to configure a time out at this point in WCF? In way I would understand if not, but then why is an HTTP 503 error being returned?

All we would really like to do is control the length of time before the 503 response is returned.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T00:18:03+00:00Added an answer on June 15, 2026 at 12:18 am

    After much experimentation in IIS and a test WCF service, I was unable to reproduce the problem – even on the same server. The issue is only seen by another group within the company.

    The only way I could force an HTTP 503 error was to take the app pool offline, but this predictably caused errors to be returned immediately when a request came in.

    Further investigation showed that the HTML associated with the 503 response coming from IIS was different from that being returned to the client.

    Admittedly this is as yet unproven, but we have concluded that the issue is caused by some network component between the client and the server.

    There was indeed a proxy in between that was returning the timeout.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a WCF service which is hosted in IIS 7.0/7.5 inside of a
I'm trying to create a client for a WCF service that I have hosted
Have a WCF service, hosted in IIS, and I want to verify that the
I have a WPF application which talks to a WCF service hosted in IIS.
I have a WCF Service hosted in IIS/ASP.NET that accepts HTTP Post ( not
I have a wcf service that is hosted in IIS. This service launches some
I have a WCF Service named DataService which is hosted in IIS in DataService
I have a WCF service which will be hosted under IIS. Now I have
I have a WCF service hosted in IIS and want to gain access to
I have a WCF service hosted in IIS 7. It takes some minutes until

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.