FAQ Search Memberlist RSS Feed Register Profile Log in to check your private messages Log in
DNS lookup causes 20s timeout on some systems

 
Post new topic   Reply to topic    OPC Foundation Message Board Forum Index -> UA (Unified Architecture) FAQ
View previous topic :: View next topic  
Author Message
Randy



Joined: 27 Feb 2003
Posts: 3532
Location: OPC Foundation

PostPosted: Sat May 23, 2009 7:08 pm    Post subject: DNS lookup causes 20s timeout on some systems Reply with quote

This problem was observed on a VM running Vista SP1 Enterprise with no domain controller.

Users of the .NET SDK may experience a 20s delay when establishing a connection for the first time. This appears to occur because of a 20s socket timeout within the WCF infrastructure. It is possible to eliminate this delay by adding the computer name the HOSTS file on the system.

The HOSTS file can be found in C:\Windows\System32\Drivers\Etc.

Add one or two lines (::1 is only used if IPv6 is installed on the machine):

127.0.0.1 computername
::1 computername

This problem is likely related to the network security settings on a Vista machine (e.g. is network discovery turned off) since the majority of machines do not have this problem.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    OPC Foundation Message Board Forum Index -> UA (Unified Architecture) FAQ All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group