Getting an error while configuring smart proxy

Problem: getting an error while configuring smart proxy

Expected outcome: configuration to be successful

Foreman and Proxy versions: 3.2 and proxy 3.3

Foreman and Proxy plugin versions: 3.2 and proxy 3.3

Distribution and version:

Other relevant data:

2022-06-16 09:20:39 [ERROR ] [configure] Error making POST request to Foreman at https://cent72nictest.patching.ore-us.net/api/v2/smart_proxies: Unable to communicate with the proxy: ERF12-2530 [ProxyAPI::ProxyException]: Unable to detect features ([Net::HTTPServerException]: 403 “Forbidden”) for proxy https://ore21co7fmd03.patching.ore-us.net:9090/v2/features Please check the proxy is configured and running on the host.
2022-06-16 09:20:39 [ERROR ] [configure] /Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[ore21co7fmd03.patching.ore-us.net]/ensure: change from ‘absent’ to ‘present’ failed: Error making POST request to Foreman at https://cent72nictest.patching.ore-us.net/api/v2/smart_proxies: Unable to communicate with the proxy: ERF12-2530 [ProxyAPI::ProxyException]: Unable to detect features ([Net::HTTPServerException]: 403 “Forbidden”) for proxy https://ore21co7fmd03.patching.ore-us.net:9090/v2/features Please check the proxy is configured and running on the host.
2022-06-16 09:20:40 [NOTICE] [configure] System configuration has finished.

There were errors detected during install.
Please address the errors and re-run the installer to ensure the system is properly configured.
Failing to do so is likely to result in broken functionality.

issue resolved by adding the smart proxy in http_proxy_except_list at foreman server

hammer settings set --name=http_proxy_except_list --value=[smart_proxy_fqdn]

This is the same error i am getting for the same versions. Are you sure there wasn’t something else you did to correct this? I tried this solution as well and got the same error.