mitchellh / vagrant-aws

Use Vagrant to manage your EC2 and VPC instances.
MIT License
2.61k stars 574 forks source link

Authentication is required for http://gems.hashicorp.com/. #515

Closed hubeiyichangzy closed 6 years ago

hubeiyichangzy commented 7 years ago

When I tried to install vagrant-aws. It reported and authentication error. I can open http://gems.hashicorp.com/ on my browser. And did not found sign up link. So is some special configuration need to be set before running vagrant plugin install? Thanks for the help.

$ vagrant plugin install vagrant-aws

Installing the 'vagrant-aws' plugin. This can take a few minutes... Bundler, the underlying system Vagrant uses to install plugins, reported an error. The error is shown below. These errors are usually caused by misconfigured plugin installations or transient network issues. The error from Bundler is:

Authentication is required for http://gems.hashicorp.com/. Please supply credentials for this source. You can do this by running: bundle config http://gems.hashicorp.com/ username:password

$ vagrant -v

Vagrant 1.7.2

jamiejackson commented 7 years ago

A colleague of mine started getting this issue, too.

Turns out he's on 1.7.2, as well, which is quite old. I'm on 1.9.3 and I don't have the issue.

jfbibeau commented 6 years ago

Had a colleague of mine getting this issue - he was running 1.7.5, upgraded to our supported devenv release of 1.8.3 and problem went away.