10060 Connection Timed Out Error with Proxy Server on Slow Link

ID: Q191143


The information in this article applies to:
  • Microsoft Proxy Server versions 1.0, 2.0

IMPORTANT: This article contains information about editing the registry. Before you edit the registry, make sure you understand how to restore it if a problem occurs. For information about how to do this, view the "Restoring the Registry" Help topic in Regedit.exe or the "Restoring a Registry Key" Help topic in Regedt32.exe.

SUMMARY


MORE INFORMATION

The TcpMaxDataRetransmissions parameter controls the number of times TCP retransmits an individual data segment (non connect segment) before ending the connection. The retransmission timeout is doubled with each successive retransmission on a connection. It is reset when responses resume. The base timeout value is dynamically determined by the measured round-trip time on the connection.

The Default Value for this registry entry is 5; double this value to 10 (Decimal) (see step 2 above). If connection timeouts still occur, try doubling the value again to 20 (Decimal).

NOTE: This registry entry may only reduce the number of connection timeout errors that occur. Changes to your Internet connection or router may have to be made to completely resolve the problem.


SYMPTOMS

Winsock timeout errors may occur on slow, congested, or high latency Internet links with Microsoft Proxy Server. The following Winsock error Message appears on the client Web browser:


   Proxy Reports:
   10060 Connection timed out

   The Web server specified in your URL could not be contacted. Please
   check your URL or try your request again. 
NOTE: A timeout error may also occur when connecting to an Internet server that does not exist or if there is more than one default gateway on the Proxy Server computer. For more information, see the following article in the Microsoft Knowledge Base:
Q161380 Only One Default Gateway Allowed on Proxy Server


WORKAROUND

Adjusting the following TCP/IP setting by adding a subkey in the registry should reduce the number of timeouts by allowing more time for the connection to complete. This setting is not present in the registry by default.

WARNING: Using Registry Editor incorrectly can cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk.

For information about how to edit the registry, view the "Changing Keys And Values" Help topic in Registry Editor (Regedit.exe) or the "Add and Delete Information in the Registry" and "Edit Registry Data" Help topics in Regedt32.exe. Note that you should back up the registry before you edit it. If you are running Windows NT, you should also update your Emergency Repair Disk (ERD).

  1. Start Registry Editor (Regedt32.exe) and go to the following subkey:
    
        HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters 


  2. On the Edit menu, click Add Value, and then add the following information:
    
          Value Name: TcpMaxDataRetransmissions
          Value Type: REG_DWORD - Number
          Valid Range: 0 - 0xFFFFFFFF
          Default Value: 5 Decimal
          New Value: 10 Decimal 


  3. Click OK and then quit Registry Editor.


Keywords :
Version : WINNT:1.0,2.0
Platform : winnt
Issue type : kbprb


Last Reviewed: August 12, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.