Describe what problem you have encountered
I tried version 2.2.9 of sca and encountered the following error message.
我尝试了2.2.9版本的sca,遇到了以下报错信息。
java.lang.IllegalArgumentException: Invalid host or port: [ 9848
at com.alibaba.nacos.shaded.io.grpc.internal.GrpcUtil.authorityFromHostAndPort(GrpcUtil.java:488)
at com.alibaba.nacos.shaded.io.grpc.netty.shaded.io.grpc.netty.NettyChannelBuilder.<init>(NettyChannelBuilder.java:133)
at com.alibaba.nacos.shaded.io.grpc.netty.shaded.io.grpc.netty.NettyChannelBuilder.forAddress(NettyChannelBuilder.java:119)
at com.alibaba.nacos.shaded.io.grpc.netty.shaded.io.grpc.netty.NettyChannelProvider.builderForAddress(NettyChannelProvider.java:37)
at com.alibaba.nacos.shaded.io.grpc.netty.shaded.io.grpc.netty.NettyChannelProvider.builderForAddress(NettyChannelProvider.java:23)
at com.alibaba.nacos.shaded.io.grpc.ManagedChannelBuilder.forAddress(ManagedChannelBuilder.java:39)
at com.alibaba.nacos.common.remote.client.grpc.GrpcClient.createNewChannelStub(GrpcClient.java:143)
at com.alibaba.nacos.common.remote.client.grpc.GrpcClient.connectToServer(GrpcClient.java:299)
at com.alibaba.nacos.common.remote.client.RpcClient.reconnect(RpcClient.java:521)
at com.alibaba.nacos.common.remote.client.RpcClient.lambda$start$2(RpcClient.java:369)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:750)
Caused by: java.net.URISyntaxException: Expected closing bracket for IPv6 address at index 8: //[:9848
at java.net.URI$Parser.fail(URI.java:2847)
at java.net.URI$Parser.failExpecting(URI.java:2853)
at java.net.URI$Parser.parseServer(URI.java:3230)
at java.net.URI$Parser.parseAuthority(URI.java:3154)
at java.net.URI$Parser.parseHierarchical(URI.java:3096)
at java.net.URI$Parser.parse(URI.java:3062)
at java.net.URI.<init>(URI.java:673)
at com.alibaba.nacos.shaded.io.grpc.internal.GrpcUtil.authorityFromHostAndPort(GrpcUtil.java:486)
... 16 common frames omitted
After I upgraded to 2.2.10-RC, the above error no longer appeared, but the configuration information could not be obtained, and the following error appeared in the log.
当我升级至2.2.10-RC后,上面的报错不再出现,但获取不到配置信息,日志出现了下面的报错。
[NacosClientAuthServiceImpl] login http request failed url: http://[::1]:8848/nacos/v1/auth/users/login, params: {username=nacos}, bodyMap: {password=nacos}, errorMsg: Unexpected end of file from server
Describe what information you have read
yes.
I want to know which version can connect nacos using IPv6.
我想知道哪个版本可以使用IPv6连接nacos。
I want to use ipv6 connect the nacos server, but I encountered some problems!
我想要IPv6连接 nacos ,但是遇到了一些报错。
My env is this:
我使用的环境是:
and my application config is: 我的spring-boot配置是:
Which Component Nacos Discovery
Describe what problem you have encountered I tried version 2.2.9 of sca and encountered the following error message. 我尝试了2.2.9版本的sca,遇到了以下报错信息。
After I upgraded to 2.2.10-RC, the above error no longer appeared, but the configuration information could not be obtained, and the following error appeared in the log. 当我升级至2.2.10-RC后,上面的报错不再出现,但获取不到配置信息,日志出现了下面的报错。
Describe what information you have read yes.
I want to know which version can connect nacos using IPv6. 我想知道哪个版本可以使用IPv6连接nacos。