puppetdb Coult not retrieve facts [closed]
I have a new puppetserver and puppetdb on the same node.
I followed the instructions for puppetdb setup here: https://docs.puppet.com/puppetdb/4.0/...puppetmaster.html
I have also setup postgres backend as mentioned in the docs.
I have signed the certificates with
puppet cert --allow-dns-alt-names sign masternode.company.com puppetdb ssl-setup -f
I have restarted the puppet server after the changes were made.
1) Why is the facts not retrieved from puppetdb? 2) Why is the puppetdb dashboard not working? http://masternode.company.com:8080/pdb/dashboard/index.html 3) When we are installing the puppet server and puppet db for the first time, is it something that is missing in the documentation?
#sudo puppet agent -t Warning: Unable to fetch my node definition, but the agent run will continue: Warning: Error 500 on SERVER: Server Error: Could not retrieve facts for masternode.company.com: Failed to find facts from PuppetDB at masternode.company.com:8140: Failed to execute '/pdb/query/v4/nodes/ masternode.company.com/facts' on at least 1 of the following 'server_urls': https://masternode.company.com:8081 Info: Retrieving pluginfacts Info: Retrieving plugin Info: Loading facts Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Failed to execute '/pdb/cmd/v1? checksum=9a9040e8262d915c5b49bef7a71fe1f6d4ca0946&version=5&certname= masternode.company.com&command=replace_facts' on at least 1 of the following 'server_urls': https:// masternode.company.com:8081 Warning: Not using cache on failed catalog Error: Could not retrieve catalog; skipping run