title: WCF Service Connection Timeout at Host
body: <p>I have a wcf service and works great on local IIS but when i deploy it to web i get the connection time out error. I set the timeout to 10 minutes and same error. What else can i do ? The timeout is on client side.</p>
  
  <p>The service is here <a href="http://www.drorhan.com/ws/service1.svc" rel="nofollow">Service Online</a></p>
  
  <pre><code>WCF Config file
  
     &lt;serviceHostingEnvironment multipleSiteBindingsEnabled="true"/&gt;
      &lt;services&gt;
        &lt;service behaviorConfiguration="LicenseServer.Service1Behavior" name="LicenseServer.Service1"&gt;
          &lt;endpoint address="http://www.drorhan.com:8000" binding="wsHttpBinding" contract="LicenseServer.IService1"&gt;
            &lt;identity&gt;
              &lt;dns value="localhost"/&gt;
            &lt;/identity&gt;
          &lt;/endpoint&gt;
          &lt;endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"/&gt;
          &lt;host&gt;
            &lt;timeouts closeTimeout="00:1:00"/&gt;
          &lt;/host&gt;
        &lt;/service&gt;
      &lt;/services&gt;
  </code></pre>
  
  <p><strong>Client config</strong></p>
  
  <pre><code>&lt;bindings&gt;
    &lt;wsHttpBinding&gt;
      &lt;binding name="WSHttpBinding_IService1" closeTimeout="00:10:00" openTimeout="00:10:00"
               receiveTimeout="00:10:00" sendTimeout="00:10:00" bypassProxyOnLocal="false" transactionFlow="false"
               hostNameComparisonMode="StrongWildcard" maxBufferPoolSize="524288" maxReceivedMessageSize="65536"
               messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="true" allowCookies="false"&gt;
        &lt;readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384" maxBytesPerRead="4096"
                      maxNameTableCharCount="16384" /&gt;
        &lt;reliableSession ordered="true" inactivityTimeout="00:10:00" enabled="false" /&gt;
        &lt;security mode="Message"&gt;
          &lt;transport clientCredentialType="Windows" proxyCredentialType="None" realm="" /&gt;
          &lt;message clientCredentialType="Windows" negotiateServiceCredential="true" algorithmSuite="Default"
                   establishSecurityContext="true" /&gt;
        &lt;/security&gt;
      &lt;/binding&gt;
    &lt;/wsHttpBinding&gt;
  &lt;/bindings&gt;
  </code></pre>
  
  <blockquote>
    <p>Server stack trace:     konum:
    System.ServiceModel.Security.IssuanceTokenProviderBase<code>1.DoNegotiation(TimeSpan
    timeout)    konum:
    System.ServiceModel.Security.SspiNegotiationTokenProvider.OnOpen(TimeSpan
    timeout)    konum:
    System.ServiceModel.Security.WrapperSecurityCommunicationObject.OnOpen(TimeSpan
    timeout)    konum:
    System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan
    timeout)    konum:
    System.ServiceModel.Security.CommunicationObjectSecurityTokenProvider.Open(TimeSpan
    timeout)    konum:
    System.ServiceModel.Security.SecurityUtils.OpenCommunicationObject(ICommunicationObject
    obj, TimeSpan timeout)    konum:
    System.ServiceModel.Security.SecurityUtils.OpenTokenProviderIfRequired(SecurityTokenProvider
    tokenProvider, TimeSpan timeout)    konum:
    System.ServiceModel.Security.SymmetricSecurityProtocol.OnOpen(TimeSpan
    timeout)    konum:
    System.ServiceModel.Security.WrapperSecurityCommunicationObject.OnOpen(TimeSpan
    timeout)    konum:
    System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan
    timeout)    konum:
    System.ServiceModel.Security.SecurityProtocol.Open(TimeSpan timeout)<br>
    konum:
    System.ServiceModel.Channels.SecurityChannelFactory</code>1.ClientSecurityChannel<code>1.OnOpen(TimeSpan
    timeout)    konum:
    System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan
    timeout)    konum:
    System.ServiceModel.Security.SecuritySessionSecurityTokenProvider.DoOperation(SecuritySessionOperation
    operation, EndpointAddress target, Uri via, SecurityToken
    currentToken, TimeSpan timeout)    konum:
    System.ServiceModel.Security.SecuritySessionSecurityTokenProvider.GetTokenCore(TimeSpan
    timeout)    konum:
    System.IdentityModel.Selectors.SecurityTokenProvider.GetToken(TimeSpan
    timeout)    konum:
    System.ServiceModel.Security.SecuritySessionClientSettings</code>1.ClientSecuritySessionChannel.OnOpen(TimeSpan
    timeout)    konum:
    System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan
    timeout)    konum:
    System.ServiceModel.Channels.ServiceChannel.OnOpen(TimeSpan timeout)<br>
    konum: System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan
    timeout)    konum:
    System.ServiceModel.Channels.ServiceChannel.CallOpenOnce.System.ServiceModel.Channels.ServiceChannel.ICallOnce.Call(ServiceChannel
    channel, TimeSpan timeout)    konum:
    System.ServiceModel.Channels.ServiceChannel.CallOnceManager.CallOnce(TimeSpan
    timeout, CallOnceManager cascade)    konum:
    System.ServiceModel.Channels.ServiceChannel.EnsureOpened(TimeSpan
    timeout)    konum:
    System.ServiceModel.Channels.ServiceChannel.Call(String action,
    Boolean oneway, ProxyOperationRuntime operation, Object[] ins,
    Object[] outs, TimeSpan timeout)    konum:
    System.ServiceModel.Channels.ServiceChannel.Call(String action,
    Boolean oneway, ProxyOperationRuntime operation, Object[] ins,
    Object[] outs)    konum:
    System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage
    methodCall, ProxyOperationRuntime operation)    konum:
    System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage
    message)</p>
  </blockquote>
  
  <p><strong>Update</strong></p>
  
  <p>I get  connection aborted 10053 error from host</p>