Logo 
Search:

C# Forum

Ask Question   UnAnswered
Home » Forum » C#       RSS Feeds

Error: "10060 Connection Timed Out" Error Message When You Try to Connect to Certain Web Sites.

  Asked By: Lydia    Date: Apr 25    Category: C#    Views: 2658
  

I am getting following error message.

Error Message: "10060 Connection Timed Out" Error Message When You Try to Connect to Certain Web Sites.

Share: 

 

1 Answer Found

 
Answer #1    Answered By: Utsav Shah     Answered On: Apr 25

Description: When a web  Proxy client tries to connect  to certain Web sites,error message  appear in the browser window.

Cause: This behavior may occur when the Web Proxy service connection  settings do not allow enough time to receive a response from the destination Web site before the service closes the connection.


Solution: To resolve this issue, follow these steps:

Step 1: Troubleshoot the Web Proxy Connection
Determine if this issue occurs only when the Web Proxy service is used. To do this, install the Winsock Proxy Client on the client computer, disable the Web Proxy settings (under Local Area Network [LAN] settings on the Connections tab of the Internet Options dialog box), and then try to go to the Web site where you experience the problem. If you can reach the site successfully, the problem is with the Web Proxy timeout settings. If so, go to the next step.

Step 2: Increase the Web Proxy Timeout Settings
To increase the amount of time that the Web Proxy service waits before it closes idle sessions, follow these steps:

1. Click Start, click Run, type regedit in the Open box, and then click OK.
2. Navigate to the following registry subkey:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W3Proxy\Parameters
3. In the right pane of Registry Editor, right-click RequestTimeoutSecs, and then click Modify.
4. Click Decimal, and then type the number of seconds that you want the Web Proxy service to wait for a response before it returns an error  message. A recommended value for this setting is 180 or more.
5. Click OK, and then restart the World Wide Web Publishing service. To restart this service:
a. Click Start, click Run, type cmd in the Open box, and then click OK.
b. Type net stop iisadmin /y, and then press ENTER.
c. When the service has stopped successfully, type net start iisadmin /y, and then press ENTER.

6. Test the new settings from a client computer that is configured to use the Web Proxy service: try to go to the Web site where you experienced the problem. If the issue is not resolved, go to the next step.
7. If you still experience the timeout problems, start Registry Editor (if it is not already started), and then navigate to the following registry subkey: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W3Proxy\Parameters
8. In the right pane of Registry Editor, right-click SocketIoTimeoutSecs, and then click Modify.
9. Click Decimal, and then type a value of 300 (or more) in the Value data box.
10. Restart the World Wide Web Publishing service.
11. Test the new settings from a client computer that is configured to use the Web Proxy service: try to go to the Web site where you experienced the problem. If the issue is not resolved, go to the next step.
12. Add the TcpMaxDataRetransmissions value to the Windows registry.

 
This post is locked for further answers.




Tagged: