Gofer.messaging.adapter.proton.connection:87 - open: URL: amqps://foreman.example.com:5647

Problem:

[INFO][worker-0] gofer.messaging.adapter.proton.connection:87 - open: URL: amqps://foreman.example.com:5647| SSL: ca: /etc/rhsm/ca/katello-default-ca.pem|key: None|certificate: /etc/pki/consumer/bundle.pem|host-validation: None

[ERROR][worker-0] gofer.messaging.adapter.connect:33 - connect: proton+amqps://foreman.example.com:5647, failed:  Connection amqps://foreman.itcbd.com:5647 disconnected: Condition('amqp:connection amqps://foreman.example.com:5647 disconnected: Condition('amqp:connection:framing-error', 'SSL Failure: error:1408F10B:SSL routines:ssl3_get_record:wrong

Then I checked foreman server and found 5647 is not up, after found that this port is depend on qpid-dispatch-router rpm package. So after installing that package its running on 8672 & 5672 port. Though from config file /etc/qpid-dispatch/qdrouterd.conf , changed port 8672 to 5647 but till now not working.

Expected outcome:

Foreman and Proxy versions:

Foreman and Proxy plugin versions:

Distribution and version:

#Foreman Server:
CentOS Linux release 8.5.2111
foreman-3.0.1-1.el8.noarch
katello-4.2.1-1.el8.noarch
qpid-dispatch-router-1.14.0-1.el8.x86_64
qpid-dispatch-tools-1.14.0-1.el8.noarch

Other relevant data:

With Katello 4.2, the katello-agent infrastrucutre (qpid and qpid-dispatch) are not enabled by default and need to be enabled if wanting to use it.

To enable it and ensure everything is enabled properly run:

foreman-installer --foreman-proxy-content-enable-katello-agent=true 

However, I would ensure you have looked into Remote Execution first as it will replace katello-agent.