Created
August 10, 2019 16:20
-
-
Save rmohta/51bf897549381c662b5ed9b3b7edc170 to your computer and use it in GitHub Desktop.
Error starting example/annotated-http-service/Main
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
commit b545a9d06ac9f5a861de1b92ce75bd0ebcc31242 (HEAD -> master, origin/master, origin/HEAD) | |
Author: Trustin Lee <[email protected]> | |
Date: Sat Aug 10 09:37:37 2019 +0900 | |
Update the project version to 0.90.1-SNAPSHOT | |
====================== | |
** Change to Main class | |
static Server newServer(int port) throws CertificateException, SSLException { | |
final ServerBuilder sb = new ServerBuilder(); | |
return sb.https(port) | |
.annotatedService("/pathPattern", new PathPatternService()) | |
.annotatedService("/injection", new InjectionService()) | |
.annotatedService("/messageConverter", new MessageConverterService()) | |
.annotatedService("/exception", new ExceptionHandlerService()) | |
.serviceUnder("/docs", new DocService()) | |
.tlsSelfSigned() | |
.build(); | |
} | |
====== | |
[armeria-common-worker-epoll-2-1] WARN com.linecorp.armeria.server.HttpServerPipelineConfigurator - [id: 0xc833df45, L:/127.0.0.1:8080 - R:/127.0.0.1:46360] Unexpected exception: | |
io.netty.handler.codec.DecoderException: java.lang.IllegalArgumentException: TLSv1.3 | |
at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:475) | |
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:283) | |
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374) | |
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360) | |
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:352) | |
at io.netty.handler.flush.FlushConsolidationHandler.channelRead(FlushConsolidationHandler.java:154) | |
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374) | |
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360) | |
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:352) | |
at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1421) | |
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374) | |
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360) | |
at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:930) | |
at io.netty.channel.epoll.AbstractEpollStreamChannel$EpollStreamUnsafe.epollInReady(AbstractEpollStreamChannel.java:794) | |
at io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:424) | |
at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:326) | |
at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:918) | |
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) | |
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) | |
at java.lang.Thread.run(Thread.java:748) | |
Caused by: java.lang.IllegalArgumentException: TLSv1.3 | |
at sun.security.ssl.ProtocolVersion.valueOf(ProtocolVersion.java:187) | |
at sun.security.ssl.ProtocolList.convert(ProtocolList.java:84) | |
at sun.security.ssl.ProtocolList.<init>(ProtocolList.java:52) | |
at sun.security.ssl.SSLEngineImpl.setEnabledProtocols(SSLEngineImpl.java:2070) | |
at io.netty.handler.ssl.JdkSslContext.configureAndWrapEngine(JdkSslContext.java:341) | |
at io.netty.handler.ssl.JdkSslContext.newEngine(JdkSslContext.java:330) | |
at io.netty.handler.ssl.SslContext.newHandler(SslContext.java:943) | |
at io.netty.handler.ssl.SslContext.newHandler(SslContext.java:935) | |
at io.netty.handler.ssl.SniHandler.newSslHandler(SniHandler.java:151) | |
at io.netty.handler.ssl.SniHandler.replaceHandler(SniHandler.java:133) | |
at io.netty.handler.ssl.SniHandler.onLookupComplete(SniHandler.java:114) | |
at io.netty.handler.ssl.AbstractSniHandler.select(AbstractSniHandler.java:211) | |
at io.netty.handler.ssl.AbstractSniHandler.decode(AbstractSniHandler.java:203) | |
at io.netty.handler.codec.ByteToMessageDecoder.decodeRemovalReentryProtection(ByteToMessageDecoder.java:505) | |
at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:444) | |
... 19 more | |
[armeria-common-worker-epoll-2-1] WARN com.linecorp.armeria.server.HttpServerPipelineConfigurator - [id: 0xc833df45, L:/127.0.0.1:8080 ! R:/127.0.0.1:46360] Unexpected exception: | |
io.netty.handler.codec.DecoderException: java.lang.IllegalArgumentException: TLSv1.3 | |
at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:475) | |
at io.netty.handler.codec.ByteToMessageDecoder.channelInputClosed(ByteToMessageDecoder.java:408) | |
at io.netty.handler.codec.ByteToMessageDecoder.channelInputClosed(ByteToMessageDecoder.java:375) | |
at io.netty.handler.codec.ByteToMessageDecoder.channelInactive(ByteToMessageDecoder.java:358) | |
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:257) | |
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:243) | |
at io.netty.channel.AbstractChannelHandlerContext.fireChannelInactive(AbstractChannelHandlerContext.java:236) | |
at io.netty.channel.DefaultChannelPipeline$HeadContext.channelInactive(DefaultChannelPipeline.java:1416) | |
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:257) | |
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:243) | |
at io.netty.channel.DefaultChannelPipeline.fireChannelInactive(DefaultChannelPipeline.java:912) | |
at io.netty.channel.AbstractChannel$AbstractUnsafe$8.run(AbstractChannel.java:816) | |
at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163) | |
at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:416) | |
at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:331) | |
at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:918) | |
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) | |
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) | |
at java.lang.Thread.run(Thread.java:748) | |
Caused by: java.lang.IllegalArgumentException: TLSv1.3 | |
at sun.security.ssl.ProtocolVersion.valueOf(ProtocolVersion.java:187) | |
at sun.security.ssl.ProtocolList.convert(ProtocolList.java:84) | |
at sun.security.ssl.ProtocolList.<init>(ProtocolList.java:52) | |
at sun.security.ssl.SSLEngineImpl.setEnabledProtocols(SSLEngineImpl.java:2070) | |
at io.netty.handler.ssl.JdkSslContext.configureAndWrapEngine(JdkSslContext.java:341) | |
at io.netty.handler.ssl.JdkSslContext.newEngine(JdkSslContext.java:330) | |
at io.netty.handler.ssl.SslContext.newHandler(SslContext.java:943) | |
at io.netty.handler.ssl.SslContext.newHandler(SslContext.java:935) | |
at io.netty.handler.ssl.SniHandler.newSslHandler(SniHandler.java:151) | |
at io.netty.handler.ssl.SniHandler.replaceHandler(SniHandler.java:133) | |
at io.netty.handler.ssl.SniHandler.onLookupComplete(SniHandler.java:114) | |
at io.netty.handler.ssl.AbstractSniHandler.select(AbstractSniHandler.java:211) | |
at io.netty.handler.ssl.AbstractSniHandler.decode(AbstractSniHandler.java:203) | |
at io.netty.handler.codec.ByteToMessageDecoder.decodeRemovalReentryProtection(ByteToMessageDecoder.java:505) | |
at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:444) | |
... 18 more |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment