-1
當我運行我的廚師客戶端時,我得到以下錯誤。任何想法如何解決它。它似乎增加超時可能工作。因爲從服務器獲取食譜需要一段時間。在哪裏增加超時?廚師客戶端ssl錯誤,同步cookbook
penSSL::SSL::SSLError: SSL_connect SYSCALL returned=5 errno=0 state=SSLv3 read server session ticket A
/opt/chef/embedded/lib/ruby/1.9.1/net/http.rb:800:in `connect'
/opt/chef/embedded/lib/ruby/1.9.1/net/http.rb:800:in `block in connect'
/opt/chef/embedded/lib/ruby/1.9.1/timeout.rb:55:in `timeout'
/opt/chef/embedded/lib/ruby/1.9.1/timeout.rb:100:in `timeout'
/opt/chef/embedded/lib/ruby/1.9.1/net/http.rb:800:in `connect'
/opt/chef/embedded/lib/ruby/1.9.1/net/http.rb:756:in `do_start'
/opt/chef/embedded/lib/ruby/1.9.1/net/http.rb:745:in `start'
/opt/chef/embedded/lib/ruby/1.9.1/net/http.rb:1285:in `request'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/rest-client-1.6.7/lib/restclient/net_http_ext.rb:51:in `request'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.10.4/lib/chef/http/basic_client.rb:64:in `request'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.10.4/lib/chef/http.rb:249:in `block in send_http_request'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.10.4/lib/chef/http.rb:291:in `retrying_http_errors'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.10.4/lib/chef/http.rb:245:in `send_http_request'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.10.4/lib/chef/http.rb:165:in `streaming_request'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.10.4/lib/chef/rest.rb:166:in `streaming_request'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.10.4/lib/chef/rest.rb:104:in `get'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.10.4/lib/chef/cookbook/synchronizer.rb:202:in `download_file'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.10.4/lib/chef/cookbook/synchronizer.rb:180:in `sync_file_in_cookbook'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.10.4/lib/chef/cookbook/synchronizer.rb:147:in `block (2 levels) in sync_cookbook'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.10.4/lib/chef/cookbook/synchronizer.rb:145:in `each'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.10.4/lib/chef/cookbook/synchronizer.rb:145:in `block in sync_cookbook'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.10.4/lib/chef/cookbook/synchronizer.rb:143:in `each'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.10.4/lib/chef/cookbook/synchronizer.rb:143:in `sync_cookbook'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.10.4/lib/chef/cookbook/synchronizer.rb:105:in `block in sync_cookbooks'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.10.4/lib/chef/cookbook/synchronizer.rb:104:in `each'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.10.4/lib/chef/cookbook/synchronizer.rb:104:in `sync_cookbooks'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.10.4/lib/chef/policy_builder/expand_node_object.rb:181:in `sync_cookbooks'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.10.4/lib/chef/policy_builder/expand_node_object.rb:68:in `setup_run_context'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.10.4/lib/chef/client.rb:252:in `setup_run_context'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.10.4/lib/chef/client.rb:413:in `do_run'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.10.4/lib/chef/client.rb:200:in `block in run'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.10.4/lib/chef/client.rb:194:in `fork'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.10.4/lib/chef/client.rb:194:in `run'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.10.4/lib/chef/application.rb:215:in `run_chef_client'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.10.4/lib/chef/application/client.rb:314:in `block in run_application'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.10.4/lib/chef/application/client.rb:306:in `loop'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.10.4/lib/chef/application/client.rb:306:in `run_application'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.10.4/lib/chef/application.rb:66:in `run'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.10.4/bin/chef-client:26:in `<top (required)>'
對不起,這個問題缺少很多信息。它與其他節點一起工作嗎?你可以通過瀏覽器訪問Chef服務器的Web界面嗎?它曾經工作過嗎?你在使用開源的廚師服務器嗎?您是否以任何方式調整了廚師服務器的配置'ssl_verify_mode'? – StephenKing
其他客戶的作品完美。我們有一個特定的客戶從廚師服務器下載了幾本食譜後返回這個錯誤。我不這麼認爲,問題在於廚師服務器。我沒有碰到廚師服務器中的任何ssl相關配置,al正在運行默認配置。是的,我們正在運行一個開源廚師服務器。我不是什麼讓你想到廚師服務器的角度。我的所有錯誤都發生在客戶端,因爲我的標題明確表示「廚師客戶端發出此錯誤」 – user88975
但它不清楚它是否與其他客戶端一起工作 - 我應該如何知道?因此,根據您的信息:特定客戶端的配置是否與其他客戶端的配置不同?所提到的'ssl_verify_mode'還是通過[sethvargo](http://stackoverflow.com/users/365738/sethvargo)幫助建議? – StephenKing