rlane/rbvmomi — Issue #14: Timeout opening VIM connection
Author: vilord
Created: 2011-12-28 21:05:41+00:00
State: open

In the process of getting chef/knife/vsphere working, I discovered that I was getting network timeout errors when trying to open the VIM vserver connection.
Currently the open_timeout is set to 5, increasing to 500 cleared the issue.
On my system there is a 3 or 4 second delay just from doing the DNS lookup, but regardless, 5 secs seems rather aggressive for a hard-coded value that cannot be overridden through options/arguments.

Can/should this value be increased?

rbvmomi/trivial_soap.rb
52c52
< @http.open_timeout = 5
---
> @http.open_timeout = 500