execute estes comandos em um terminal do Windows
definir http_proxy = link
definir https_proxy = link
Eu quero tornar o trabalho vagabundo com proxy corporativo, por isso acredito que preciso instalar vagrant-proxyconf
vagrant plugin install vagrant-proxyconf
que falhou com
Vagrant failed to load a configured plugin source. This can be caused
by a variety of issues including: transient connectivity issues, proxy
filtering rejecting access to a configured plugin source, or a configured
plugin source not responding correctly. Please review the error message
below to help resolve the issue:
Errno::ECONNREFUSED: Failed to open TCP connection to api.rubygems.org:443 (No connection could be made because the target machine actively refused it. - connect(2) for "api.rubygems.org" port 443) (https://api.rubygems.org/specs.4.8.gz)
Source: https://rubygems.org/
bastante justo, enquanto eu estou atrás do proxy. Então eu pensei em fazer o download via browser e tentar novamente, então eu tenho o local vagrant-proxyconf-1.5.2.gem e eu tentei
vagrant plugin install ./vagrant-proxyconf-1.5.2.gem
e falhou com
Errno::ECONNREFUSED: Failed to open TCP connection to api.rubygems.org:443 (No connection could be made because the target machine actively refused it. - connect(2) for "api.rubygems.org" port 443) (https://api.rubygems.org/specs.4.8.gz)
Source: https://rubygems.org/
ok, parece uma dependência, então eu baixei specs.4.8.gz e tentei novamente, mas mesmo problema
Errno::ECONNREFUSED: Failed to open TCP connection to api.rubygems.org:443 (No connection could be made because the target machine actively refused it. - connect(2) for "api.rubygems.org" port 443) (https://api.rubygems.org/specs.4.8.gz)
... então eu tentei com
vagrant plugin install specs.4.8 --plugin-source file://c:/betlista/downloads
e o mesmo problema novamente
Errno::ECONNREFUSED: Failed to open TCP connection to api.rubygems.org:443 (No connection could be made because the target machine actively refused it. - connect(2) for "api.rubygems.org" port 443) (https://api.rubygems.org/specs.4.8.gz)
Estou no Windows 10 e a versão do Vagrant é 2.1.0. Eu sou muito novo no Vagrant.
execute estes comandos em um terminal do Windows
definir http_proxy = link
definir https_proxy = link
Tags vagrant