mirror of
https://github.com/corda/corda.git
synced 2024-12-24 07:06:44 +00:00
ENT-6022: Handle internal_error during SSL handshake gracefully (#7024)
This commit is contained in:
parent
524f1c14c9
commit
b644495d46
@ -302,7 +302,7 @@ internal class AMQPChannelHandler(private val serverMode: Boolean,
|
|||||||
-> logWarnWithMDC("Received close_notify during handshake")
|
-> logWarnWithMDC("Received close_notify during handshake")
|
||||||
// io.netty.handler.ssl.SslHandler.setHandshakeFailureTransportFailure()
|
// io.netty.handler.ssl.SslHandler.setHandshakeFailureTransportFailure()
|
||||||
cause is SSLException && (cause.message?.contains("writing TLS control frames") == true) -> logWarnWithMDC(cause.message!!)
|
cause is SSLException && (cause.message?.contains("writing TLS control frames") == true) -> logWarnWithMDC(cause.message!!)
|
||||||
|
cause is SSLException && (cause.message?.contains("internal_error") == true) -> logWarnWithMDC("Received internal_error during handshake")
|
||||||
else -> badCert = true
|
else -> badCert = true
|
||||||
}
|
}
|
||||||
logWarnWithMDC("Handshake failure: ${evt.cause().message}")
|
logWarnWithMDC("Handshake failure: ${evt.cause().message}")
|
||||||
|
Loading…
Reference in New Issue
Block a user