Jimexist commented on PR #2650:
URL: https://github.com/apache/thrift/pull/2650#issuecomment-1238097880

   context: i'm trying to fix the error currently in the `master` branch. 
   
   ```
   Caused by: javax.net.ssl.SSLHandshakeException: Insufficient buffer 
remaining for AEAD cipher fragment (2). Needs to be more than tag size (16)
        at java.base/sun.security.ssl.Alert.createSSLException(Alert.java:131)
        at 
java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:353)
        at 
java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:296)
        at 
java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:291)
        at java.base/sun.security.ssl.SSLTransport.decode(SSLTransport.java:134)
        at 
java.base/sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:1506)
        at 
java.base/sun.security.ssl.SSLSocketImpl.readHandshakeRecord(SSLSocketImpl.java:1416)
        at 
java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:456)
        at 
java.base/sun.security.ssl.SSLSocketImpl.ensureNegotiated(SSLSocketImpl.java:921)
        at 
java.base/sun.security.ssl.SSLSocketImpl$AppInputStream.read(SSLSocketImpl.java:1012)
        at 
java.base/java.io.BufferedInputStream.fill(BufferedInputStream.java:252)
        at 
java.base/java.io.BufferedInputStream.read1(BufferedInputStream.java:292)
        at 
java.base/java.io.BufferedInputStream.read(BufferedInputStream.java:351)
        at 
org.apache.thrift.transport.TIOStreamTransport.read(TIOStreamTransport.java:169)
   ```
   
   i highly suspect that it was a [JDK bug][bug]. my fix is to simply bump the 
docker file hoping that the rebuild will pickup a newer release in the ubuntu 
package system. if that does not work, i'll dive deeper.
   
   cc @Jens-G
   
   
   [bug]: https://bugs.openjdk.org/browse/JDK-8221218


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to