nacos server 2.0.3 + springboot2.7.3+springcloud 2021.0.8 + springcloud alibaba 2021.0.4.0
报错:
2025-12-25 09:48:08 [/] [com.alibaba.nacos.client.remote.worker] INFO c.alibaba.nacos.common.remote.client - [87abbd67-19c3-4771-94ad-2c63b7657a45] Fail to connect server, after trying 8 times, last try server is {serverIp = ‘x.x.x.x’, server main port = 8858}, error = unknown
2025-12-25 09:48:08 [/] [com.alibaba.nacos.client.remote.worker] ERROR c.a.n.c.r.client.grpc.GrpcClient - Server check fail, please check server x.x.x.x ,port 9858 is available , error ={}
java.util.concurrent.TimeoutException: Waited 3000 milliseconds (plus 5 milliseconds, 650500 nanoseconds delay) for com.alibaba.nacos.shaded.io.grpc.stub.ClientCalls$GrpcFuture@693c5d9a[status=PENDING, info=[GrpcFuture{clientCall={delegate={delegate=ClientCallImpl{method=MethodDescriptor{fullMethodName=Request/request, type=UNARY, idempotent=false, safe=false, sampledToLocalTracing=true, requestMarshaller=com.alibaba.nacos.shaded.io.grpc.protobuf.lite.ProtoLiteUtils$MessageMarshaller@1e512b3, responseMarshaller=com.alibaba.nacos.shaded.io.grpc.protobuf.lite.ProtoLiteUtils$MessageMarshaller@a69c4c3, schemaDescriptor=com.alibaba.nacos.api.grpc.auto.RequestGrpc$RequestMethodDescriptorSupplier@26b3eb48}}}}}]]
at com.alibaba.nacos.shaded.com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:508)
at com.alibaba.nacos.common.remote.client.grpc.GrpcClient.serverCheck(GrpcClient.java:148)
at com.alibaba.nacos.common.remote.client.grpc.GrpcClient.connectToServer(GrpcClient.java:264)
at com.alibaba.nacos.common.remote.client.RpcClient.reconnect(RpcClient.java:522)
at com.alibaba.nacos.common.remote.client.RpcClient.lambda$start$2(RpcClient.java:370)
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)

nacos server 2.0.3 + springboot2.7.3+springcloud 2021.0.8 + springcloud alibaba 2021.0.5.0
报错:
com.alibaba.nacos.api.exception.NacosException: Client not connected, current status:STARTING at com.alibaba.nacos.common.remote.client.RpcClient.request(RpcClient.java:639) at com.alibaba.nacos.common.remote.client.RpcClient.request(RpcClient.java:619)

ai建议最稳定的是
Java: 8
Spring Boot: 2.5.14
Spring Cloud: 2021.0.3
Spring Cloud Alibaba:2021.0.4.0
Nacos Server: 2.0.3

目前一个运行很久的旧项目是:
Java: 8
Spring Boot: 2.5.14
Spring Cloud: 2020.0.6
Spring Cloud Alibaba:2021.1
Nacos Server: 2.0.3
nacos-client :1.4.4

作者:张三  创建时间:2025-12-26 11:25
最后编辑:张三  更新时间:2026-01-14 17:39