AlmaLinux 9 Subscription-Manager cannot register

Hello,

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.

Versions:
Alma Linux: 9.2
Kernel: 5.14.0-254.11.1.el9:9.x86_64
Subscription-Manager 1.29.33.1

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

[ERROR] subscription-manager:199196:MainThread @cli.py:70 - Error during registration: [Errno 32] Broken pipe
[ERROR] subscription-manager:199196:MainThread @cli.py:71 - [Errno 32] Broken pipe
Traceback (most recent call last):
File "/usr/lib64/python3.9/site-packages/subscription_manager/cli_command/register.py", line 351, in _do_command
consumer = service.register(
File "/usr/lib64/python3.9/site-packages/rhsmlib/services/register.py", line 133, in register
cp_provider.close_all_connections()
File "/usr/lib64/python3.9/site-packages/subscription_manager/cp_provider.py", line 171, in close_all_connections
self.consumer_auth_cp.conn.close_connection()
File "/usr/lib64/python3.9/site-packages/rhsm/connection.py", line 675, in close_connection
self.__conn.sock.unwrap()
File "/usr/lib64/python3.9/ssl.py", 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.