-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SSLException: closing inbound before receiving peer's close_notify #181
Comments
Hi! I believe this is related to a bad interaction between a Linstor Satellites SSL connection and the container livenessprobe. Looks like the Java 11 SSL implementation throws this exception rather often if the client just opens a connection and closes it again. Not really sure what can be done there. You can open an issue here, I guess that is something that needs to be fixed upstream.
You probably need to look at |
Thanks for fast response, @WanzenBug.
May be this is the reason of Java 11 behaviour and if we change it to HTTPS, everything will be fine.
|
Unfortunatly this will not work, as the satellites are not using HTTP(S) as transport protocol but rather a ProtoBuf based RPC. So the TCP probe is the best thing we got :-/ |
I was finding the same messages and I also needed a livenessProbe, so that satellites can restart and reconnect automatically. For now, and until we find a better solution, I'm testing this sketchy probe:
I don't like it, but so far it's proven very useful, because it detects when the satellite is crashed and not connected to the controller, even if it's accepting connections (like in my case). It also tries to do a node restore if it's offline, since sometimes the controller doesn't try to reconnect automatically. In case the livenessProbe fails (and can't restore) and the container is restarted, the node restore command will make the controller connect to the now working satellite. It's not too elegant, but it solved many of my problems. I hope it helps. |
Thank you, @Boca13. |
@AntonSmolkov thanks for the pointing, just implemented this workaround in kube-linstor v0.14.0 |
I just found that this workaround putting my nodes to
|
Greetings! I've managed to install piraeus-operator with SSL for all components.
Everything seems to work fine, but when i do
kubectl linstor error-reports list
i see this:It occurs almost every second
One of such error reports
ERROR REPORT 60A3B5F0-236CD-000285============================================================
Application: LINBIT�� LINSTOR
Module: Satellite
Version: 1.12.3
Build ID: d4e2cbfcb3819600208b3e4849e9efa6ddb50a52
Build time: 2021-05-07T06:20:48+00:00
Error time: 2021-05-18 13:28:59
Node: okd-sds-hcqw8-worker-northeurope1-new-lbm46
Peer: 10.0.32.10:48378
============================================================
Reported error:
Category: Exception
Class name: SSLException
Class canonical name: javax.net.ssl.SSLException
Generated at: Method 'createSSLException', Source file 'Alert.java', Line #133
Error message: closing inbound before receiving peer's close_notify
Error context:
I/O exception while attempting to receive data from the peer
Call backtrace:
END OF ERROR REPORT.
Questions:
Is there any way to fix it?
Can it consume all my node's free space?
I have no idea where this logs are stored, i found
/var/log/linstor-controller/error-report.mv.db
file and suspect it.It has size of 16MiB and doesn't grow (rotation?)
Info:
Operator Version: 1.5.0
Envinronmet: OKD 4.6, FCOS 33
The text was updated successfully, but these errors were encountered: