Can't register new clients katello 3.16.1.2

Problem:
Remote server error. Please check the connection details, or see /var/log/rhsm/rhsm.log for more information.
Expected outcome:

Foreman and Proxy versions:
Foreman 2.1.4 foreman-proxy-2.1.4
Foreman and Proxy plugin versions:

Distribution and version:
RHEL 7.9
Other relevant data:
Error on client side when trying to register it on katello

2020-11-07 21:38:50,707 [INFO] subscription-manager:15614:MainThread @connection.py:905 - Connection built: host=myhost port=443 handler=/rhsm auth=identity_cert ca_dir=/etc/rhsm/ca/ insecure=False
2020-11-07 21:38:50,721 [INFO] subscription-manager:15614:MainThread @connection.py:905 - Connection built: host=myhost port=443 handler=/rhsm auth=identity_cert ca_dir=/etc/rhsm/ca/ insecure=False
2020-11-07 21:38:50,722 [INFO] subscription-manager:15614:MainThread @connection.py:905 - Connection built: host=myhost port=443 handler=/rhsm auth=none
2020-11-07 21:38:50,756 [INFO] subscription-manager:15614:MainThread @connection.py:905 - Connection built: host=myhost port=443 handler=/rhsm auth=none
2020-11-07 21:39:51,400 [ERROR] subscription-manager:15614:MainThread @connection.py:643 - Response: 502
2020-11-07 21:39:51,400 [ERROR] subscription-manager:15614:MainThread @connection.py:644 - JSON parsing error: No JSON object could be decoded
2020-11-07 21:39:51,401 [ERROR] subscription-manager:15614:MainThread @managercli.py:217 - Error during registration: Server error attempting a POST to /rhsm/consumers?owner=Operations&activation_keys=Rhel7 returned status 502
2020-11-07 21:39:51,401 [ERROR] subscription-manager:15614:MainThread @managercli.py:218 - Server error attempting a POST to /rhsm/consumers?owner=Operations&activation_keys=Rhel7 returned status 502
Traceback (most recent call last):
File “/usr/lib64/python2.7/site-packages/subscription_manager/managercli.py”, line 1384, in _do_command
type=self.options.consumertype
File “/usr/lib64/python2.7/site-packages/rhsmlib/services/register.py”, line 91, in register
usage=usage
File “/usr/lib64/python2.7/site-packages/rhsm/connection.py”, line 1021, in registerConsumer
return self.conn.request_post(url, params)
File “/usr/lib64/python2.7/site-packages/rhsm/connection.py”, line 729, in request_post
return self._request(“POST”, method, params, headers=headers)
File “/usr/lib64/python2.7/site-packages/rhsm/connection.py”, line 752, in _request
info=info, headers=headers)
File “/usr/lib64/python2.7/site-packages/rhsm/connection.py”, line 627, in _request
self.validateResponse(result, request_type, handler)
File “/usr/lib64/python2.7/site-packages/rhsm/connection.py”, line 695, in validateResponse
handler=handler)

Virt-who plugin in use and working:

2020-11-07 21:40:13,299 [INFO] @virt.py:651 - Hosts-to-guests mapping for config “virt-who-config-1”: 16 hypervisors and 457 guests found
2020-11-07 21:40:13,299 [INFO] @virt.py:682 - Sending updated Host-to-guest mapping to “Operations” including 16 hypervisors and 457 guests
2020-11-07 21:40:13,301 [INFO] @subscriptionmanager.py:156 - X-Correlation-ID: b10b4b4a095f4db89c8abf365a861cc8
2020-11-07 21:40:13,307 [INFO] @virt.py:651 - Hosts-to-guests mapping for config “virt-who-config-2”: 6 hypervisors and 160 guests found
2020-11-07 21:40:13,307 [INFO] @virt.py:682 - Sending updated Host-to-guest mapping to “Operations” including 6 hypervisors and 160 guests
2020-11-07 21:40:13,309 [INFO] @subscriptionmanager.py:156 - X-Correlation-ID: 6098e7edbfa94706bd89f0a849dbffe2

The problem started with this issue:

Foreman and Proxy plugin versions:
foreman-tasks 2.0.2
foreman_ansible 5.1.3
foreman_docker 5.0.0 ( not in use )
foreman_remote_execution 3.3.7
foreman_virt_who_configure 0.5.2
katello 3.16.1.2

I’m seeing the same issue with new server registrations. Did you happen to find a solution?

Foreman Server:
foreman-release 2.1.2
katello 3.16.0-1

Client:
CentOS 7.9
subscription-manager 1.24.42-1

No didn’t find the solution, i created it from scratch in version 3.14, that version is stable and working for me. Tried 3.15,3.16 and 3.17 none of that versions worked in my case.