It's very strange: Until I run puppetdb ssl-setup -f, I get 

*Error: Unable to connect to puppetdb server (puppet.internal:8081): [404] 
> Not Found*
>
but after that, I get

Notice: Unable to connect to puppetdb server (puppet.internal:8081): 
> #<Errno::ECONNREFUSED: Connection refused - connect(2)>
>


Since, I increased the timeout to 60, it changed into this:

Info: Class[Puppetdb::Server::Jetty_ini]: Scheduling refresh of 
> Service[puppetdb]
> Notice: /Stage[main]/Puppetdb::Server/Service[puppetdb]: Triggered 
> 'refresh' from 1 events
> Notice: Unable to connect to puppetdb server (puppet.internal:8081): 
> #<Errno::ECONNREFUSED: Connection refused - connect(2)>
> Notice: Failed to connect to puppetdb; sleeping 2 seconds before retry
> Notice: Unable to connect to puppetdb server (puppet.internal:8081): 
> #<Errno::ECONNREFUSED: Connection refused - connect(2)>
> Notice: Failed to connect to puppetdb; sleeping 2 seconds before retry
> Notice: Unable to connect to puppetdb server (puppet.internal:8081): 
> #<Errno::ECONNREFUSED: Connection refused - connect(2)>
> Notice: Failed to connect to puppetdb; sleeping 2 seconds before retry
> Notice: Unable to connect to puppetdb server (puppet.internal:8081): 
> #<Errno::ECONNREFUSED: Connection refused - connect(2)>
> Notice: Failed to connect to puppetdb; sleeping 2 seconds before retry
> Notice: Unable to connect to puppetdb server (puppet.internal:8081): 
> #<Errno::ECONNREFUSED: Connection refused - connect(2)>
> Notice: Failed to connect to puppetdb; sleeping 2 seconds before retry
> Notice: Unable to connect to puppetdb server (puppet.internal:8081): 
> #<Errno::ECONNREFUSED: Connection refused - connect(2)>
> Notice: Failed to connect to puppetdb; sleeping 2 seconds before retry
> Notice: Unable to connect to puppetdb server (puppet.internal:8081): 
> #<Errno::ECONNREFUSED: Connection refused - connect(2)>
> Notice: Failed to connect to puppetdb; sleeping 2 seconds before retry
> Notice: Unable to connect to puppetdb server (puppet.internal:8081): 
> #<Errno::ECONNREFUSED: Connection refused - connect(2)>
> Notice: Failed to connect to puppetdb; sleeping 2 seconds before retry
> Notice: Unable to connect to puppetdb server (puppet.internal:8081): 
> #<Errno::ECONNREFUSED: Connection refused - connect(2)>
> Notice: Failed to connect to puppetdb; sleeping 2 seconds before retry
> Notice: Unable to connect to puppetdb server (puppet.internal:8081): 
> #<Errno::ECONNREFUSED: Connection refused - connect(2)>
> Notice: Failed to connect to puppetdb; sleeping 2 seconds before retry
> Notice: Unable to connect to puppetdb server (puppet.internal:8081): 
> #<Errno::ECONNREFUSED: Connection refused - connect(2)>
> Notice: Failed to connect to puppetdb; sleeping 2 seconds before retry
> Error: Unable to connect to puppetdb server (puppet.internal:8081): [404] 
> Not Found
> Notice: Failed to connect to puppetdb; sleeping 2 seconds before retry
> Error: Unable to connect to puppetdb server (puppet.internal:8081): [404] 
> Not Found
> Notice: Failed to connect to puppetdb; sleeping 2 seconds before retry
> .....
> .....
> Error: Unable to connect to puppetdb server (puppet.internal:8081): [404] 
> Not Found
> Notice: Failed to connect to puppetdb; sleeping 2 seconds before retry
> Error: Unable to connect to puppetdb server (puppet.internal:8081): [404] 
> Not Found
> Notice: Failed to connect to puppetdb within timeout window of 60 seconds; 
> giving up.
> Error: Unable to connect to puppetdb server! (puppet.internal:8081)
> Error: 
> /Stage[main]/Puppetdb::Master::Config/Puppetdb_conn_validator[puppetdb_conn]/ensure:
>  
> change from absent to present failed: Unable to connect to puppetdb server! 
> (puppet.internal:8081) 
>


I'm  rebuilding the server now. 

-- 
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/a3fd3359-c160-43fa-9f52-9d0615e32214%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to