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

ConscryptEngine.chooseServerAlias returns null when used via IP (Found via Jetty) #1011

Closed
Ampflower opened this issue May 6, 2021 · 1 comment

Comments

@Ampflower
Copy link

Related issue (contains a good chunk of information on its own): jetty/jetty.project#6159

Versions summary

Jetty: Embedded Jetty 11.0.2 with server, alpn-server, alpn-conscrypt-server and http2-server modules
Java: AdoptOpenJDK Hotspot 15.0.2
Kotlin: 1.4.32 (unlikely to affect anything on its own)
OS: Arch Linux (then: Linux 5.11.11-zen1-1-zen, now, can still reproduce: 5.11.16-zen1-1-zen)
Conscrypt Version: org.conscrypt:conscrypt-openjdk-uber:2.5.1 (as found via Gradle)

Description

When connecting to Jetty via IP, i.e., 127.0.0.1 or [::1], it internally NPEs and gives a handshake error rather than trying to continue on.

This only happens with conscrypt, replacing the alpn service with alpn-java-server allows it to continue as normal.

Extra information

Caused by: java.lang.NullPointerException: Cannot invoke "java.util.List.stream()" because the return value of "javax.net.ssl.ExtendedSSLSession.getRequestedServerNames()" is null
	at org.eclipse.jetty.util.ssl.SniX509ExtendedKeyManager.chooseServerAlias(SniX509ExtendedKeyManager.java:118)
	at org.eclipse.jetty.util.ssl.SniX509ExtendedKeyManager.chooseEngineServerAlias(SniX509ExtendedKeyManager.java:202)
	at org.conscrypt.ConscryptEngine.chooseServerAlias(ConscryptEngine.java:1695)
	at org.conscrypt.NativeSsl.configureServerCertificate(NativeSsl.java:369)
	at org.conscrypt.ConscryptEngine.serverCertificateRequested(ConscryptEngine.java:1597)
	at org.conscrypt.NativeCrypto.ENGINE_SSL_read_direct(Native Method)
	... (trimmed)
Untrimmed Logs
07:53:02.863 [qtp230835489-21] DEBUG org.eclipse.jetty.io.ManagedSelector - Wakeup ManagedSelector@f5ac9e4{STARTED} id=2 keys=0 selected=0 updates=0
07:53:02.863 [qtp230835489-21] DEBUG org.eclipse.jetty.util.thread.QueuedThreadPool - queue org.eclipse.jetty.io.ManagedSelector$DestroyEndPoint@631e55db startThread=0
07:53:02.863 [qtp230835489-22] DEBUG org.eclipse.jetty.io.ManagedSelector - Selector sun.nio.ch.EPollSelectorImpl@3c4511cb woken with none selected
07:53:02.863 [qtp230835489-22] DEBUG org.eclipse.jetty.io.ManagedSelector - Selector sun.nio.ch.EPollSelectorImpl@3c4511cb woken up from select, 0/0/0 selected
07:53:02.863 [qtp230835489-21] DEBUG org.eclipse.jetty.io.WriteFlusher - ignored: javax.net.ssl.SSLHandshakeException: Cannot invoke "java.util.List.stream()" because the return value of "javax.net.ssl.ExtendedSSLSession.getRequestedServerNames()" is null WriteFlusher@4befb7f7{IDLE}->null
07:53:02.864 [qtp230835489-22] DEBUG org.eclipse.jetty.io.ManagedSelector - Selector sun.nio.ch.EPollSelectorImpl@3c4511cb processing 0 keys, 0 updates
07:53:02.863 [qtp230835489-16] DEBUG org.eclipse.jetty.util.thread.QueuedThreadPool - run org.eclipse.jetty.io.ManagedSelector$DestroyEndPoint@631e55db in QueuedThreadPool[qtp230835489]@dc24521{STARTED,8<=9<=200,i=1,r=-1,q=0}[ReservedThreadExecutor@345965f2{s=1/8,p=0}]
07:53:02.864 [qtp230835489-22] DEBUG org.eclipse.jetty.io.ManagedSelector - updateable 0
07:53:02.864 [qtp230835489-22] DEBUG org.eclipse.jetty.io.ManagedSelector - updates 0
07:53:02.864 [qtp230835489-22] DEBUG org.eclipse.jetty.io.ManagedSelector - Selector sun.nio.ch.EPollSelectorImpl@3c4511cb waiting with 0 keys
07:53:02.864 [qtp230835489-16] DEBUG org.eclipse.jetty.io.ManagedSelector - Destroyed SocketChannelEndPoint@37cd378e{l=/[0:0:0:0:0:0:0:1]:7443,r=/[0:0:0:0:0:0:0:1]:34608,CLOSED,fill=-,flush=-,to=2/30000}{io=1/1,kio=-1,kro=-1}->SslConnection@6b520bae{NOT_HANDSHAKING,eio=-1/-1,di=-1,fill=IDLE,flush=IDLE}~>DecryptedEndPoint@37262d0e{l=/[0:0:0:0:0:0:0:1]:7443,r=/[0:0:0:0:0:0:0:1]:34608,CLOSED,fill=-,flush=-,to=10/30000}=>ALPNServerConnection@4acd8e04
07:53:02.864 [qtp230835489-21] DEBUG org.eclipse.jetty.io.FillInterest - onFail FillInterest@4c85840e{null}
javax.net.ssl.SSLHandshakeException: Cannot invoke "java.util.List.stream()" because the return value of "javax.net.ssl.ExtendedSSLSession.getRequestedServerNames()" is null
	at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.handshakeFailed(SslConnection.java:925)
	at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.fill(SslConnection.java:785)
	at org.eclipse.jetty.server.NegotiatingServerConnection.fill(NegotiatingServerConnection.java:147)
	at org.eclipse.jetty.server.NegotiatingServerConnection.onFillable(NegotiatingServerConnection.java:92)
	at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:319)
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:100)
	at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.onFillable(SslConnection.java:523)
	at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:372)
	at org.eclipse.jetty.io.ssl.SslConnection$2.succeeded(SslConnection.java:158)
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:100)
	at org.eclipse.jetty.io.SocketChannelEndPoint$1.run(SocketChannelEndPoint.java:101)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:333)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:310)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:168)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:126)
	at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:378)
	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:894)
	at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1038)
	at java.base/java.lang.Thread.run(Thread.java:832)
Caused by: java.lang.NullPointerException: Cannot invoke "java.util.List.stream()" because the return value of "javax.net.ssl.ExtendedSSLSession.getRequestedServerNames()" is null
	at org.eclipse.jetty.util.ssl.SniX509ExtendedKeyManager.chooseServerAlias(SniX509ExtendedKeyManager.java:118)
	at org.eclipse.jetty.util.ssl.SniX509ExtendedKeyManager.chooseEngineServerAlias(SniX509ExtendedKeyManager.java:202)
	at org.conscrypt.ConscryptEngine.chooseServerAlias(ConscryptEngine.java:1695)
	at org.conscrypt.NativeSsl.configureServerCertificate(NativeSsl.java:369)
	at org.conscrypt.ConscryptEngine.serverCertificateRequested(ConscryptEngine.java:1597)
	at org.conscrypt.NativeCrypto.ENGINE_SSL_read_direct(Native Method)
	at org.conscrypt.NativeSsl.readDirectByteBuffer(NativeSsl.java:567)
	at org.conscrypt.ConscryptEngine.readPlaintextDataDirect(ConscryptEngine.java:1097)
	at org.conscrypt.ConscryptEngine.readPlaintextDataHeap(ConscryptEngine.java:1117)
	at org.conscrypt.ConscryptEngine.readPlaintextData(ConscryptEngine.java:1089)
	at org.conscrypt.ConscryptEngine.unwrap(ConscryptEngine.java:878)
	at org.conscrypt.ConscryptEngine.unwrap(ConscryptEngine.java:749)
	at org.conscrypt.ConscryptEngine.unwrap(ConscryptEngine.java:714)
	at org.conscrypt.Java8EngineWrapper.unwrap(Java8EngineWrapper.java:236)
	at org.eclipse.jetty.io.ssl.SslConnection.unwrap(SslConnection.java:391)
	at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.fill(SslConnection.java:684)
	... 17 common frames omitted
07:53:02.864 [qtp230835489-16] DEBUG org.eclipse.jetty.io.AbstractConnection - onClose ALPNServerConnection@4acd8e04::DecryptedEndPoint@37262d0e{l=/[0:0:0:0:0:0:0:1]:7443,r=/[0:0:0:0:0:0:0:1]:34608,CLOSED,fill=-,flush=-,to=10/30000}
07:53:02.864 [qtp230835489-16] DEBUG org.eclipse.jetty.io.AbstractConnection - onClose SslConnection@6b520bae::SocketChannelEndPoint@37cd378e{l=/[0:0:0:0:0:0:0:1]:7443,r=/[0:0:0:0:0:0:0:1]:34608,CLOSED,fill=-,flush=-,to=2/30000}{io=1/1,kio=-1,kro=-1}->SslConnection@6b520bae{NOT_HANDSHAKING,eio=-1/-1,di=-1,fill=IDLE,flush=IDLE}~>DecryptedEndPoint@37262d0e{l=/[0:0:0:0:0:0:0:1]:7443,r=/[0:0:0:0:0:0:0:1]:34608,CLOSED,fill=-,flush=-,to=10/30000}=>ALPNServerConnection@4acd8e04
07:53:02.864 [qtp230835489-16] DEBUG org.eclipse.jetty.util.thread.QueuedThreadPool - ran org.eclipse.jetty.io.ManagedSelector$DestroyEndPoint@631e55db in QueuedThreadPool[qtp230835489]@dc24521{STARTED,8<=9<=200,i=1,r=-1,q=0}[ReservedThreadExecutor@345965f2{s=1/8,p=0}]
07:53:02.864 [qtp230835489-21] DEBUG org.eclipse.jetty.server.NegotiatingServerConnection - Unable to fill from endpoint DecryptedEndPoint@37262d0e{l=/[0:0:0:0:0:0:0:1]:7443,r=/[0:0:0:0:0:0:0:1]:34608,CLOSED,fill=-,flush=-,to=10/30000}
javax.net.ssl.SSLHandshakeException: Cannot invoke "java.util.List.stream()" because the return value of "javax.net.ssl.ExtendedSSLSession.getRequestedServerNames()" is null
	at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.handshakeFailed(SslConnection.java:925)
	at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.fill(SslConnection.java:785)
	at org.eclipse.jetty.server.NegotiatingServerConnection.fill(NegotiatingServerConnection.java:147)
	at org.eclipse.jetty.server.NegotiatingServerConnection.onFillable(NegotiatingServerConnection.java:92)
	at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:319)
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:100)
	at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.onFillable(SslConnection.java:523)
	at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:372)
	at org.eclipse.jetty.io.ssl.SslConnection$2.succeeded(SslConnection.java:158)
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:100)
	at org.eclipse.jetty.io.SocketChannelEndPoint$1.run(SocketChannelEndPoint.java:101)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:333)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:310)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:168)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:126)
	at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:378)
	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:894)
	at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1038)
	at java.base/java.lang.Thread.run(Thread.java:832)
Caused by: java.lang.NullPointerException: Cannot invoke "java.util.List.stream()" because the return value of "javax.net.ssl.ExtendedSSLSession.getRequestedServerNames()" is null
	at org.eclipse.jetty.util.ssl.SniX509ExtendedKeyManager.chooseServerAlias(SniX509ExtendedKeyManager.java:118)
	at org.eclipse.jetty.util.ssl.SniX509ExtendedKeyManager.chooseEngineServerAlias(SniX509ExtendedKeyManager.java:202)
	at org.conscrypt.ConscryptEngine.chooseServerAlias(ConscryptEngine.java:1695)
	at org.conscrypt.NativeSsl.configureServerCertificate(NativeSsl.java:369)
	at org.conscrypt.ConscryptEngine.serverCertificateRequested(ConscryptEngine.java:1597)
	at org.conscrypt.NativeCrypto.ENGINE_SSL_read_direct(Native Method)
	at org.conscrypt.NativeSsl.readDirectByteBuffer(NativeSsl.java:567)
	at org.conscrypt.ConscryptEngine.readPlaintextDataDirect(ConscryptEngine.java:1097)
	at org.conscrypt.ConscryptEngine.readPlaintextDataHeap(ConscryptEngine.java:1117)
	at org.conscrypt.ConscryptEngine.readPlaintextData(ConscryptEngine.java:1089)
	at org.conscrypt.ConscryptEngine.unwrap(ConscryptEngine.java:878)
	at org.conscrypt.ConscryptEngine.unwrap(ConscryptEngine.java:749)
	at org.conscrypt.ConscryptEngine.unwrap(ConscryptEngine.java:714)
	at org.conscrypt.Java8EngineWrapper.unwrap(Java8EngineWrapper.java:236)
	at org.eclipse.jetty.io.ssl.SslConnection.unwrap(SslConnection.java:391)
	at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.fill(SslConnection.java:684)
	... 17 common frames omitted
07:53:02.864 [qtp230835489-21] DEBUG org.eclipse.jetty.io.AbstractEndPoint - shutdownOutput DecryptedEndPoint@37262d0e{l=/[0:0:0:0:0:0:0:1]:7443,r=/[0:0:0:0:0:0:0:1]:34608,CLOSED,fill=-,flush=-,to=10/30000}
07:53:02.864 [qtp230835489-21] DEBUG org.eclipse.jetty.io.AbstractEndPoint - close DecryptedEndPoint@37262d0e{l=/[0:0:0:0:0:0:0:1]:7443,r=/[0:0:0:0:0:0:0:1]:34608,CLOSED,fill=-,flush=-,to=10/30000}
07:53:02.864 [qtp230835489-21] DEBUG org.eclipse.jetty.io.AbstractEndPoint - close(null) DecryptedEndPoint@37262d0e{l=/[0:0:0:0:0:0:0:1]:7443,r=/[0:0:0:0:0:0:0:1]:34608,CLOSED,fill=-,flush=-,to=10/30000}
07:53:02.864 [qtp230835489-21] DEBUG org.eclipse.jetty.server.NegotiatingServerConnection - ALPNServerConnection@4acd8e04::DecryptedEndPoint@37262d0e{l=/[0:0:0:0:0:0:0:1]:7443,r=/[0:0:0:0:0:0:0:1]:34608,CLOSED,fill=-,flush=-,to=10/30000} detected close on client side
07:53:02.864 [qtp230835489-21] DEBUG org.eclipse.jetty.io.AbstractEndPoint - shutdownOutput DecryptedEndPoint@37262d0e{l=/[0:0:0:0:0:0:0:1]:7443,r=/[0:0:0:0:0:0:0:1]:34608,CLOSED,fill=-,flush=-,to=10/30000}
07:53:02.864 [qtp230835489-21] DEBUG org.eclipse.jetty.io.AbstractEndPoint - close DecryptedEndPoint@37262d0e{l=/[0:0:0:0:0:0:0:1]:7443,r=/[0:0:0:0:0:0:0:1]:34608,CLOSED,fill=-,flush=-,to=10/30000}
07:53:02.864 [qtp230835489-21] DEBUG org.eclipse.jetty.io.AbstractEndPoint - close(null) DecryptedEndPoint@37262d0e{l=/[0:0:0:0:0:0:0:1]:7443,r=/[0:0:0:0:0:0:0:1]:34608,CLOSED,fill=-,flush=-,to=11/30000}
07:53:02.864 [qtp230835489-21] DEBUG org.eclipse.jetty.io.ssl.SslConnection - <c.onFillable SslConnection@6b520bae::SocketChannelEndPoint@37cd378e{l=/[0:0:0:0:0:0:0:1]:7443,r=/[0:0:0:0:0:0:0:1]:34608,CLOSED,fill=-,flush=-,to=3/30000}{io=1/1,kio=-1,kro=-1}->SslConnection@6b520bae{NOT_HANDSHAKING,eio=-1/-1,di=-1,fill=IDLE,flush=IDLE}~>DecryptedEndPoint@37262d0e{l=/[0:0:0:0:0:0:0:1]:7443,r=/[0:0:0:0:0:0:0:1]:34608,CLOSED,fill=-,flush=-,to=11/30000}=>ALPNServerConnection@4acd8e04
07:53:02.865 [qtp230835489-21] DEBUG org.eclipse.jetty.util.thread.ReservedThreadExecutor - ReservedThreadExecutor@345965f2{s=2/8,p=0}@35258fbc waiting

Process finished with exit code 130 (interrupted by signal 2: SIGINT)

which if we were to go with ConscryptEngine.java:1695, pulls up

   @Override
    public String chooseServerAlias(X509KeyManager keyManager, String keyType) {
        if (keyManager instanceof X509ExtendedKeyManager) {
            X509ExtendedKeyManager ekm = (X509ExtendedKeyManager) keyManager;
            return ekm.chooseEngineServerAlias(keyType, null, this); // <---- here
        } else {
            return keyManager.chooseServerAlias(keyType, null, null);
        }
    }
@Ampflower
Copy link
Author

Ampflower commented May 6, 2021

Actually, this seems to be fixed in version 2.5.2 of Conscrypt... perhaps should've tested it before hand.

Told Gradle to use 2.5.2 and Jetty is able to connect and detect by IP of the certificate without issue, although, it is throwing a fair bit of exceptions in the logs.

Logs
16:28:56.111 [qtp1408652377-18] DEBUG org.eclipse.jetty.io.WriteFlusher - update WriteFlusher@1121c0df{FAILED}->null:WRITING-->FAILED
16:28:56.111 [qtp1408652377-35] DEBUG org.eclipse.jetty.io.ssl.SslConnection - wrap Status = CLOSED HandshakeStatus = NOT_HANDSHAKING bytesConsumed = 0 bytesProduced = 0 [p=0,l=0,c=17408,r=0] ioDone=true/true
16:28:56.111 [qtp1408652377-35] DEBUG org.eclipse.jetty.io.ssl.SslConnection - net flushed=true, ac=false
16:28:56.111 [qtp1408652377-35] DEBUG org.eclipse.jetty.io.AbstractEndPoint - shutdownOutput SocketChannelEndPoint@281e0af6{l=/127.127.127.127:7443,r=/127.0.0.1:33958,CLOSED,fill=-,flush=-,to=5/30000}{io=0/0,kio=-1,kro=-1}->SslConnection@21377623{NOT_HANDSHAKING,eio=-1/0,di=-1,fill=IDLE,flush=IDLE}~>DecryptedEndPoint@3bb2584f{l=/127.127.127.127:7443,r=/127.0.0.1:33958,CLOSED,fill=-,flush=F,to=50/30000}=>HTTP2ServerConnection@7d62d5a4
16:28:56.111 [qtp1408652377-18] DEBUG org.eclipse.jetty.io.FillInterest - onFail FillInterest@267c6029{null}
javax.net.ssl.SSLHandshakeException: Read error: ssl=0x7f8ef805ce68: Failure in SSL library, usually a protocol error
error:10000416:SSL routines:OPENSSL_internal:SSLV3_ALERT_CERTIFICATE_UNKNOWN (../ssl/tls_record.cc:594 0x7f8ef8059768:0x00000001)
	at org.conscrypt.SSLUtils.toSSLHandshakeException(SSLUtils.java:361)
	at org.conscrypt.ConscryptEngine.convertException(ConscryptEngine.java:1138)
	at org.conscrypt.ConscryptEngine.unwrap(ConscryptEngine.java:923)
	at org.conscrypt.ConscryptEngine.unwrap(ConscryptEngine.java:751)
	at org.conscrypt.ConscryptEngine.unwrap(ConscryptEngine.java:716)
	at org.conscrypt.Java8EngineWrapper.unwrap(Java8EngineWrapper.java:236)
	at org.eclipse.jetty.io.ssl.SslConnection.unwrap(SslConnection.java:391)
	at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.fill(SslConnection.java:684)
	at org.eclipse.jetty.http2.HTTP2Connection.fill(HTTP2Connection.java:170)
	at org.eclipse.jetty.http2.HTTP2Connection$HTTP2Producer.produce(HTTP2Connection.java:302)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.produceTask(EatWhatYouKill.java:357)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:181)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:168)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.produce(EatWhatYouKill.java:132)
	at org.eclipse.jetty.http2.HTTP2Connection.produce(HTTP2Connection.java:214)
	at org.eclipse.jetty.http2.server.HTTP2ServerConnection.onOpen(HTTP2ServerConnection.java:123)
	at org.eclipse.jetty.io.AbstractEndPoint.upgrade(AbstractEndPoint.java:451)
	at org.eclipse.jetty.server.NegotiatingServerConnection.onFillable(NegotiatingServerConnection.java:125)
	at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:319)
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:100)
	at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.onFillable(SslConnection.java:523)
	at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:372)
	at org.eclipse.jetty.io.ssl.SslConnection$2.succeeded(SslConnection.java:158)
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:100)
	at org.eclipse.jetty.io.SocketChannelEndPoint$1.run(SocketChannelEndPoint.java:101)
	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:894)
	at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1038)
	at java.base/java.lang.Thread.run(Thread.java:832)
Caused by: javax.net.ssl.SSLProtocolException: Read error: ssl=0x7f8ef805ce68: Failure in SSL library, usually a protocol error
error:10000416:SSL routines:OPENSSL_internal:SSLV3_ALERT_CERTIFICATE_UNKNOWN (../ssl/tls_record.cc:594 0x7f8ef8059768:0x00000001)
	at org.conscrypt.NativeCrypto.ENGINE_SSL_read_direct(Native Method)
	at org.conscrypt.NativeSsl.readDirectByteBuffer(NativeSsl.java:567)
	at org.conscrypt.ConscryptEngine.readPlaintextDataDirect(ConscryptEngine.java:1099)
	at org.conscrypt.ConscryptEngine.readPlaintextData(ConscryptEngine.java:1083)
	at org.conscrypt.ConscryptEngine.unwrap(ConscryptEngine.java:880)
	... 25 common frames omitted
16:28:56.112 [qtp1408652377-35] DEBUG org.eclipse.jetty.io.ssl.SslConnection - DecryptedEndPoint@3bb2584f{l=/127.127.127.127:7443,r=/127.0.0.1:33958,CLOSED,fill=-,flush=F,to=50/30000} suppressed flush exception
java.io.IOException: Broken pipe
	at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.flush(SslConnection.java:1081)
	at org.eclipse.jetty.io.WriteFlusher.flush(WriteFlusher.java:417)
	at org.eclipse.jetty.io.WriteFlusher.write(WriteFlusher.java:272)
	at org.eclipse.jetty.io.AbstractEndPoint.write(AbstractEndPoint.java:386)
	at org.eclipse.jetty.http2.HTTP2Flusher.process(HTTP2Flusher.java:280)
	at org.eclipse.jetty.util.IteratingCallback.processing(IteratingCallback.java:232)
	at org.eclipse.jetty.util.IteratingCallback.iterate(IteratingCallback.java:214)
	at org.eclipse.jetty.http2.HTTP2Session.frame(HTTP2Session.java:773)
	at org.eclipse.jetty.http2.HTTP2Session.frames(HTTP2Session.java:745)
	at org.eclipse.jetty.http2.HTTP2Session.control(HTTP2Session.java:727)
	at org.eclipse.jetty.http2.HTTP2Session$StreamsState.sendGoAway(HTTP2Session.java:1970)
	at org.eclipse.jetty.http2.HTTP2Session$StreamsState.sendGoAwayAndTerminate(HTTP2Session.java:1965)
	at org.eclipse.jetty.http2.HTTP2Session$StreamsState.halt(HTTP2Session.java:1654)
	at org.eclipse.jetty.http2.HTTP2Session.doStop(HTTP2Session.java:130)
	at org.eclipse.jetty.util.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:132)
	at org.eclipse.jetty.util.component.LifeCycle.stop(LifeCycle.java:91)
	at org.eclipse.jetty.http2.server.AbstractHTTP2ServerConnectionFactory$HTTP2SessionContainer.onClosed(AbstractHTTP2ServerConnectionFactory.java:318)
	at org.eclipse.jetty.io.AbstractConnection.onClosed(AbstractConnection.java:242)
	at org.eclipse.jetty.io.AbstractConnection.onClose(AbstractConnection.java:234)
	at org.eclipse.jetty.http2.HTTP2Connection.onClose(HTTP2Connection.java:151)
	at org.eclipse.jetty.io.ssl.SslConnection.onClose(SslConnection.java:340)
	at org.eclipse.jetty.io.SelectorManager.connectionClosed(SelectorManager.java:329)
	at org.eclipse.jetty.io.ManagedSelector$DestroyEndPoint.run(ManagedSelector.java:1101)
	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:894)
	at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1038)
	at java.base/java.lang.Thread.run(Thread.java:832)
16:28:56.112 [qtp1408652377-18] DEBUG org.eclipse.jetty.http2.HTTP2Connection - Could not read from DecryptedEndPoint@3bb2584f{l=/127.127.127.127:7443,r=/127.0.0.1:33958,CLOSED,fill=-,flush=F,to=50/30000}
javax.net.ssl.SSLHandshakeException: Read error: ssl=0x7f8ef805ce68: Failure in SSL library, usually a protocol error
error:10000416:SSL routines:OPENSSL_internal:SSLV3_ALERT_CERTIFICATE_UNKNOWN (../ssl/tls_record.cc:594 0x7f8ef8059768:0x00000001)
	at org.conscrypt.SSLUtils.toSSLHandshakeException(SSLUtils.java:361)
	at org.conscrypt.ConscryptEngine.convertException(ConscryptEngine.java:1138)
	at org.conscrypt.ConscryptEngine.unwrap(ConscryptEngine.java:923)
	at org.conscrypt.ConscryptEngine.unwrap(ConscryptEngine.java:751)
	at org.conscrypt.ConscryptEngine.unwrap(ConscryptEngine.java:716)
	at org.conscrypt.Java8EngineWrapper.unwrap(Java8EngineWrapper.java:236)
	at org.eclipse.jetty.io.ssl.SslConnection.unwrap(SslConnection.java:391)
	at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.fill(SslConnection.java:684)
	at org.eclipse.jetty.http2.HTTP2Connection.fill(HTTP2Connection.java:170)
	at org.eclipse.jetty.http2.HTTP2Connection$HTTP2Producer.produce(HTTP2Connection.java:302)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.produceTask(EatWhatYouKill.java:357)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:181)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:168)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.produce(EatWhatYouKill.java:132)
	at org.eclipse.jetty.http2.HTTP2Connection.produce(HTTP2Connection.java:214)
	at org.eclipse.jetty.http2.server.HTTP2ServerConnection.onOpen(HTTP2ServerConnection.java:123)
	at org.eclipse.jetty.io.AbstractEndPoint.upgrade(AbstractEndPoint.java:451)
	at org.eclipse.jetty.server.NegotiatingServerConnection.onFillable(NegotiatingServerConnection.java:125)
	at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:319)
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:100)
	at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.onFillable(SslConnection.java:523)
	at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:372)
	at org.eclipse.jetty.io.ssl.SslConnection$2.succeeded(SslConnection.java:158)
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:100)
	at org.eclipse.jetty.io.SocketChannelEndPoint$1.run(SocketChannelEndPoint.java:101)
	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:894)
	at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1038)
	at java.base/java.lang.Thread.run(Thread.java:832)
	Suppressed: java.io.IOException: Broken pipe
		at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.flush(SslConnection.java:1081)
		at org.eclipse.jetty.io.WriteFlusher.flush(WriteFlusher.java:417)
		at org.eclipse.jetty.io.WriteFlusher.write(WriteFlusher.java:272)
		at org.eclipse.jetty.io.AbstractEndPoint.write(AbstractEndPoint.java:386)
		at org.eclipse.jetty.http2.HTTP2Flusher.process(HTTP2Flusher.java:280)
		at org.eclipse.jetty.util.IteratingCallback.processing(IteratingCallback.java:232)
		at org.eclipse.jetty.util.IteratingCallback.iterate(IteratingCallback.java:214)
		at org.eclipse.jetty.http2.HTTP2Session.frame(HTTP2Session.java:773)
		at org.eclipse.jetty.http2.HTTP2Session.frames(HTTP2Session.java:745)
		at org.eclipse.jetty.http2.HTTP2Session.control(HTTP2Session.java:727)
		at org.eclipse.jetty.http2.HTTP2Session$StreamsState.sendGoAway(HTTP2Session.java:1970)
		at org.eclipse.jetty.http2.HTTP2Session$StreamsState.sendGoAwayAndTerminate(HTTP2Session.java:1965)
		at org.eclipse.jetty.http2.HTTP2Session$StreamsState.halt(HTTP2Session.java:1654)
		at org.eclipse.jetty.http2.HTTP2Session.doStop(HTTP2Session.java:130)
		at org.eclipse.jetty.util.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:132)
		at org.eclipse.jetty.util.component.LifeCycle.stop(LifeCycle.java:91)
		at org.eclipse.jetty.http2.server.AbstractHTTP2ServerConnectionFactory$HTTP2SessionContainer.onClosed(AbstractHTTP2ServerConnectionFactory.java:318)
		at org.eclipse.jetty.io.AbstractConnection.onClosed(AbstractConnection.java:242)
		at org.eclipse.jetty.io.AbstractConnection.onClose(AbstractConnection.java:234)
		at org.eclipse.jetty.http2.HTTP2Connection.onClose(HTTP2Connection.java:151)
		at org.eclipse.jetty.io.ssl.SslConnection.onClose(SslConnection.java:340)
		at org.eclipse.jetty.io.SelectorManager.connectionClosed(SelectorManager.java:329)
		at org.eclipse.jetty.io.ManagedSelector$DestroyEndPoint.run(ManagedSelector.java:1101)
		... 3 common frames omitted
Caused by: javax.net.ssl.SSLProtocolException: Read error: ssl=0x7f8ef805ce68: Failure in SSL library, usually a protocol error
error:10000416:SSL routines:OPENSSL_internal:SSLV3_ALERT_CERTIFICATE_UNKNOWN (../ssl/tls_record.cc:594 0x7f8ef8059768:0x00000001)
	at org.conscrypt.NativeCrypto.ENGINE_SSL_read_direct(Native Method)
	at org.conscrypt.NativeSsl.readDirectByteBuffer(NativeSsl.java:567)
	at org.conscrypt.ConscryptEngine.readPlaintextDataDirect(ConscryptEngine.java:1099)
	at org.conscrypt.ConscryptEngine.readPlaintextData(ConscryptEngine.java:1083)
	at org.conscrypt.ConscryptEngine.unwrap(ConscryptEngine.java:880)
	... 25 common frames omitted
16:28:56.112 [qtp1408652377-18] DEBUG org.eclipse.jetty.http2.HTTP2Connection - Filled -1 bytes in NetworkBuffer@236bbbde{DirectByteBuffer@1db294eb[p=0,l=0,c=17408,r=0]={<<<>>>\x00\x00\x93\x01%\x00\x00\x00\x03...\x00\x00\x00\x00\x00\x00\x00},r=1}
16:28:56.112 [qtp1408652377-35] DEBUG org.eclipse.jetty.io.ssl.SslConnection - <flush null SslConnection@21377623::SocketChannelEndPoint@281e0af6{l=/127.127.127.127:7443,r=/127.0.0.1:33958,CLOSED,fill=-,flush=-,to=6/30000}{io=0/0,kio=-1,kro=-1}->SslConnection@21377623{NOT_HANDSHAKING,eio=-1/-1,di=-1,fill=IDLE,flush=IDLE}~>DecryptedEndPoint@3bb2584f{l=/127.127.127.127:7443,r=/127.0.0.1:33958,CLOSED,fill=-,flush=F,to=51/30000}=>HTTP2ServerConnection@7d62d5a4
16:28:56.112 [qtp1408652377-35] DEBUG org.eclipse.jetty.io.AbstractEndPoint - close(javax.net.ssl.SSLHandshakeException: Read error: ssl=0x7f8ef805ce68: Failure in SSL library, usually a protocol error
error:10000416:SSL routines:OPENSSL_internal:SSLV3_ALERT_CERTIFICATE_UNKNOWN (../ssl/tls_record.cc:594 0x7f8ef8059768:0x00000001)) DecryptedEndPoint@3bb2584f{l=/127.127.127.127:7443,r=/127.0.0.1:33958,CLOSED,fill=-,flush=F,to=51/30000}
16:28:56.112 [qtp1408652377-18] DEBUG org.eclipse.jetty.http2.HTTP2Session - Already closed, ignoring ISHUT for HTTP2ServerSession@68e7d133{local:/127.127.127.127:7443,remote:/127.0.0.1:33958,sendWindow=65535,recvWindow=65535,state=[streams=0,CLOSED,goAwayRecv=null,goAwaySent=GoAwayFrame@1fe63d53{0/no_error/stop},failure=null]}
16:28:56.112 [qtp1408652377-18] DEBUG org.eclipse.jetty.http2.HTTP2Connection - Released NetworkBuffer@236bbbde{DirectByteBuffer@1db294eb[p=0,l=0,c=17408,r=0]={<<<>>>\x00\x00\x93\x01%\x00\x00\x00\x03...\x00\x00\x00\x00\x00\x00\x00},r=0}
16:28:56.112 [qtp1408652377-35] DEBUG org.eclipse.jetty.io.WriteFlusher - write exception
javax.net.ssl.SSLHandshakeException: Read error: ssl=0x7f8ef805ce68: Failure in SSL library, usually a protocol error
error:10000416:SSL routines:OPENSSL_internal:SSLV3_ALERT_CERTIFICATE_UNKNOWN (../ssl/tls_record.cc:594 0x7f8ef8059768:0x00000001)
	at org.conscrypt.SSLUtils.toSSLHandshakeException(SSLUtils.java:361)
	at org.conscrypt.ConscryptEngine.convertException(ConscryptEngine.java:1138)
	at org.conscrypt.ConscryptEngine.unwrap(ConscryptEngine.java:923)
	at org.conscrypt.ConscryptEngine.unwrap(ConscryptEngine.java:751)
	at org.conscrypt.ConscryptEngine.unwrap(ConscryptEngine.java:716)
	at org.conscrypt.Java8EngineWrapper.unwrap(Java8EngineWrapper.java:236)
	at org.eclipse.jetty.io.ssl.SslConnection.unwrap(SslConnection.java:391)
	at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.fill(SslConnection.java:684)
	at org.eclipse.jetty.http2.HTTP2Connection.fill(HTTP2Connection.java:170)
	at org.eclipse.jetty.http2.HTTP2Connection$HTTP2Producer.produce(HTTP2Connection.java:302)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.produceTask(EatWhatYouKill.java:357)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:181)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:168)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.produce(EatWhatYouKill.java:132)
	at org.eclipse.jetty.http2.HTTP2Connection.produce(HTTP2Connection.java:214)
	at org.eclipse.jetty.http2.server.HTTP2ServerConnection.onOpen(HTTP2ServerConnection.java:123)
	at org.eclipse.jetty.io.AbstractEndPoint.upgrade(AbstractEndPoint.java:451)
	at org.eclipse.jetty.server.NegotiatingServerConnection.onFillable(NegotiatingServerConnection.java:125)
	at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:319)
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:100)
	at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.onFillable(SslConnection.java:523)
	at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:372)
	at org.eclipse.jetty.io.ssl.SslConnection$2.succeeded(SslConnection.java:158)
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:100)
	at org.eclipse.jetty.io.SocketChannelEndPoint$1.run(SocketChannelEndPoint.java:101)
	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:894)
	at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1038)
	at java.base/java.lang.Thread.run(Thread.java:832)
	Suppressed: java.io.IOException: Broken pipe
		at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.flush(SslConnection.java:1081)
		at org.eclipse.jetty.io.WriteFlusher.flush(WriteFlusher.java:417)
		at org.eclipse.jetty.io.WriteFlusher.write(WriteFlusher.java:272)
		at org.eclipse.jetty.io.AbstractEndPoint.write(AbstractEndPoint.java:386)
		at org.eclipse.jetty.http2.HTTP2Flusher.process(HTTP2Flusher.java:280)
		at org.eclipse.jetty.util.IteratingCallback.processing(IteratingCallback.java:232)
		at org.eclipse.jetty.util.IteratingCallback.iterate(IteratingCallback.java:214)
		at org.eclipse.jetty.http2.HTTP2Session.frame(HTTP2Session.java:773)
		at org.eclipse.jetty.http2.HTTP2Session.frames(HTTP2Session.java:745)
		at org.eclipse.jetty.http2.HTTP2Session.control(HTTP2Session.java:727)
		at org.eclipse.jetty.http2.HTTP2Session$StreamsState.sendGoAway(HTTP2Session.java:1970)
		at org.eclipse.jetty.http2.HTTP2Session$StreamsState.sendGoAwayAndTerminate(HTTP2Session.java:1965)
		at org.eclipse.jetty.http2.HTTP2Session$StreamsState.halt(HTTP2Session.java:1654)
		at org.eclipse.jetty.http2.HTTP2Session.doStop(HTTP2Session.java:130)
		at org.eclipse.jetty.util.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:132)
		at org.eclipse.jetty.util.component.LifeCycle.stop(LifeCycle.java:91)
		at org.eclipse.jetty.http2.server.AbstractHTTP2ServerConnectionFactory$HTTP2SessionContainer.onClosed(AbstractHTTP2ServerConnectionFactory.java:318)
		at org.eclipse.jetty.io.AbstractConnection.onClosed(AbstractConnection.java:242)
		at org.eclipse.jetty.io.AbstractConnection.onClose(AbstractConnection.java:234)
		at org.eclipse.jetty.http2.HTTP2Connection.onClose(HTTP2Connection.java:151)
		at org.eclipse.jetty.io.ssl.SslConnection.onClose(SslConnection.java:340)
		at org.eclipse.jetty.io.SelectorManager.connectionClosed(SelectorManager.java:329)
		at org.eclipse.jetty.io.ManagedSelector$DestroyEndPoint.run(ManagedSelector.java:1101)
		... 3 common frames omitted
Caused by: javax.net.ssl.SSLProtocolException: Read error: ssl=0x7f8ef805ce68: Failure in SSL library, usually a protocol error
error:10000416:SSL routines:OPENSSL_internal:SSLV3_ALERT_CERTIFICATE_UNKNOWN (../ssl/tls_record.cc:594 0x7f8ef8059768:0x00000001)
	at org.conscrypt.NativeCrypto.ENGINE_SSL_read_direct(Native Method)
	at org.conscrypt.NativeSsl.readDirectByteBuffer(NativeSsl.java:567)
	at org.conscrypt.ConscryptEngine.readPlaintextDataDirect(ConscryptEngine.java:1099)
	at org.conscrypt.ConscryptEngine.readPlaintextData(ConscryptEngine.java:1083)
	at org.conscrypt.ConscryptEngine.unwrap(ConscryptEngine.java:880)
	... 25 common frames omitted
16:28:56.113 [qtp1408652377-35] DEBUG org.eclipse.jetty.io.WriteFlusher - update WriteFlusher@1121c0df{FAILED}->null:WRITING!->FAILED
16:28:56.113 [qtp1408652377-18] DEBUG org.eclipse.jetty.io.ssl.SslConnection - <c.onFillable SslConnection@21377623::SocketChannelEndPoint@281e0af6{l=/127.127.127.127:7443,r=/127.0.0.1:33958,CLOSED,fill=-,flush=-,to=6/30000}{io=0/0,kio=-1,kro=-1}->SslConnection@21377623{NOT_HANDSHAKING,eio=-1/-1,di=-1,fill=IDLE,flush=IDLE}~>DecryptedEndPoint@3bb2584f{l=/127.127.127.127:7443,r=/127.0.0.1:33958,CLOSED,fill=-,flush=F,to=51/30000}=>HTTP2ServerConnection@7d62d5a4
16:28:56.113 [qtp1408652377-35] DEBUG org.eclipse.jetty.http2.HTTP2Flusher - Failing, entries processed/pending/queued=1/0/0
javax.net.ssl.SSLHandshakeException: Read error: ssl=0x7f8ef805ce68: Failure in SSL library, usually a protocol error
error:10000416:SSL routines:OPENSSL_internal:SSLV3_ALERT_CERTIFICATE_UNKNOWN (../ssl/tls_record.cc:594 0x7f8ef8059768:0x00000001)
	at org.conscrypt.SSLUtils.toSSLHandshakeException(SSLUtils.java:361)
	at org.conscrypt.ConscryptEngine.convertException(ConscryptEngine.java:1138)
	at org.conscrypt.ConscryptEngine.unwrap(ConscryptEngine.java:923)
	at org.conscrypt.ConscryptEngine.unwrap(ConscryptEngine.java:751)
	at org.conscrypt.ConscryptEngine.unwrap(ConscryptEngine.java:716)
	at org.conscrypt.Java8EngineWrapper.unwrap(Java8EngineWrapper.java:236)
	at org.eclipse.jetty.io.ssl.SslConnection.unwrap(SslConnection.java:391)
	at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.fill(SslConnection.java:684)
	at org.eclipse.jetty.http2.HTTP2Connection.fill(HTTP2Connection.java:170)
	at org.eclipse.jetty.http2.HTTP2Connection$HTTP2Producer.produce(HTTP2Connection.java:302)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.produceTask(EatWhatYouKill.java:357)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:181)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:168)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.produce(EatWhatYouKill.java:132)
	at org.eclipse.jetty.http2.HTTP2Connection.produce(HTTP2Connection.java:214)
	at org.eclipse.jetty.http2.server.HTTP2ServerConnection.onOpen(HTTP2ServerConnection.java:123)
	at org.eclipse.jetty.io.AbstractEndPoint.upgrade(AbstractEndPoint.java:451)
	at org.eclipse.jetty.server.NegotiatingServerConnection.onFillable(NegotiatingServerConnection.java:125)
	at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:319)
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:100)
	at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.onFillable(SslConnection.java:523)
	at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:372)
	at org.eclipse.jetty.io.ssl.SslConnection$2.succeeded(SslConnection.java:158)
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:100)
	at org.eclipse.jetty.io.SocketChannelEndPoint$1.run(SocketChannelEndPoint.java:101)
	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:894)
	at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1038)
	at java.base/java.lang.Thread.run(Thread.java:832)
	Suppressed: java.io.IOException: Broken pipe
		at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.flush(SslConnection.java:1081)
		at org.eclipse.jetty.io.WriteFlusher.flush(WriteFlusher.java:417)
		at org.eclipse.jetty.io.WriteFlusher.write(WriteFlusher.java:272)
		at org.eclipse.jetty.io.AbstractEndPoint.write(AbstractEndPoint.java:386)
		at org.eclipse.jetty.http2.HTTP2Flusher.process(HTTP2Flusher.java:280)
		at org.eclipse.jetty.util.IteratingCallback.processing(IteratingCallback.java:232)
		at org.eclipse.jetty.util.IteratingCallback.iterate(IteratingCallback.java:214)
		at org.eclipse.jetty.http2.HTTP2Session.frame(HTTP2Session.java:773)
		at org.eclipse.jetty.http2.HTTP2Session.frames(HTTP2Session.java:745)
		at org.eclipse.jetty.http2.HTTP2Session.control(HTTP2Session.java:727)
		at org.eclipse.jetty.http2.HTTP2Session$StreamsState.sendGoAway(HTTP2Session.java:1970)
		at org.eclipse.jetty.http2.HTTP2Session$StreamsState.sendGoAwayAndTerminate(HTTP2Session.java:1965)
		at org.eclipse.jetty.http2.HTTP2Session$StreamsState.halt(HTTP2Session.java:1654)
		at org.eclipse.jetty.http2.HTTP2Session.doStop(HTTP2Session.java:130)
		at org.eclipse.jetty.util.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:132)
		at org.eclipse.jetty.util.component.LifeCycle.stop(LifeCycle.java:91)
		at org.eclipse.jetty.http2.server.AbstractHTTP2ServerConnectionFactory$HTTP2SessionContainer.onClosed(AbstractHTTP2ServerConnectionFactory.java:318)
		at org.eclipse.jetty.io.AbstractConnection.onClosed(AbstractConnection.java:242)
		at org.eclipse.jetty.io.AbstractConnection.onClose(AbstractConnection.java:234)
		at org.eclipse.jetty.http2.HTTP2Connection.onClose(HTTP2Connection.java:151)
		at org.eclipse.jetty.io.ssl.SslConnection.onClose(SslConnection.java:340)
		at org.eclipse.jetty.io.SelectorManager.connectionClosed(SelectorManager.java:329)
		at org.eclipse.jetty.io.ManagedSelector$DestroyEndPoint.run(ManagedSelector.java:1101)
		... 3 common frames omitted
Caused by: javax.net.ssl.SSLProtocolException: Read error: ssl=0x7f8ef805ce68: Failure in SSL library, usually a protocol error
error:10000416:SSL routines:OPENSSL_internal:SSLV3_ALERT_CERTIFICATE_UNKNOWN (../ssl/tls_record.cc:594 0x7f8ef8059768:0x00000001)
	at org.conscrypt.NativeCrypto.ENGINE_SSL_read_direct(Native Method)
	at org.conscrypt.NativeSsl.readDirectByteBuffer(NativeSsl.java:567)
	at org.conscrypt.ConscryptEngine.readPlaintextDataDirect(ConscryptEngine.java:1099)
	at org.conscrypt.ConscryptEngine.readPlaintextData(ConscryptEngine.java:1083)
	at org.conscrypt.ConscryptEngine.unwrap(ConscryptEngine.java:880)
	... 25 common frames omitted
16:28:56.113 [qtp1408652377-18] DEBUG org.eclipse.jetty.util.thread.QueuedThreadPool - ran SocketChannelEndPoint@281e0af6{l=/127.127.127.127:7443,r=/127.0.0.1:33958,CLOSED,fill=-,flush=-,to=7/30000}{io=0/0,kio=-1,kro=-1}->SslConnection@21377623{NOT_HANDSHAKING,eio=-1/-1,di=-1,fill=IDLE,flush=IDLE}~>DecryptedEndPoint@3bb2584f{l=/127.127.127.127:7443,r=/127.0.0.1:33958,CLOSED,fill=-,flush=F,to=52/30000}=>HTTP2ServerConnection@7d62d5a4:runFillable:BLOCKING in QueuedThreadPool[qtp1408652377]@53f65459{STARTED,8<=14<=200,i=0,r=-1,q=0}[ReservedThreadExecutor@5762806e{s=1/8,p=0}]
16:28:56.113 [qtp1408652377-35] DEBUG org.eclipse.jetty.http2.HTTP2Session - Terminating HTTP2ServerSession@68e7d133{local:/127.127.127.127:7443,remote:/127.0.0.1:33958,sendWindow=65535,recvWindow=65535,state=[streams=0,CLOSED,goAwayRecv=null,goAwaySent=GoAwayFrame@1fe63d53{0/no_error/stop},failure=null]}
16:28:56.113 [qtp1408652377-35] DEBUG org.eclipse.jetty.http2.HTTP2Flusher - Terminated HTTP2Flusher@3a318224[FAILED][window_queue=0,frame_queue=0,processed/pending=0/0]
16:28:56.113 [qtp1408652377-35] DEBUG org.eclipse.jetty.http2.HTTP2Session - Disconnecting HTTP2ServerSession@68e7d133{local:/127.127.127.127:7443,remote:/127.0.0.1:33958,sendWindow=65535,recvWindow=65535,state=[streams=0,CLOSED,goAwayRecv=null,goAwaySent=GoAwayFrame@1fe63d53{0/no_error/stop},failure=null]}
16:28:56.113 [qtp1408652377-35] DEBUG org.eclipse.jetty.io.AbstractEndPoint - close DecryptedEndPoint@3bb2584f{l=/127.127.127.127:7443,r=/127.0.0.1:33958,CLOSED,fill=-,flush=F,to=52/30000}
16:28:56.113 [qtp1408652377-35] DEBUG org.eclipse.jetty.io.AbstractEndPoint - close(null) DecryptedEndPoint@3bb2584f{l=/127.127.127.127:7443,r=/127.0.0.1:33958,CLOSED,fill=-,flush=F,to=52/30000}
16:28:56.113 [qtp1408652377-35] DEBUG org.eclipse.jetty.http2.HTTP2Connection - Processing session failure on HTTP2ServerSession@68e7d133{local:/127.127.127.127:7443,remote:/127.0.0.1:33958,sendWindow=65535,recvWindow=65535,state=[streams=0,CLOSED,goAwayRecv=null,goAwaySent=GoAwayFrame@1fe63d53{0/no_error/stop},failure=null]}
org.eclipse.jetty.io.EofException: Close no_error/ (stop)

Tho, that maybe because I'm using a self-signed certificate to test this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant