Java SpringBoot Webflux: io.netty.handler.ssl.NotSslRecordException: 不是 SSL/TLS 记录:

Java SpringBoot Webflux: io.netty.handler.ssl.NotSslRecordException: not an SSL/TLS record:

关于 Spring Webflux 和 Java 的小问题,可在任何 2.x+ 版本中重现。

我经常在我的日志中看到异常,例如:

Failed to select the application-level protocol:
io.netty.handler.ssl.NotSslRecordException: not an SSL/TLS record: 1201003400000000000015000601001b000102001c000c0300280004ff080001550000004d5353514c3365727665720078080000
    at io.netty.handler.ssl.SslHandler.decodeJdkCompatible(SslHandler.java:1216) ~[netty-handler-4.1.66.Final.jar!/:4.1.66.Final]
TLS handshake failed:
io.netty.handler.ssl.NotSslRecordException: not an SSL/TLS record: 006a0000010000000136012c000008007fff7f08000000010020003a0000000000000000000000000000000034e600000001000000000000000028434f4e4e4543545f444154413d28434f4d4d414e443d56455253494f4e2929
    at io.netty.handler.ssl.SslHandler.decodeJdkCompatible(SslHandler.java:1216) ~[netty-handler-4.1.66.Final.jar!/:4.1.66.Final]

请问“不是SSL/TLS记录”后面的部分是什么意思? 长长的乱码“12010034000000[...] 006a0000010000[...]”

谢谢

dave_thompson_085所述,已验证它是客户端的十六进制字符串表示形式。

全部归功于他(我希望我能接受他的评论作为答案)。

这特别有用,因为我们可以识别出一些执行某些攻击的客户端。非常感谢