Puppetdb - Connection timed out
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)?