一、该问题的重现步骤是什么?
1. 将nacos版本从1.3升级到2.2.3之后, 微服务启动后,运行几分钟报错
二、你期待的结果是什么?实际看到的又是什么?
三、你正在使用的是什么产品,什么版本?在什么操作系统上?
四、请提供详细的错误堆栈信息,这很重要。
报错日志:
2023-12-21 08:49:55.897 ERROR 1 --- [s.client.Worker] com.alibaba.nacos.common.remote.client : Send request fail, request = ConfigBatchListenRequest{headers={accessToken=eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJuYWNvcyIsImV4cCI6MTcwMzE2NjI5Mn0.5W2F48p4ezWGCuQN2DfObXvMZCFBQE4lhnRXS0iO8EVxL-KLSwefwChVqd_xVn3QKemqMoNl679-U9ib8pRZ3g, charset=UTF-8, Client-AppName=unknown, Client-RequestToken=b109c75cee4955dc53a69fbd16e483ab, Client-RequestTS=1703148592893, exConfigInfo=true}, requestId='null'}, retryTimes = 0, errorMessage = java.util.concurrent.TimeoutException: Waited 3000 milliseconds (plus 101606 nanoseconds delay) for com.alibaba.nacos.shaded.io.grpc.stub.ClientCalls$GrpcFuture@51af9cf0[status=PENDING, info=[GrpcFuture{clientCall=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@2fc8dd9, responseMarshaller=com.alibaba.nacos.shaded.io.grpc.protobuf.lite.ProtoLiteUtils$MessageMarshaller@3b3321f1, schemaDescriptor=com.alibaba.nacos.api.grpc.auto.RequestGrpc$RequestMethodDescriptorSupplier@ba58cee3}}}]] 2023/12/21 16:49:552023-12-21 08:49:55.905 ERROR 1 --- [s.client.Worker] c.a.n.client.config.impl.ClientWorker : Async listen config change error 2023/12/21 16:49:55 2023/12/21 16:49:55com.alibaba.nacos.api.exception.NacosException: java.util.concurrent.TimeoutException: Waited 3000 milliseconds (plus 101606 nanoseconds delay) for com.alibaba.nacos.shaded.io.grpc.stub.ClientCalls$GrpcFuture@51af9cf0[status=PENDING, info=[GrpcFuture{clientCall=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@2fc8dd9, responseMarshaller=com.alibaba.nacos.shaded.io.grpc.protobuf.lite.ProtoLiteUtils$MessageMarshaller@3b3321f1, schemaDescriptor=com.alibaba.nacos.api.grpc.auto.RequestGrpc$RequestMethodDescriptorSupplier@ba58cee3}}}]] 2023/12/21 16:49:55 at com.alibaba.nacos.common.remote.client.grpc.GrpcConnection.request(GrpcConnection.java:78) 2023/12/21 16:49:55 at com.alibaba.nacos.common.remote.client.RpcClient.request(RpcClient.java:645) 2023/12/21 16:49:55 at com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient.requestProxy(ClientWorker.java:1011) 2023/12/21 16:49:55 at com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient.requestProxy(ClientWorker.java:992) 2023/12/21 16:49:55 at com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient.executeConfigListen(ClientWorker.java:786) 2023/12/21 16:49:55 at com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient.lambda$startInternal$2(ClientWorker.java:704) 2023/12/21 16:49:55 at com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$$Lambda$232/0x00000000e89d4960.run(Unknown Source) 2023/12/21 16:49:55 at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) 2023/12/21 16:49:55 at java.util.concurrent.FutureTask.run(Unknown Source) 2023/12/21 16:49:55 at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(Unknown Source) 2023/12/21 16:49:55 at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) 2023/12/21 16:49:55 at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) 2023/12/21 16:49:55 at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) 2023/12/21 16:49:55 at java.lang.Thread.run(Unknown Source) 2023/12/21 16:49:55Caused by: java.util.concurrent.TimeoutException: Waited 3000 milliseconds (plus 101606 nanoseconds delay) for com.alibaba.nacos.shaded.io.grpc.stub.ClientCalls$GrpcFuture@51af9cf0[status=PENDING, info=[GrpcFuture{clientCall=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@2fc8dd9, responseMarshaller=com.alibaba.nacos.shaded.io.grpc.protobuf.lite.ProtoLiteUtils$MessageMarshaller@3b3321f1, schemaDescriptor=com.alibaba.nacos.api.grpc.auto.RequestGrpc$RequestMethodDescriptorSupplier@ba58cee3}}}]] 2023/12/21 16:49:55 at com.alibaba.nacos.shaded.com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:508) 2023/12/21 16:49:55 at com.alibaba.nacos.common.remote.client.grpc.GrpcConnection.request(GrpcConnection.java:76) 2023/12/21 16:49:55 ... 13 common frames omitted 2023/12/21 16:49:55
五、若有更多详细信息,请在下面提供。
开启9848,9849端口
端口有做映射,宿主机防火墙是关闭状态,不是一直报错,目前看日志,出现这种报错,都是凌晨
023-12-21 00:21:47.620 ERROR 1 --- [ing.grpc.redo.0] com.alibaba.nacos.common.remote.client : Send request fail, request = InstanceRequest{headers={accessToken=eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJuYWNvcyIsImV4cCI6MTcwMzA5NDg2NH0._raxLaW_7qyXeUW3E5kXUCf5hq_Au7OeiIz6zo129WjP2cHO2oztY4ufGcwDIGZp05H_to4vadC15VmstEK2VA, app=blade-schedulexxl}, requestId='null'}, retryTimes = 0, errorMessage = java.util.concurrent.TimeoutException: Waited 3000 milliseconds (plus 101811 nanoseconds delay) for com.alibaba.nacos.shaded.io.grpc.stub.ClientCalls$GrpcFuture@6782b332[status=PENDING, info=[GrpcFuture{clientCall=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@ba3b6b0d, responseMarshaller=com.alibaba.nacos.shaded.io.grpc.protobuf.lite.ProtoLiteUtils$MessageMarshaller@8257a148, schemaDescriptor=com.alibaba.nacos.api.grpc.auto.RequestGrpc$RequestMethodDescriptorSupplier@153699cb}}}]]
2023/12/21 00:21:472023-12-21 00:21:47.620 ERROR 1 --- [ing.grpc.redo.0] com.alibaba.nacos.client.naming : Redo instance operation REGISTER for DEFAULT_GROUP@@blade-schedulexxl failed.
2023/12/21 00:21:47
2023/12/21 00:21:47com.alibaba.nacos.api.exception.NacosException: java.util.concurrent.TimeoutException: Waited 3000 milliseconds (plus 101811 nanoseconds delay) for com.alibaba.nacos.shaded.io.grpc.stub.ClientCalls$GrpcFuture@6782b332[status=PENDING, info=[GrpcFuture{clientCall=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@ba3b6b0d, responseMarshaller=com.alibaba.nacos.shaded.io.grpc.protobuf.lite.ProtoLiteUtils$MessageMarshaller@8257a148, schemaDescriptor=com.alibaba.nacos.api.grpc.auto.RequestGrpc$RequestMethodDescriptorSupplier@153699cb}}}]]
2023/12/21 00:21:47 at com.alibaba.nacos.common.remote.client.grpc.GrpcConnection.request(GrpcConnection.java:78)
2023/12/21 00:21:47 at com.alibaba.nacos.common.remote.client.RpcClient.request(RpcClient.java:645)
2023/12/21 00:21:47 at com.alibaba.nacos.common.remote.client.RpcClient.request(RpcClient.java:623)
2023/12/21 00:21:47 at com.alibaba.nacos.client.naming.remote.gprc.NamingGrpcClientProxy.requestToServer(NamingGrpcClientProxy.java:357)
2023/12/21 00:21:47 at com.alibaba.nacos.client.naming.remote.gprc.NamingGrpcClientProxy.doRegisterService(NamingGrpcClientProxy.java:210)
2023/12/21 00:21:47 at com.alibaba.nacos.client.naming.remote.gprc.redo.RedoScheduledTask.processRegisterRedoType(RedoScheduledTask.java:102)
2023/12/21 00:21:47 at com.alibaba.nacos.client.naming.remote.gprc.redo.RedoScheduledTask.redoForInstance(RedoScheduledTask.java:79)
2023/12/21 00:21:47 at com.alibaba.nacos.client.naming.remote.gprc.redo.RedoScheduledTask.redoForInstances(RedoScheduledTask.java:61)
2023/12/21 00:21:47 at com.alibaba.nacos.client.naming.remote.gprc.redo.RedoScheduledTask.run(RedoScheduledTask.java:51)
2023/12/21 00:21:47 at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
2023/12/21 00:21:47 at java.util.concurrent.FutureTask.runAndReset(Unknown Source)
2023/12/21 00:21:47 at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source)
2023/12/21 00:21:47 at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
2023/12/21 00:21:47 at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
2023/12/21 00:21:47 at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
2023/12/21 00:21:47 at java.lang.Thread.run(Unknown Source)
2023/12/21 00:21:47Caused by: java.util.concurrent.TimeoutException: Waited 3000 milliseconds (plus 101811 nanoseconds delay) for com.alibaba.nacos.shaded.io.grpc.stub.ClientCalls$GrpcFuture@6782b332[status=PENDING, info=[GrpcFuture{clientCall=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@ba3b6b0d, responseMarshaller=com.alibaba.nacos.shaded.io.grpc.protobuf.lite.ProtoLiteUtils$MessageMarshaller@8257a148, schemaDescriptor=com.alibaba.nacos.api.grpc.auto.RequestGrpc$RequestMethodDescriptorSupplier@153699cb}}}]]
2023/12/21 00:21:47 at com.alibaba.nacos.shaded.com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:508)
2023/12/21 00:21:47 at com.alibaba.nacos.common.remote.client.grpc.GrpcConnection.request(GrpcConnection.java:76)
2023/12/21 00:21:47 ... 15 common frames omitted
2023/12/21 00:21:47
扫一扫访问 Blade技术社区 移动端