-
Notifications
You must be signed in to change notification settings - Fork 656
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sslv3 error when targeting bosh directors #1322
Comments
You may also be able to solve this by running...
This also came up on cloudfoundry#bosh and sounded like "old ruby was the issue". |
I tried that on my machine (also tried updating the Gemfile used when I set |
+1, also having this problem. Think it may be related to an old |
same here. [WARNING] cannot access director, trying 2 more times... but bosh cli (BOSH 1.3215.3.0) inside of opsmanager works to the same director VM to login. |
I'm also getting the similar problem in my OS X. bosh target 192.168.50.4 lite ruby --version |
+1. However, BOSH install docs do say to use 'a non-system ruby'. So as a workaround:
Worked for me after facing the same issue w/system ruby. /M |
worked for me as well |
+1 I found the error message "[WARNING] cannot access director, trying 4 more times..." unhelpful, in part because I didn't know a more useful message was coming later. I assumed it was a network issue and wasted a few hours debugging from that perspective. |
For future readers, if the above suggestions don't work, the new BOSH CLI which is still under development handles TLS connection errors a bit more clearly if you want to give it a try and provide feedback. Link to cloudfoundry/bosh-cli repository to build and some migration notes. Ruby CLI is mostly frozen, so it's probably not something we'll be trying to fix in favor of suggesting users switch to the new CLI. |
Closing - not changing the Ruby CLI. Avoid using outdated, system Ruby versions in the meantime. |
I have installed the latest version of the BOSH CLI gem (1.3262.0) on a computer running OS X 10.10.5 and using the system libssl (0.9.8zg). When attempting to target any bosh director (including a the latest version 1.3261.1.0), I receive the following warnings and eventual error:
When I attempt to do the same using a Ruby compiled with a more-modern SSL (1.0.2d) (via
brew install ruby
), I am able to successfully target the bosh director.Suggestion: If it is possible to determine which SSL versions are unsupported (via
require 'openssl'; OpenSSL::OPENSSL_VERSION
), provide a helpful error message guiding the user to a resolution.The text was updated successfully, but these errors were encountered: