Foreman fresh installation issue on Foreman proxy

After a fresh  installation of Foreman, I got another weird error while try to add a host to foreman:

# puppet agent --test
Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Failed when searching for node Failed to find via exec: Execution of '/etc/puppet/node.rb' returned 1:
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run

It turns out that issue is because of foreman proxy that it has not been created during installation.

So need to create it manually. In foreman GUI:

Infrastructure > Smart proxies > add new proxy

or if there is any exist edit it and correct the entry of your proxy FQDN. It's something like

And again, after try to add new proxy, yet another bug: 
Unable to communicate with the proxy: ERF12-2530 [ProxyAPI::ProxyException]: Unable to detect features ([RestClient::RequestTimeout]: Request Timeout for proxy Please check the proxy is configured and running on the host

Now solution for this error is to increase the proxy request timeout value from 0 to 60:

Administer > Settings > General > proxy_request_timeout 0 -> 60


  1. Thank you very much for writing such an interesting article on this topic. This has really made me think and I hope to read more. 1337x

  2. Remarkable article, it is particularly useful! I quietly began in this, and I'm becoming more acquainted with it better! Delights, keep doing more and extra impressive! 1337x

  3. A proxy is any software that supports the http proxy protocols. In it's simplest form a proxy is a relay for data between two computers. A proxy is a intermediate server that forwards information between to points. torrentz2


Post a Comment

Popular posts from this blog

Linux and AIX user non expiry and force password change at first login

Rebuild your new Yum repository after changing the packages

Running Docker Wildfly/JBoss Application Server in Debug mode via Eclipse