AlmaLinux 9 Subscription-Manager cannot register


we run a Foreman 3.6 with Katello 4.8.
We just want to migrate our systems to Alma Linux 9.2 and have created a template in VMware for this.
When registering via the generated curl we get back a "Connection error: Broken pipe (error code 32).
Time synchronization and certficates are working without errors.

The host object is displayed under All Hosts, but no repositories are assigned to the host and are not displayed on the system.

Alma Linux: 9.2
Kernel: 5.14.0-254.11.1.el9:9.x86_64

Here is the message in the “/var/log/rhsm/rhsm.log”

[ERROR] subscription-manager:199196:MainThread - Error during registration: [Errno 32] Broken pipe
[ERROR] subscription-manager:199196:MainThread - [Errno 32] Broken pipe
Traceback (most recent call last):
File "/usr/lib64/python3.9/site-packages/subscription_manager/cli_command/", line 351, in _do_command
consumer = service.register(
File "/usr/lib64/python3.9/site-packages/rhsmlib/services/", line 133, in register
File "/usr/lib64/python3.9/site-packages/subscription_manager/", line 171, in close_all_connections
File "/usr/lib64/python3.9/site-packages/rhsm/", line 675, in close_connection
File "/usr/lib64/python3.9/", line 1286, in unwrap
s = self._sslobj.shutdown()
BrokenPipeError: [Errno 32] Broken pipe

Can everyone help me?

Hi @Andreas.M ,

Any proxies that could be causing connection issues to the Foreman instance? Since the machine itself pops up in Foreman I’m assuming communication is fine. We’d need to try testing Alma 9 registration on our side to see if it can be reproduced.