Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Source DB2: failed Db2SourceCertificateAcceptanceTest #9146

Closed
yurii-bidiuk opened this issue Dec 28, 2021 · 0 comments · Fixed by #9187
Closed

Source DB2: failed Db2SourceCertificateAcceptanceTest #9146

yurii-bidiuk opened this issue Dec 28, 2021 · 0 comments · Fixed by #9187
Assignees
Labels

Comments

@yurii-bidiuk
Copy link
Contributor

Current Behavior

All tests in Db2SourceCertificateAcceptanceTest are failed

Logs

LOG

Db2SourceCertificateAcceptanceTest > testDiscover() FAILED
    java.sql.SQLException: Cannot create PoolableConnectionFactory ([jcc][t4][2030][11211][4.28.11] A communication error occurred during operations on the connection's underlying socket, socket input stream, 
    or socket output stream.  Error location: Reply.fill() - socketInputStream.read (-1).  Message: The server selected protocol version TLS11 is not accepted by client preferences [TLS13, TLS12]. ERRORCODE=-4499, SQLSTATE=08001)
        at org.apache.commons.dbcp2.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:669)
        at org.apache.commons.dbcp2.BasicDataSource.createDataSource(BasicDataSource.java:544)
        at org.apache.commons.dbcp2.BasicDataSource.getConnection(BasicDataSource.java:753)
        at io.airbyte.db.jdbc.DefaultJdbcDatabase$DataSourceConnectionSupplier.getConnection(DefaultJdbcDatabase.java:140)
        at io.airbyte.db.jdbc.DefaultJdbcDatabase.execute(DefaultJdbcDatabase.java:52)
        at io.airbyte.db.jdbc.JdbcDatabase.execute(JdbcDatabase.java:45)
        at io.airbyte.integrations.io.airbyte.integration_tests.sources.Db2SourceCertificateAcceptanceTest.setupEnvironment(Db2SourceCertificateAcceptanceTest.java:146)

        Caused by:
        com.ibm.db2.jcc.am.DisconnectNonTransientConnectionException: [jcc][t4][2030][11211][4.28.11] A communication error occurred during operations on the connection's underlying socket, socket input stream, 
        or socket output stream.  Error location: Reply.fill() - socketInputStream.read (-1).  Message: The server selected protocol version TLS11 is not accepted by client preferences [TLS13, TLS12]. ERRORCODE=-4499, SQLSTATE=08001
            at app//com.ibm.db2.jcc.am.b7.a(b7.java:338)
            at app//com.ibm.db2.jcc.t4.a.a(a.java:573)
            at app//com.ibm.db2.jcc.t4.a.a(a.java:557)
            at app//com.ibm.db2.jcc.t4.a.a(a.java:552)
            at app//com.ibm.db2.jcc.t4.a.b(a.java:1693)
            at app//com.ibm.db2.jcc.t4.a.a(a.java:1733)
            at app//com.ibm.db2.jcc.t4.a.h(a.java:499)
            at app//com.ibm.db2.jcc.t4.a.flush_(a.java:416)
            at app//com.ibm.db2.jcc.am.Agent.flowOutsideUOW(Agent.java:281)
            at app//com.ibm.db2.jcc.t4.b.b(b.java:1337)
            at app//com.ibm.db2.jcc.t4.b.b(b.java:873)
            at app//com.ibm.db2.jcc.t4.b.a(b.java:844)
            at app//com.ibm.db2.jcc.t4.b.a(b.java:443)
            at app//com.ibm.db2.jcc.t4.b.a(b.java:416)
            at app//com.ibm.db2.jcc.t4.b.<init>(b.java:354)
            at app//com.ibm.db2.jcc.DB2SimpleDataSource.getConnection(DB2SimpleDataSource.java:236)
            at app//com.ibm.db2.jcc.DB2SimpleDataSource.getConnection(DB2SimpleDataSource.java:200)
            at app//com.ibm.db2.jcc.DB2Driver.connect(DB2Driver.java:474)
            at app//com.ibm.db2.jcc.DB2Driver.connect(DB2Driver.java:116)
            at app//org.apache.commons.dbcp2.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:55)
            at app//org.apache.commons.dbcp2.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:355)
            at app//org.apache.commons.dbcp2.BasicDataSource.validateConnectionFactory(BasicDataSource.java:115)
            at app//org.apache.commons.dbcp2.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:665)
            ... 6 more

            Caused by:
            javax.net.ssl.SSLHandshakeException: The server selected protocol version TLS11 is not accepted by client preferences [TLS13, TLS12]
                at java.base/sun.security.ssl.Alert.createSSLException(Alert.java:131)
                at java.base/sun.security.ssl.Alert.createSSLException(Alert.java:117)
                at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:357)
                at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:313)
                at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:304)
                at java.base/sun.security.ssl.ServerHello$ServerHelloConsumer.onServerHello(ServerHello.java:972)
                at java.base/sun.security.ssl.ServerHello$ServerHelloConsumer.consume(ServerHello.java:894)
                at java.base/sun.security.ssl.SSLHandshake.consume(SSLHandshake.java:396)
                at java.base/sun.security.ssl.HandshakeContext.dispatch(HandshakeContext.java:480)
                at java.base/sun.security.ssl.HandshakeContext.dispatch(HandshakeContext.java:458)
                at java.base/sun.security.ssl.TransportContext.dispatch(TransportContext.java:200)
                at java.base/sun.security.ssl.SSLTransport.decode(SSLTransport.java:172)
                at java.base/sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:1500)
                at java.base/sun.security.ssl.SSLSocketImpl.readHandshakeRecord(SSLSocketImpl.java:1415)
                at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:450)
                at java.base/sun.security.ssl.SSLSocketImpl.ensureNegotiated(SSLSocketImpl.java:915)
                at java.base/sun.security.ssl.SSLSocketImpl$AppOutputStream.write(SSLSocketImpl.java:1285)
                at com.ibm.db2.jcc.t4.ae.b(ae.java:2066)
                at com.ibm.db2.jcc.t4.ae.a(ae.java:2008)
                at com.ibm.db2.jcc.t4.a.h(a.java:484)
                ... 22 more

Steps to Reproduce

  1. Run Db2SourceCertificateAcceptanceTest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants