TangSiyang2001 opened a new issue, #38590: URL: https://github.com/apache/doris/issues/38590
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no similar issues. ### Version All versions with Mysql SSL connection feature. ### What's Wrong? There are many unexcepted exceptions of this kind occurs in sessions, though seems harmless. ``` 2024-05-23 00:06:37,034 WARN (mysql-nio-pool-14|882) [ReadListener.lambda$handleEvent$0():60] Exception happened in one session(org.apache.doris.qe.ConnectContext@50c1d1ce). java.lang.IllegalArgumentException: newPosition > limit: (4 > 0) at java.nio.Buffer.createPositionException(Buffer.java:341) ~[?:?] at java.nio.Buffer.position(Buffer.java:316) ~[?:?] at java.nio.ByteBuffer.position(ByteBuffer.java:1516) ~[?:?] at org.apache.doris.mysql.MysqlChannel.fetchOnePacket(MysqlChannel.java:325) ~[doris-fe.jar:1.2-SNAPSHOT] at org.apache.doris.qe.MysqlConnectProcessor.processOnce(MysqlConnectProcessor.java:246) ~[doris-fe.jar:1.2-SNAPSHOT] at org.apache.doris.mysql.ReadListener.lambda$handleEvent$0(ReadListener.java:52) ~[doris-fe.jar:1.2-SNAPSHOT] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[?:?] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[?:?] at java.lang.Thread.run(Thread.java:840) ~[?:?] ``` ### What You Expected? No more repeated exceptions of this kind. ### How to Reproduce? Run the whole regression test and it will be reproduced soon. ### Anything Else? _No response_ ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org