Puppetdb - Connection timed out

asked 2015-01-06 09:12:10 -0600

Gibbs gravatar image

updated 2015-01-06 09:12:40 -0600

When running a puppet update the database times out with the following message:

Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not retrieve resources from the PuppetDB at server.tld:8081: Connection timed out - connect(2) on node server.tld
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run

Checking the puppetdb log a connection is clearly being made:

2015-01-06 14:57:23,990 INFO  [c.p.p.command] [70065055-a004-44f6-a7c7-81051e693750] [replace facts] server.tld

The database is running and the load is acceptable. This is a pretty default install so not much has been configured.

The PuppetDB docs have a conn-keep-alive but it defaults to 45 minutes - the timeout here happens after about 5 minutes.

Is this an issue on the master (which resides on a different server)?

edit retag flag offensive close merge delete


I think this is a DNS issue - it appears to be working at the moment without any changes.

Gibbs gravatar imageGibbs ( 2015-01-07 05:08:33 -0600 )edit