Ken... you are a genius! I, for some reason, had entered the PuppetDB's 
FQDN in there. The manual, found 
here<http://docs.puppetlabs.com/puppetdb/latest/configure.html#jetty-http-settings>,
 
reads:

host

This sets the hostname to listen on for unencrypted HTTP traffic. If not 
> supplied, we bind to localhost, which will reject connections from 
> anywhere but the PuppetDB server itself. To listen on all available 
> interfaces, use 0.0.0.0.

...

> ssl-host

This sets the hostname to listen on for encrypted HTTPS traffic. If not 
> supplied, we bind to localhost. To listen on all available interfaces, 
> use 0.0.0.0.


It'd probably be helpful to incorporate Ken's magical words "These should 
both be set to the *IP address* you want PuppetDB to listen on...." 
 (emphasis added.) Just a thought!

Thanks, again!

-Pablo

On Monday, August 5, 2013 2:41:13 PM UTC-5, Ken Barber wrote:
>
> Check your /etc/puppetdb/conf.d/jetty.ini file for the configuration 
> items ssl-host & host. These should both be set to the IP address you 
> want PuppetDB to listen on, or 0.0.0.0 for all IP addresses. This is 
> probably set to 127.0.0.1 or something now, which might explain why 
> PuppetDB is not listening on that external IP and port. 
>
> ken. 
>
> On Mon, Aug 5, 2013 at 8:34 PM, Pablo Carranza 
> <[email protected]<javascript:>> 
> wrote: 
> > Greetings: 
> > 
> > I'm having trouble connecting to PuppetDB. When I execute sudo puppet 
> agent 
> > --test on a client node, I receive the following: 
> > 
> > Warning: Unable to fetch my node definition, but the agent run will 
> > continue: 
> > Warning: Error 400 on SERVER: Could not retrieve facts for 
> > web1.mydomain.tld: Failed to find facts from PuppetDB at 
> > db1.mydomain.tld:8081: Connection refused - connect(2) 
> > Info: Retrieving plugin 
> > Info: Loading facts in /var/lib/puppet/lib/facter/concat_basedir.rb 
> > Error: Could not retrieve catalog from remote server: Error 400 on 
> SERVER: 
> > Failed to submit 'replace facts' command for web1.mydomain.tld to 
> PuppetDB 
> > at db1.mydomain.tld:8081: Connection refused - connect(2) 
> > Warning: Not using cache on failed catalog 
> > Error: Could not retrieve catalog; skipping run 
> > 
> > 
> > From my home computer (WinXP), I opened a command prompt and was 
> > unsuccessful in establishing a telnet connection; in trying to establish 
> one 
> > via both the PuppetDB's FQDN and IP address. 
> > 
> > Other than the UFW on db1, what else could be blocking access to port 
> 8081? 
> > 
> > -- 
> > You received this message because you are subscribed to the Google 
> Groups 
> > "Puppet Users" group. 
> > To unsubscribe from this group and stop receiving emails from it, send 
> an 
> > email to [email protected] <javascript:>. 
> > To post to this group, send email to 
> > [email protected]<javascript:>. 
>
> > Visit this group at http://groups.google.com/group/puppet-users. 
> > For more options, visit https://groups.google.com/groups/opt_out. 
> > 
> > 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to