- From: phil helm <
>
- Cc: "
" <
>
- Subject: [chef] Re: SSL error running workstation/client commands to hosted server
- Date: Fri, 9 Aug 2013 13:29:08 -0700 (PDT)
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:Cc:In-Reply-To:MIME-Version:Content-Type; b=tfRPeSdvBZqbI35x158ITzUL2DB99J5BH7UnP8BCW9eYGDimZMRLGhu+KwHKXrW7fSTrX2ZPr3Nv8QgHuFZTah2R6JcjhM19/zRb7rtPIF/pfdGjSgOVLI5beurfURYSpX3gNxgQHm16IlRd0FwterB06kpRETT+b7MDq8ta+Ok=;
Daniel,
>Does this happen consistently?
Yes. Its a hard failure.
>Can you re-run this with `-VV` ?
:/opt/chef/chef-repo/.chef# knife client list -V -V
DEBUG: Signing the request as philhelm
DEBUG: Sending HTTP Request via GET to
api.opscode.com:443/organizations/phils_hosted_chef_server/clients
/opt/chef/embedded/lib/ruby/1.9.1/net/http.rb:800:in `connect': Connection reset by peer - SSL_connect (Errno::ECONNRESET)
from /opt/chef/embedded/lib/ruby/1.9.1/net/http.rb:800:in `block in connect'
from /opt/chef/embedded/lib/ruby/1.9.1/timeout.rb:55:in `timeout'
from /opt/chef/embedded/lib/ruby/1.9.1/timeout.rb:100:in `timeout'
from /opt/chef/embedded/lib/ruby/1.9.1/net/http.rb:800:in `connect'
from /opt/chef/embedded/lib/ruby/1.9.1/net/http.rb:756:in `do_start'
from /opt/chef/embedded/lib/ruby/1.9.1/net/http.rb:745:in `start'
from
/opt/chef/embedded/lib/ruby/1.9.1/net/http.rb:1285:in `request'
from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/rest-client-1.6.7/lib/restclient/net_http_ext.rb:51:in `request'
from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/rest/rest_request.rb:99:in `block in call'
from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/rest/rest_request.rb:114:in `hide_net_http_bug'
from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/rest/rest_request.rb:98:in `call'
from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/rest.rb:169:in `block in raw_http_request'
from
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/rest.rb:289:in `retriable_rest_request'
from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/rest.rb:167:in `raw_http_request'
from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/rest.rb:161:in `api_request'
from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/rest.rb:102:in `get'
from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/api_client.rb:139:in `list'
from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/knife/client_list.rb:38:in `run'
from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/knife.rb:466:in
`run_with_pretty_exceptions'
from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/knife.rb:173:in `run'
from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/application/knife.rb:123:in `run'
from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/bin/knife:25:in `<top (required)>'
from /usr/bin/knife:23:in `load'
from /usr/bin/knife:23:in `<main>'
Lamont,
>Also, are you gem installing chef or using omnibus?
omnibus
>If you
install 11.6 with omnibus (and validate that ls -la `which knife`
is a symlink to omnibus) does it fix it?
:/opt/chef/chef-repo/.chef# ls -la `which knife`
lrwxrwxrwx 1 root root 19 Aug 8 08:24 /usr/bin/knife -> /opt/chef/bin/knife
> Are you using rbenv or
rvm?
I have no idea. Do you think thats related? how do i switch back and forth to test?
From: Daniel DeLeo <
>
To: phil helm <
>
Cc: "
" <
>
Sent: Friday, August 9, 2013 2:41 PM
Subject: Re: [chef] SSL error running workstation/client commands to hosted server
On Friday, August 9, 2013 at 10:33 AM, phil helm wrote:
Hi all,
I am having some trouble getting anything on my Ubuntu box to connect to my hosted chef server. What I am trying to do (I think) is to set up a workstation and/or a chef client on this same machine (which, I guess is ok?). One example that produces the failure is 'knife client list' which returns:
:/opt/chef/chef-repo# knife client list
ERROR: Errno::ECONNRESET: Connection reset by peer - SSL_connect
Does this happen consistently?
Can you re-run this with `-VV` ?
--
Daniel DeLeo
Archive powered by MHonArc 2.6.16.