chef-boneyard / vagrant-omnibus

A Vagrant plugin that ensures the desired version of Chef is installed via the platform-specific Omnibus packages.
Apache License 2.0
551 stars 63 forks source link

Not a valid version of Chef misleading error message on network connectivity issues #121

Open szetheli opened 9 years ago

szetheli commented 9 years ago

Over the last couple of days, I've been getting the following error when installing vagrant chef files. 11.6.2 is a valid version, and as long as the network is working, and the server's its pulling from are working, everything installs fine. But if either the network or the servers aren't allowing a connection, the error message is very misleading as to the actual cause of failure.

There are errors in the configuration of this machine. Please fix the following errors and try again:

vagrant-omnibus:

A list of valid versions can be found at: http://www.opscode.com/chef/install/

szetheli commented 9 years ago

To be clear, I'm not sure the issue of connectivity is local to the network I'm trying to connect from or with the www.getchef.com domain. This issue is to address the error message that is reported.

ccope commented 8 years ago

+1, several people at my company (including myself) have encountered this now. I suspect it's due to a lack of retries in Gem::DependencyInstaller.find_gems_with_sources

chuangtim commented 8 years ago

+1,I also encountered this