Root cause: Failed to open TCP connection to puppet:8140 (getaddrinfo: Name or service not known



  • Full Error:

    Fatal error when running action 'list'
      Error: Failed connecting to https://puppet:8140/puppet-ca/v1/certificate_statuses/any_key
      Root cause: Failed to open TCP connection to puppet:8140 (getaddrinfo: Name or service not known)
    

    Try to get a list of certificates and received this error.

    $ sudo puppetserver ca list
    Fatal error when running action 'list'
      Error: Failed connecting to https://puppet:8140/puppet-ca/v1/certificate_statuses/any_key
      Root cause: Failed to open TCP connection to puppet:8140 (getaddrinfo: Name or service not known)
    

    This means it cannot find resolve your puppet hostname. Add it to local host file or DNS.


Log in to reply
 

© Lightnetics 2020