conserver icon indicating copy to clipboard operation
conserver copied to clipboard

"console: FileRead(): SSL error on fd 3" on Rocky Linux

Open UweSauter opened this issue 3 years ago • 7 comments

On a recently fresh installation of Rocky Linux I often get disconnected like:

# console n061901
[Enter `^Ec?' for help]
console: FileRead(): SSL error on fd 3
# echo $?
0

This is both the case with 8.2.2-4 provided by EPEL as well as a self-compiled 8.2.6 from a customized SPEC file.

Currently, this version of OpenSSL is installed:

# yum list installed | grep openssl
openssl.x86_64                              1:1.1.1k-5.el8_5                       @baseos       
openssl-devel.x86_64                        1:1.1.1k-5.el8_5                       @baseos-85    
openssl-libs.x86_64                         1:1.1.1k-5.el8_5                       @baseos       
openssl-pkcs11.x86_64                       0.4.10-2.el8                           @baseos

Disabling SSL support during compilation only removes the error message but still disconnects:

# console n061901
[Enter `^Ec?' for help]
# echo $?
0

Any thoughts where to start debugging? If necessary I can share my configuration.

conserver.spec.txt conserver-nokrb-noopenssl.spec.txt

UweSauter avatar Jan 03 '22 08:01 UweSauter

More information: If I run ipmiconsole -u ADMIN -p PASSWORD -h n061901 the disruption of the connection does not happen.

UweSauter avatar Jan 11 '22 13:01 UweSauter

Well, now I also get [-- Conserver reconfigured - console has been (re)moved --] instead of console: FileRead(): SSL error on fd 3

UweSauter avatar Jan 24 '22 13:01 UweSauter

We have the exact same behaviour on Rocky Linux 8

write(2, "FileRead(): SSL error on fd 3", 29FileRead(): SSL error on fd 3) = 29

faxm0dem avatar Sep 07 '23 11:09 faxm0dem

@UweSauter do you still see the issue ?

faxm0dem avatar Dec 06 '23 16:12 faxm0dem

@faxm0dem Yes, I do. Currently I have installed:

# yum list installed | grep -e conserver -e openssl
conserver.x86_64                            8.2.7-1.el8                              @@commandline 
conserver-client.x86_64                     8.2.7-1.el8                              @@commandline 
openssl.x86_64                              1:1.1.1k-9.el8_7                         @baseos-87    
openssl-devel.x86_64                        1:1.1.1k-9.el8_7                         @baseos-87    
openssl-libs.x86_64                         1:1.1.1k-9.el8_7                         @baseos       
openssl-pkcs11.x86_64                       0.4.10-3.el8                             @baseos-88

The disconnects happen most often during the BIOS phase of a server reboot up until the login prompt is shown. Could it be that some special symbols transferred via IPMI and then sent through the conserver <-> console connection trigger this?

EDIT: typo

UweSauter avatar Dec 06 '23 18:12 UweSauter

I get disconnects all the time, but at random times. For instance, I just up a console and afer a few seconds I get a disconnect. 1701946042-rmd

faxm0dem avatar Dec 07 '23 14:12 faxm0dem

This also happens in RHEL8.

However, RHEL9 works just fine !

faxm0dem avatar Apr 03 '24 10:04 faxm0dem