Foreman 3.2 read operation timed out error


can’t un-register or register server to katello 3.2 , got “The read operation timed out” .

root@server1 > subscription-manager unregister
Unregistering from:
Unable to verify server’s identity: (‘The read operation timed out’,)

root@server2> subscription-manager remove --all
Unable to verify server’s identity: (‘The read operation timed out’,)

after I remove the host from katello ,

root@server2 > subscription-manager register --org=“example” --activationkey=“CentOS-7-prod” --force
Unregistering from:
HTTP error code 500: undefined method `host_id’ for nil:NilClass

Expected outcome:
should be able to un-register and register

Foreman and Proxy versions:
root@kat01p> rpm -q foreman katello

Foreman and Proxy plugin versions:

Distribution and version:

root@kat01p > cat /etc/redhat-release
CentOS Linux release 7.9.2009 (Core)
root@kat01p > uname -r

Other relevant data:

2022-03-24 04:04:22,971 [INFO] subscription-manager:81904:MainThread - Connection built: port=443 handler=/rhsm auth=none
2022-03-24 04:07:23,150 [ERROR] subscription-manager:81904:MainThread - Unregister failed
2022-03-24 04:07:23,150 [ERROR] subscription-manager:81904:MainThread - ('The read operation timed out',)
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/subscription_manager/", line 1573, in _do_command
  File "/usr/lib64/python2.7/site-packages/rhsmlib/services/", line 54, in unregister
  File "/usr/lib64/python2.7/site-packages/rhsm/", line 1287, in unregisterConsumer
    return self.conn.request_delete(method)
  File "/usr/lib64/python2.7/site-packages/rhsm/", line 742, in request_delete
    return self._request("DELETE", method, params, headers=headers)
  File "/usr/lib64/python2.7/site-packages/rhsm/", line 756, in _request
    info=info, headers=headers)
  File "/usr/lib64/python2.7/site-packages/rhsm/", line 607, in _request
    response = conn.getresponse()
  File "/usr/lib64/python2.7/", line 1128, in getresponse
  File "/usr/lib64/python2.7/", line 453, in begin
    version, status, reason = self._read_status()
  File "/usr/lib64/python2.7/", line 409, in _read_status
    line = self.fp.readline(_MAXLINE + 1)
  File "/usr/lib64/python2.7/", line 476, in readline
    data = self._sock.recv(self._rbufsize)
  File "/usr/lib64/python2.7/", line 757, in recv
  File "/usr/lib64/python2.7/", line 651, in read
    v = or 1024)
SSLError: ('The read operation timed out',)

sorry, issue was caused by disk getting full on the katello server, after disk extension it’s fixed.