###前提・実現したいこと
chef-solo で berks install を実行したいのですが、ConnectionFailed(UnknownProtocol)になってしまいます。
###発生している問題・エラーメッセージ
ruby
1/Users/te28/.rbenv/versions/2.1.4/lib/ruby/2.1.0/net/http.rb:920:in `connect': SSL_connect returned=1 errno=0 state=SSLv2/v3 read server hello A: unknown protocol (Faraday::Error::ConnectionFailed) 2 from /Users/te28/.rbenv/versions/2.1.4/lib/ruby/2.1.0/net/http.rb:920:in `block in connect' 3 from /Users/te28/.rbenv/versions/2.1.4/lib/ruby/2.1.0/timeout.rb:76:in `timeout' 4 from /Users/te28/.rbenv/versions/2.1.4/lib/ruby/2.1.0/net/http.rb:920:in `connect' 5 from /Users/te28/.rbenv/versions/2.1.4/lib/ruby/2.1.0/net/http.rb:863:in `do_start' 6 from /Users/te28/.rbenv/versions/2.1.4/lib/ruby/2.1.0/net/http.rb:852:in `start' 7 from /Users/te28/.rbenv/versions/2.1.4/lib/ruby/2.1.0/net/http.rb:1369:in `request' 8 from /Users/te28/.rbenv/versions/2.1.4/lib/ruby/2.1.0/net/http.rb:1128:in `get' 9 from /Users/te28/workspace/chef-repo/vendor/bundle/ruby/2.1.0/gems/faraday-0.8.9/lib/faraday/adapter/net_http.rb:73:in `perform_request' 10 from /Users/te28/workspace/chef-repo/vendor/bundle/ruby/2.1.0/gems/faraday-0.8.9/lib/faraday/adapter/net_http.rb:38:in `call' 11 from /Users/te28/workspace/chef-repo/vendor/bundle/ruby/2.1.0/gems/ridley-1.7.1/lib/ridley/middleware/retry.rb:29:in `call' 12 from /Users/te28/workspace/chef-repo/vendor/bundle/ruby/2.1.0/gems/ridley-1.7.1/lib/ridley/middleware/follow_redirects.rb:67:in `perform_with_redirection' 13 from /Users/te28/workspace/chef-repo/vendor/bundle/ruby/2.1.0/gems/ridley-1.7.1/lib/ridley/middleware/follow_redirects.rb:80:in `block in perform_with_redirection' 14 from /Users/te28/workspace/chef-repo/vendor/bundle/ruby/2.1.0/gems/faraday-0.8.9/lib/faraday/response.rb:63:in `on_complete' 15 from /Users/te28/workspace/chef-repo/vendor/bundle/ruby/2.1.0/gems/ridley-1.7.1/lib/ridley/middleware/follow_redirects.rb:69:in `perform_with_redirection' 16 from /Users/te28/workspace/chef-repo/vendor/bundle/ruby/2.1.0/gems/ridley-1.7.1/lib/ridley/middleware/follow_redirects.rb:60:in `call' 17 from /Users/te28/workspace/chef-repo/vendor/bundle/ruby/2.1.0/gems/faraday-0.8.9/lib/faraday/response.rb:8:in `call' 18 from /Users/te28/workspace/chef-repo/vendor/bundle/ruby/2.1.0/gems/faraday-0.8.9/lib/faraday/connection.rb:253:in `run_request' 19 from /Users/te28/workspace/chef-repo/vendor/bundle/ruby/2.1.0/gems/faraday-0.8.9/lib/faraday/connection.rb:106:in `get' 20 from /Users/te28/workspace/chef-repo/vendor/bundle/ruby/2.1.0/gems/berkshelf-2.0.18/lib/berkshelf/community_rest.rb:142:in `versions' 21 from /Users/te28/workspace/chef-repo/vendor/bundle/ruby/2.1.0/gems/berkshelf-2.0.18/lib/berkshelf/community_rest.rb:161:in `satisfy' 22 from /Users/te28/workspace/chef-repo/vendor/bundle/ruby/2.1.0/gems/berkshelf-2.0.18/lib/berkshelf/locations/site_location.rb:66:in `target_version' 23 from /Users/te28/workspace/chef-repo/vendor/bundle/ruby/2.1.0/gems/berkshelf-2.0.18/lib/berkshelf/locations/site_location.rb:41:in `download' 24 from /Users/te28/workspace/chef-repo/vendor/bundle/ruby/2.1.0/gems/berkshelf-2.0.18/lib/berkshelf/downloader.rb:120:in `download_location' 25 from /Users/te28/workspace/chef-repo/vendor/bundle/ruby/2.1.0/gems/berkshelf-2.0.18/lib/berkshelf/downloader.rb:89:in `block in download' 26 from /Users/te28/workspace/chef-repo/vendor/bundle/ruby/2.1.0/gems/berkshelf-2.0.18/lib/berkshelf/downloader.rb:85:in `each' 27 from /Users/te28/workspace/chef-repo/vendor/bundle/ruby/2.1.0/gems/berkshelf-2.0.18/lib/berkshelf/downloader.rb:85:in `download' 28 from /Users/te28/workspace/chef-repo/vendor/bundle/ruby/2.1.0/gems/berkshelf-2.0.18/lib/berkshelf/resolver.rb:137:in `install_source' 29 from /Users/te28/workspace/chef-repo/vendor/bundle/ruby/2.1.0/gems/berkshelf-2.0.18/lib/berkshelf/resolver.rb:57:in `add_source' 30 from /Users/te28/workspace/chef-repo/vendor/bundle/ruby/2.1.0/gems/berkshelf-2.0.18/lib/berkshelf/resolver.rb:30:in `block in initialize' 31 from /Users/te28/workspace/chef-repo/vendor/bundle/ruby/2.1.0/gems/berkshelf-2.0.18/lib/berkshelf/resolver.rb:29:in `each' 32 from /Users/te28/workspace/chef-repo/vendor/bundle/ruby/2.1.0/gems/berkshelf-2.0.18/lib/berkshelf/resolver.rb:29:in `initialize' 33 from /Users/te28/workspace/chef-repo/vendor/bundle/ruby/2.1.0/gems/berkshelf-2.0.18/lib/berkshelf/berksfile.rb:676:in `new' 34 from /Users/te28/workspace/chef-repo/vendor/bundle/ruby/2.1.0/gems/berkshelf-2.0.18/lib/berkshelf/berksfile.rb:676:in `resolve' 35 from /Users/te28/workspace/chef-repo/vendor/bundle/ruby/2.1.0/gems/berkshelf-2.0.18/lib/berkshelf/berksfile.rb:418:in `install' 36 from /Users/te28/workspace/chef-repo/vendor/bundle/ruby/2.1.0/gems/berkshelf-2.0.18/lib/berkshelf/cli.rb:153:in `install' 37 from /Users/te28/workspace/chef-repo/vendor/bundle/ruby/2.1.0/gems/thor-0.18.1/lib/thor/command.rb:27:in `run' 38 from /Users/te28/workspace/chef-repo/vendor/bundle/ruby/2.1.0/gems/thor-0.18.1/lib/thor/invocation.rb:120:in `invoke_command' 39 from /Users/te28/workspace/chef-repo/vendor/bundle/ruby/2.1.0/gems/thor-0.18.1/lib/thor.rb:363:in `dispatch' 40 from /Users/te28/workspace/chef-repo/vendor/bundle/ruby/2.1.0/gems/berkshelf-2.0.18/lib/berkshelf/cli.rb:21:in `dispatch' 41 from /Users/te28/workspace/chef-repo/vendor/bundle/ruby/2.1.0/gems/thor-0.18.1/lib/thor/base.rb:439:in `start' 42 from /Users/te28/workspace/chef-repo/vendor/bundle/ruby/2.1.0/gems/berkshelf-2.0.18/bin/berks:6:in `<top (required)>' 43 from /Users/te28/workspace/chef-repo/vendor/bundle/ruby/2.1.0/bin/berks:23:in `load' 44 from /Users/te28/workspace/chef-repo/vendor/bundle/ruby/2.1.0/bin/berks:23:in `<main>'
###該当のソースコード
bash
1$ bundle exec berks install --path cookbooks
###試したこと
ruby の利用している OpenSSL が影響があるのかと思い OpenSSL の最新化を行ってみましたが状況はかわりませんでした。。
bash
1$ openssl version 2OpenSSL 1.0.2j 26 Sep 2016 3 4$ ruby -ropenssl -e 'puts OpenSSL::OPENSSL_VERSION' 5OpenSSL 1.0.2j 26 Sep 2016
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。