We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0e85e1b + 2236da6 commit a4a5480Copy full SHA for a4a5480
driver/src/main/java/org/neo4j/driver/internal/connector/socket/TLSSocketChannel.java
@@ -176,7 +176,8 @@ private HandshakeStatus unwrap( ByteBuffer buffer ) throws IOException
176
*/
177
if ( channel.read( cipherIn ) < 0 )
178
{
179
- throw new ClientException( "Failed to establish SSL socket connection." );
+ throw new ClientException( "SSL Connection terminated while receiving data. " +
180
+ "This can happen due to network instabilities, or due to restarts of the database." );
181
}
182
cipherIn.flip();
183
0 commit comments