Random ssl problems


I have had a problem with Jenkins executions for quite a few days, randomly the jobs end with an ssl error, sometimes the error ERROR appears: javax.net.ssl.SSLException: bad record MAC and other times ERROR: javax.net. ssl.SSLException: Invalid TLS.
The jobs are executed by agents in openshift and depending on the node they are executed, this error appears or not, does anyone have an idea where the error could come from and what to check?
Thank you very much in advance