[chef] Re: when chef-server-ctl test


Chronological Thread 
  • From: Daniel Condomitti < >
  • To:
  • Subject: [chef] Re: <Errno::ECONNRESET: Connection reset by peer - SSL_connect> when chef-server-ctl test
  • Date: Thu, 27 Jun 2013 10:41:06 -0700

Try `openssl s_client -connect ip-10-0-1-86:443` and curl http://ip-10-0-1-86:443/clients' to see if it's actually just serving HTTP (non-TLS/SSL traffic) on port 443.

On Thursday, June 27, 2013 at 12:49 AM, Dmitrii Golub wrote:

Hello

After successfull chef installation on AWS Ubuntu 12.04 (default instance), chef version chef-server_11.0.8-1.ubuntu.12.04_amd64.deb
When I run 
sudo chef-server-ctl test

Receive error <Errno::ECONNRESET: Connection reset by peer - SSL_connect> (full error listing: https://gist.github.com/Houdini/5868356)
I noticed that error is in file 
/opt/chef-server/embedded/service/chef-pedant/lib/pedant/opensource/platform.rb:81:in `create_client'
I added puts there, and url is "https://ip-10-0-1-86/clients" that actually is localhost.

And really:
curl: (35) Unknown SSL protocol error in connection to ip-10-0-1-86:443

Any ideas how to fix it?

Thanks




Archive powered by MHonArc 2.6.16.

§