ERROR: Errno::ECONNRESET: Error connecting to https://127.0.0.1/users



  • Error: ERROR: Errno::ECONNRESET: Error connecting to https://127.0.0.1/users/ - Connection reset by peer - SSL_connect

    If during a standalone installation you were trying to create the admin use and run into these errors.

    # chef-server-ctl user-create adminuser Admin User [email protected] 'securepw' --filename /chef/home/chefadmin.pem
    ERROR: Error connecting to https://127.0.0.1/users/, retry 1/5
    ERROR: Error connecting to https://127.0.0.1/users/, retry 2/5
    ERROR: Error connecting to https://127.0.0.1/users/, retry 3/5
    ERROR: Error connecting to https://127.0.0.1/users/, retry 4/5
    ERROR: Error connecting to https://127.0.0.1/users/, retry 5/5
    ERROR: Errno::ECONNRESET: Error connecting to https://127.0.0.1/users/ - Connection reset by peer - SSL_connect
    

    Make sure nothing is using the ports 80 or 443, Go to the browser and accept the certificate, for demo purposes only, and then try the command again.


Log in to reply
 

© Lightnetics 2024