Closed ghost closed 7 years ago
Additional datapoint: I've updated to 1.9.2, but still seeing the same error.
Same here. Here is the debug output. It seems that everything is fine till trying to connect to mux server. Also vagrant connect doesn't work on this host either.
Host version: mac os x sierra.
banditpro:ubuntu kundeng$ vagrant share --ssh --debug
INFO global: Vagrant version: 1.9.3
INFO global: Ruby version: 2.2.5
INFO global: RubyGems version: 2.4.5.1
INFO global: VAGRANT_EXECUTABLE="/opt/vagrant/embedded/gems/gems/vagrant-1.9.3/bin/vagrant"
INFO global: VAGRANT_OLD_ENV_XPC_SERVICE_NAME="0"
INFO global: VAGRANT_OLD_ENV_OLDPWD="/Users/kundeng"
INFO global: VAGRANT_OLD_ENV_SHELL="/bin/bash"
INFO global: VAGRANT_OLD_ENV_USER="kundeng"
INFO global: VAGRANT_OLD_ENV_SSH_AUTH_SOCK="/private/tmp/com.apple.launchd.LMsFL9WPoe/Listeners"
INFO global: VAGRANT_OLD_ENV_LANG="en_US.UTF-8"
INFO global: VAGRANT_OLD_ENV_TERM="xterm-256color"
INFO global: VAGRANT_INSTALLER_VERSION="2"
INFO global: VAGRANT_OLD_ENV_TMPDIR="/var/folders/yg/cdzrkn9j3x99ktfcd1prsqrm0000gn/T/"
INFO global: VAGRANT_OLD_ENV_CF_USER_TEXT_ENCODING="0x1F5:0x0:0x0"
INFO global: VAGRANT_OLD_ENV_PATH="/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin"
INFO global: VAGRANT_OLD_ENV_SHLVL="1"
INFO global: VAGRANT_INSTALLER_EMBEDDED_DIR="/opt/vagrant/embedded"
INFO global: VAGRANT_OLD_ENV_TERM_PROGRAM_VERSION="388"
INFO global: VAGRANT_OLD_ENV_XPC_FLAGS="0x0"
INFO global: VAGRANT_OLD_ENV_PWD="/Users/kundeng/Dropbox/share/work/projects/vagrant/ubuntu"
INFO global: VAGRANT_INSTALLER_ENV="1"
INFO global: VAGRANT_OLD_ENV_TERM_SESSION_ID="04192173-0C38-4B9A-9CEC-F2E72B37FF35"
INFO global: VAGRANT_OLD_ENV_HOME="/Users/kundeng"
INFO global: VAGRANT_OLD_ENV_LOGNAME="kundeng"
INFO global: VAGRANT_OLD_ENV="/usr/local/bin/vagrant"
INFO global: VAGRANT_OLD_ENV_TERM_PROGRAM="Apple_Terminal"
INFO global: VAGRANT_OLD_ENV_Apple_PubSub_Socket_Render="/private/tmp/com.apple.launchd.ejLuokEOpZ/Render"
INFO global: VAGRANT_LOG="debug"
INFO global: Plugins:
INFO global: - vagrant-share = [installed: undefined constraint: > 0]
DEBUG bundler: Current generated plugin dependency list: [vagrant-share
with default require: vagrant-share
INFO manager: Registered plugin: vagrant-share
DEBUG global: Successfully loaded plugin vagrant-share
.
INFO vagrant: vagrant
invoked: ["share", "--ssh", "--debug"]
DEBUG vagrant: Creating Vagrant environment
INFO environment: Environment initialized (#
USB Device Filters:
Can someone please take a look at this issue?
Ok, the only way to fix this is to revert to older version of vagrant. I used 1.8.7.
Other solutions such as using homebrew's openssl and a new cacert.pem by linking, or replacing cert.pem by setting SSL_CERT_FILE would not work.
I think it is likely a bug in the binary file of the proxy itself.
Hi there,
Thanks for reporting this bug. I'm sure this was a real issue when originally reported (our fault for not looking sooner!) but there have been multiple Vagrant releases since the original report. I'm going to close this issue now and request you reopen the issue if you're still experiencing this problem. I'm sorry this wasn't looked at earlier :frowning_face:
Cheers!
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
vagrant share --ssh
is failing with the following error:The debug output includes the following message, which may be related:
Other similar issues have mentioned that there may be some kind of network restriction--like a firewall--but I don't have a firewall on my network. I am also able to telnet to the mux server at register.vagrantshare.com:8000 with no issue.
Vagrant version
Vagrant 1.9.1
Host operating system
Mac OSX 10.12.3
Guest operating system
Centos 6
Vagrantfile
Debug output
https://gist.github.com/bluetalon-ben/ea1c812d546e406cf9e08ca465402a24
I think the key lines are the following:
Expected behavior
vagrant share --ssh
should complete successfully, and include a shareable linkActual behavior
vagrant share --ssh
fails with the following message: The sharing proxy exited with a non-zero exit status! This represents an erroneous exit and likely a bug. Please report this issue.Steps to reproduce
Not sure what exactly is different about my environment. Even after creating a brand new vagrant VM, I still see this issue.
References