Theory
Server
Client
Error
io.netty.handler.ssl.NotSslRecordException: not an SSL/TLS record
在Netty中,如果开启了https,但是你使用http请求来发送请求,那么会打印一个SSL/TLS异常
javax.net.ssl.SSLException: Received fatal alert: handshake_failure
PooledUnsafeDirectByteBuf(ridx: 0, widx: 50, cap: 50)
An exceptionCaught() event was fired, and it reached at the tail of the pipeline. It usually means the last handler in the pipeline did not handle the exception.
1 | class WsErrorHandler(private val name: String = "") : ChannelHandler { |