New Install proxy SSL issues

Problem: I installed Foreman 1.21.3 yesterday using the steps on the foreman website. I used the default install options. After the install I started both foreman and foreman-proxy. I was able to log in and add a smart proxy for the localhost to import puppet classes. When i try to import the puppet class I get the following error:

ERF12-2749 [ProxyAPI::ProxyException]: Unable to get environments from Puppet ([Errno::ECONNREFUSED]: Failed to open TCP connection to rhadoopappp02:8443 (Connection refused - connect(2) for “rhadoopappp02” port 8443)) for proxy https://rhadoopappp02:8443/puppet

When I look at the smart Proxies section under infrastructure, I see a X under status with the following message :

Failure: ERF50-5345 [Foreman::WrappedException]: Unable to connect ([ProxyAPI::ProxyException]: ERF12-7885 [ProxyAPI::ProxyException]: Unable to fetch logs ([Errno::ECONNREFUSED]: Failed to open TCP connection to rhadoopappp02:8443 (Connection refused - connect(2) for “rhadoopappp02” port 8443)) for proxy https://rhadoopappp02:8443/logs)

There are other messages i assume are related to this message in various parts of the smart proxies screen like unable to get puppetCA etc. I did not change any of the certs, their locations, or install anything on this server other than the foreman installer.

Expected outcome: SSL connection to succeed

Foreman and Proxy versions: Foreman 1.21.3 (i assume the proxy is the same since it was installed by the foreman installer? I dont know where to find this.)

Foreman and Proxy plugin versions: No plugins at this time.

Other relevant data:
[e.g. logs from Foreman and/or the Proxy, modified templates, commands issued, etc]
(for logs, surround with three back-ticks to get proper formatting, e.g.)


Not sure what all is needed to help troubleshoot this? i am happy to provide whatever is needed. Please note that i am only 2 days into this and i have googled a bunch of articles, but I still do not know 100% where everything is located on the server.

The server is a fresh install of Centos 7.6 and does not have an active firewall or selinux at this time.

1 Like

I still havnt figured this out. Any assistance would be very much appreciated since I cant really use this tool otherwise.

I changed the proxy port to 8140 and i am at least getting a HTTP Error 404 now for the /logs directory but cant find any information as to if this is even the right port to be using. With this new port my error inside foreman becomes the following:

Unable to communicate with the proxy: ERF12-2530 [ProxyAPI::ProxyException]: Unable to detect features ([RestClient::NotFound]: 404 Not Found) for proxy and Please check the proxy is configured and running on the host.