Received close_notify during handshake

I have configured SSL (HTTPS) on all my 18 servers. All 18 servers communicate with each other using SSL. Everything is working fine. Suddenly I got this error:

"Received close_notify during handshake"

LOG :: @ 2011-06-03 03: 36: 17.372 [Log.class]! [LoadBalancer] [com.somename.servlet] [RequestServlet] [callServlet] ==> [spnlapp01390.europe.intranet: 8443 / TCServer / TCHealthCheck] → Reason: Received close_notify during a handshake # 3996073076

The strange thing is - after restarting the application, its work is beautiful. I have no idea about this reason. In what scenario can this happen? Is it because of a network problem?

+4
source share
2 answers

Close_notify is a message sent by the SSL stack to indicate the end of the connection. Without any additional data, such as network tracing, it is very difficult (if at all possible) to have a specific reason why this happened.

+5
source

We found the same problem with our server, where our servers are too busy with the condition to serve 100 connections per second. It works great with restarting the server, but with long-term situations it repeats retries. And you can see this very often when the nodes (server and client) are located on the network too far to reach.

We made a hardware upgrade and server configuration, as increasing the value of open files (linux), allowing you to use the maximum possible ports, increasing the maximum flows and connections allowed on the web server. Setting the correct SO time and connection time, and then managing client resources (connections), as well as the correct shutdown of clients, provided good control. Reducing other messages to the server via HTTP / HTTPS, such as a heartbeat, user access to front-end applications and some other clients updating the cache, made the scene better.

However, we have one and the same problem in case of less productive machines and machines of the Windows 7 environment.

+2
source

All Articles