No issue with connection to puppetdb on port 8081. Overall connectivity 
looks good.
 
[root@hostname conf.d]# telnet puppetdb 8081
Trying XXX.XXX.XXX.XXX...
Connected to puppetdb.
Escape character is '^]'.
 
conf.d]# netstat -tpane|grep 80
tcp        0      0 127.0.0.1:5432              127.0.0.1:58512             
ESTABLISHED 26         126802     19611/postgres
tcp        0      0 ::ffff:172.16.43.151:8080   :::*                        
LISTEN      496        126760     19343/java
tcp        0      0 :::80                       :::*                        
LISTEN      0          12601      2537/httpd
tcp        0      0 :::8081                     :::*                        
LISTEN      496        126765     19343/java
tcp        0      0 ::ffff:127.0.0.1:58512      ::ffff:127.0.0.1:5432       
ESTABLISHED 496        126801     19343/java
tcp        0      0 ::ffff:172.16.43.151:8081   ::ffff:172.16.43.151:33812  
TIME_WAIT   0          0          -
 
I read about using this whitelist.txt file to resolve the 'replace facts' 
 issue, but that does not seem to apply or work.
from /etc/puppetdb/conf.d/jetty.ini
 
certificate-whitelist = /etc/puppetdb/whitelist.txt
 
So my only remaining issue is reolving why it's throwing this error.

On Tuesday, June 10, 2014 4:18:23 PM UTC-4, GregC wrote:

> I cannot get around the problem of connecting my Puppet Master 3.6 to 
> PuppetDB 2.0.1 THis is the opensource version.
>  
>  I installed the puppet and puppetdb from rpm packages.
> I continually get this error: 
>  
> Warning: Unable to fetch my node definition, but the agent run will 
> continue:
> Warning: Error 400 on SERVER: Could not retrieve facts for xxx.com: 
> Failed to submit 'replace facts' command for xxx.com to PuppetDB at 
> xxx.com:8081: Connection refused - connect(2)
>  
> I've done all of the ssl-setup steps but no matter what I cannot get it to 
> connect.
> Any pointers would be appreciated,
>  
> Also I'm a bit confused on the environment settings. seems no matter what 
> I do the Puppet Master wants to have an environment setup, IS THERE ANYWAY 
> TO DIABLE it? which I have an environments/production directory with the 
> mani
>  
> Here is the output of my error, is there anyway to disable or work around 
> this issue.
>  
> 2014-06-10 16:16:58] 172.16.43.151 - - [10/Jun/2014:16:16:58 EDT] "GET 
> /production/node/node.com? HTTP/1.1" 400 230
> [2014-06-10 16:16:58] - -> /production/node/node.com?
>

-- 
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 puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/57b00c98-6fd2-4bab-8a9d-bd56ace35ce3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to