Error trying to setup foreman-proxy with central foreman master

Your issues seem related to your previous posting:

where you are thinking that the “Foreman Smart-Proxy for Puppet” is a proxy for Puppet clients which then speaks to a Puppet Master.

I see you have a puppet client pointing at a Foreman Proxy as if the Foreman Proxy machine is running a puppetserver process and is acting as a Puppet Master.

[root@puppetclient ~]# egrep -v “^$|^#” /etc/puppetlabs/puppet/puppet.conf
server = foremanproxy.mydomain.com

Is your foremanproxy.mydomain.com running as a Puppet Master? I could be wrong but in my experience the Foreman Proxy for Puppet is a proxy for the Puppet Master to speak with the Foreman instance so that Foreman can know the Puppet Environments & Puppet Classes that the Puppet Master knows.

And I think @areyus answered this in: