mysql writer SSLException
- Dominant language
- Java
- Stars
- 17.4k
- Forks
- 5.7k
- PR merge metrics
- No merged PRs in 30d
Description
EXCEPTION STACK TRACE:
** BEGIN NESTED EXCEPTION **
javax.net.ssl.SSLException
MESSAGE: closing inbound before receiving peer's close_notify
STACKTRACE:
javax.net.ssl.SSLException: closing inbound before receiving peer's close_notify
at java.base/sun.security.ssl.Alert.createSSLException(Alert.java:133)
at java.base/sun.security.ssl.Alert.createSSLException(Alert.java:117)
at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:313)
at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:269)
at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:260)
at java.base/sun.security.ssl.SSLSocketImpl.shutdownInput(SSLSocketImpl.java:638)
at java.base/sun.security.ssl.SSLSocketImpl.shutdownInput(SSLSocketImpl.java:617)
at com.mysql.jdbc.MysqlIO.quit(MysqlIO.java:2150)
at com.mysql.jdbc.ConnectionImpl.realClose(ConnectionImpl.java:4269)
at com.mysql.jdbc.ConnectionImpl.close(ConnectionImpl.java:1510)
at com.alibaba.datax.plugin.rdbms.util.DBUtil.closeDBResources(DBUtil.java:492)
at com.alibaba.datax.plugin.rdbms.writer.CommonRdbmsWriter$Task.startWriteWithConnection(CommonRdbmsWriter.java:307)
at com.alibaba.datax.plugin.rdbms.writer.CommonRdbmsWriter$Task.startWrite(CommonRdbmsWriter.java:319)
at com.alibaba.datax.plugin.writer.mysqlwriter.MysqlWriter$Task.startWrite(MysqlWriter.java:78)
at com.alibaba.datax.core.taskgroup.runner.WriterRunner.run(WriterRunner.java:56)
at java.base/java.lang.Thread.run(Thread.java:834)
** END NESTED EXCEPTION **
mysql 开启了ssl , 但是 jdbcUrl 配置 useSSL=true 报以上错误 , 有没有人遇到? 求解决方案?
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the stack-trace path through com.mysql.jdbc.MysqlIO.quit, ConnectionImpl.close, DBUtil.closeDBResources, and CommonRdbmsWriter, then inspect the MySQL writer's jdbcUrl handling for useSSL=true. Reproduce the failure with SSL enabled and determine a supported configuration or code change that lets the writer close without the reported SSLException.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, mysql
- Domain
- database
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100