Merge pull request #4480 from JelleHissink/master

Vmware vsphere vnc port timeout increased (issue #3205)
This commit is contained in:
Rickard von Essen 2017-01-29 18:43:42 +01:00 committed by GitHub
commit 8cdafd663f
1 changed files with 1 additions and 1 deletions

View File

@ -205,7 +205,7 @@ func (d *ESX5Driver) VNCAddress(_ string, portMin, portMax uint) (string, uint,
}
address := fmt.Sprintf("%s:%d", d.Host, port)
log.Printf("Trying address: %s...", address)
l, err := net.DialTimeout("tcp", address, 1*time.Second)
l, err := net.DialTimeout("tcp", address, 5*time.Second)
if err != nil {
if e, ok := err.(*net.OpError); ok {