Skip to content
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

Unable to target bosh-lite VM on OS X Sierra #406

clingmann opened this issue Nov 7, 2016 · 2 comments


Copy link

commented Nov 7, 2016

I've updated ruby to a newer version and set target with rbenv and suggested in other closed thread with no success.

Leto:bosh-lite chad$ ruby -v
ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-darwin16]

Leto:bosh-lite chad$ bosh -v
BOSH 1.3262.24.0
Leto:bosh-lite chad$ which bosh

Leto:bosh-lite chad$ bosh target lite
RSA 1024 bit CA certificates are loaded due to old openssl compatibility
[WARNING] cannot access director, trying 4 more times...
[WARNING] cannot access director, trying 3 more times...
[WARNING] cannot access director, trying 2 more times...
[WARNING] cannot access director, trying 1 more times...
cannot access director (SSL_connect returned=1 errno=0 state=SSLv2/v3 read server hello A: sslv3 alert handshake failure)

nc -z 25555
Connection to port 25555 [tcp/*] succeeded!

Leto:bosh-lite chad$ curl -vk

  • Trying
  • Connected to ( port 25555 (#0)
  • TLS 1.2 connection using TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
  • Server certificate:

GET /info HTTP/1.1
User-Agent: curl/7.49.1
Accept: /

< HTTP/1.1 200 OK
< Server: nginx
< Date: Mon, 07 Nov 2016 23:39:15 GMT
< Content-Type: application/json
< Content-Length: 358
< Connection: keep-alive
< X-Content-Type-Options: nosniff

  • Connection #0 to host left intact
    {"name":"Bosh Lite Director","uuid":"fb70f16a-4d6f-41f8-bc2e-0181a03dff18","version":"1.3262.3.0 (00000000)","user":null,"cpi":"warden_cpi","user_authentication":{"type":"basic","options":{}},"features":{"dns":{"status":false,"extras":{"domain_name":null}},"compiled_package_cache":{"status":true,"extras":{"provider":"local"}},"snapshots":{"status":false}}}Leto:bosh-lite chad$

SSH in via vagrant has no issue, so doesn't appear to be a routing issue.

Leto:bosh-lite chad$ vagrant ssh
Welcome to Ubuntu 14.04.4 LTS (GNU/Linux 4.2.0-42-generic x86_64)

Anyone have any suggestions for troubleshooting bosh connection?


This comment has been minimized.

Copy link

commented Nov 8, 2016

Please see cloudfoundry/bosh#1322 for some suggestions. Perhaps try brew install ruby and use that ruby?


This comment has been minimized.

Copy link

commented Nov 8, 2016

Ok I manually had installed the latest ruby, and had set my system using rbenv to use this latest version as shown above. instructions from here:

I ran the command 'brew install ruby' and like magic it is now working for bosh target. I was not using the system ruby, which was being blamed as the culprit,

Leto:~ chad$ ruby -v
ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-darwin16]
Leto:~ chad$ which ruby

I'm not sure what configuration or link the brew install is creating, but it is now working none the less. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
2 participants
You can’t perform that action at this time.