Hello everybody.
Every day I get errors like this, it doesn't cause a crash but it keeps generating logs. I would like to understand about the cause, and how I could fix this problem, any tip is welcome, I really don't know the cause of the problem.
Logs
I'm using http2, just like the @Erel tutorial.
srvr.Http2Enabled = True
ConfigureSSL (443)
everything exactly as in the ssl and http2 tutorial.
the ssl certificate is valid and generated by the certbot website.
the jar is being compiled in java11 and i'm also running on vps using java11.
thank you all, any tip is welcome to find this error, remembering again, I have no problem accessing the site, I don't know exactly when this log happens, but every day this error is in the logs.
thxx all
Every day I get errors like this, it doesn't cause a crash but it keeps generating logs. I would like to understand about the cause, and how I could fix this problem, any tip is welcome, I really don't know the cause of the problem.
Logs
2021-04-18 01:10:58.102:WARNejuts.EatWhatYouKill:qtp1585787493-2227:
java.lang.IllegalStateException
at org.eclipse.jetty.alpn.server.ALPNServerConnection.select(ALPNServerConnection.java:87)
at org.eclipse.jetty.alpn.java.server.JDK9ServerALPNProcessor$ALPNCallback.apply(JDK9ServerALPNProcessor.java:74)
at org.eclipse.jetty.alpn.java.server.JDK9ServerALPNProcessor$ALPNCallback.apply(JDK9ServerALPNProcessor.java:59)
at java.base/sun.security.ssl.AlpnExtension$SHAlpnProducer.produce(AlpnExtension.java:378)
at java.base/sun.security.ssl.SSLExtension.produce(SSLExtension.java:532)
at java.base/sun.security.ssl.SSLExtensions.produce(SSLExtensions.java:228)
at java.base/sun.security.ssl.ServerHello$T12ServerHelloProducer.produce(ServerHello.java:363)
at java.base/sun.security.ssl.SSLHandshake.produce(SSLHandshake.java:436)
at java.base/sun.security.ssl.ClientHello$T12ClientHelloConsumer.consume(ClientHello.java:1101)
at java.base/sun.security.ssl.ClientHello$ClientHelloConsumer.onClientHello(ClientHello.java:851)
at java.base/sun.security.ssl.ClientHello$ClientHelloConsumer.consume(ClientHello.java:810)
at java.base/sun.security.ssl.SSLHandshake.consume(SSLHandshake.java:392)
at java.base/sun.security.ssl.HandshakeContext.dispatch(HandshakeContext.java:444)
at java.base/sun.security.ssl.SSLEngineImpl$DelegatedTask$DelegatedAction.run(SSLEngineImpl.java:1065)
at java.base/sun.security.ssl.SSLEngineImpl$DelegatedTask$DelegatedAction.run(SSLEngineImpl.java:1052)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/sun.security.ssl.SSLEngineImpl$DelegatedTask.run(SSLEngineImpl.java:999)
at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.fill(SslConnection.java:775)
at org.eclipse.jetty.server.NegotiatingServerConnection.fill(NegotiatingServerConnection.java:153)
at org.eclipse.jetty.server.NegotiatingServerConnection.onFillable(NegotiatingServerConnection.java:98)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:281)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:102)
at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:291)
at org.eclipse.jetty.io.ssl.SslConnection$3.succeeded(SslConnection.java:151)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:102)
at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:118)
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:366)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:760)
at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:678)
at java.base/java.lang.Thread.run(Thread.java:834)
2021-04-18 01:10:58.416:WARNejuts.EatWhatYouKill:qtp1585787493-2204:
java.lang.IllegalStateException
at org.eclipse.jetty.alpn.server.ALPNServerConnection.select(ALPNServerConnection.java:87)
at org.eclipse.jetty.alpn.java.server.JDK9ServerALPNProcessor$ALPNCallback.apply(JDK9ServerALPNProcessor.java:74)
at org.eclipse.jetty.alpn.java.server.JDK9ServerALPNProcessor$ALPNCallback.apply(JDK9ServerALPNProcessor.java:59)
at java.base/sun.security.ssl.AlpnExtension$SHAlpnProducer.produce(AlpnExtension.java:378)
at java.base/sun.security.ssl.SSLExtension.produce(SSLExtension.java:532)
at java.base/sun.security.ssl.SSLExtensions.produce(SSLExtensions.java:228)
at java.base/sun.security.ssl.ServerHello$T12ServerHelloProducer.produce(ServerHello.java:363)
at java.base/sun.security.ssl.SSLHandshake.produce(SSLHandshake.java:436)
at java.base/sun.security.ssl.ClientHello$T12ClientHelloConsumer.consume(ClientHello.java:1101)
at java.base/sun.security.ssl.ClientHello$ClientHelloConsumer.onClientHello(ClientHello.java:851)
at java.base/sun.security.ssl.ClientHello$ClientHelloConsumer.consume(ClientHello.java:810)
at java.base/sun.security.ssl.SSLHandshake.consume(SSLHandshake.java:392)
at java.base/sun.security.ssl.HandshakeContext.dispatch(HandshakeContext.java:444)
at java.base/sun.security.ssl.SSLEngineImpl$DelegatedTask$DelegatedAction.run(SSLEngineImpl.java:1065)
at java.base/sun.security.ssl.SSLEngineImpl$DelegatedTask$DelegatedAction.run(SSLEngineImpl.java:1052)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/sun.security.ssl.SSLEngineImpl$DelegatedTask.run(SSLEngineImpl.java:999)
at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.fill(SslConnection.java:775)
at org.eclipse.jetty.server.NegotiatingServerConnection.fill(NegotiatingServerConnection.java:153)
at org.eclipse.jetty.server.NegotiatingServerConnection.onFillable(NegotiatingServerConnection.java:98)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:281)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:102)
at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:291)
at org.eclipse.jetty.io.ssl.SslConnection$3.succeeded(SslConnection.java:151)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:102)
at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:118)
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:366)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:760)
at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:678)
at java.base/java.lang.Thread.run(Thread.java:834)
I'm using http2, just like the @Erel tutorial.
srvr.Http2Enabled = True
ConfigureSSL (443)
B4X:
srvr.Http2Enabled = True
ConfigureSSL (443)
Private Sub ConfigureSSL (SslPort As Int)
Dim ssl As SslConfiguration
ssl.Initialize
ssl.SetKeyStorePath(File.DirApp, "key.keystore")
ssl.KeyStorePassword = "dasdasdsd"
ssl.KeyManagerPassword = "dasdasdsd"
srvr.SetSslConfiguration(ssl, SslPort)
srvr.AddFilter("/*", "HttpsFilter", False)
End Sub
Public Sub Filter(req As ServletRequest, resp As ServletResponse) As Boolean
If req.Secure Then
Return True
Else
resp.SendRedirect(req.FullRequestURI.Replace("http:", "https:").Replace(Main.srvr.Port, Main.srvr.SslPort))
Return False
End If
End Sub
everything exactly as in the ssl and http2 tutorial.
the ssl certificate is valid and generated by the certbot website.
the jar is being compiled in java11 and i'm also running on vps using java11.
thank you all, any tip is welcome to find this error, remembering again, I have no problem accessing the site, I don't know exactly when this log happens, but every day this error is in the logs.
thxx all