PuppetDB Connection Failures

1,520 views
Skip to first unread message

Worker Bee

unread,
Oct 17, 2012, 4:41:59 PM10/17/12
to puppet...@googlegroups.com
Hi Everyone;

I am now getting a puppetdb connection error when I attempt to run
#puppet agent --test

Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Failed to submit 'replace facts' command for puppetdev to PuppetDB at puppetdev:8081: Connection refused - connect(2)


puppet.conf
[master]
storeconfigs = true
storeconfigs_backend = puppetdb


puppetdb.conf
[main]
server = puppetdev04
port = 8081
JAVA_ARGS="-Xmx192m"

I am running 3.0 open source with passenger....
Using postgres

I have the puppetdb daemin running

Any advice, as always, would be greatly appreciated!


Bee

Chris Price

unread,
Oct 18, 2012, 12:33:24 PM10/18/12
to puppet...@googlegroups.com
Hello Bee,

This message is often the result of one of the following:

1) Firewall blocking the puppetdb port
2) DNS issue with the hostname specified in your puppetdb.conf
3) DNS issue with the ssl-host specified in your jetty.ini on the puppetdb server

Are you able to connect (e.g. via telnet) from the master machine to port 8081 on the puppetdb machine?

Please feel free to jump on the #puppet channel in Freenode if you need rapid assistance!  We'll be happy to help.

Thanks
Chris

Jacqueline Atkins

unread,
Oct 18, 2012, 1:43:18 PM10/18/12
to puppet...@googlegroups.com
Thanks so much!
 
I actually got to the bottom of the issue late last night.  It was an issue with how I had configured postgres.
 
Thanks everyone!


 

--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/DwtFZvuAGtcJ.

To post to this group, send email to puppet...@googlegroups.com.
To unsubscribe from this group, send email to puppet-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.

Reply all
Reply to author
Forward
0 new messages