DoubleJee opened a new issue, #637: URL: https://github.com/apache/rocketmq-clients/issues/637
### Before Creating the Bug Report - [X] I found a bug, not just asking a question, which should be created in [GitHub Discussions](https://github.com/apache/rocketmq-clients/discussions). - [X] I have searched the [GitHub Issues](https://github.com/apache/rocketmq-clients/issues) and [GitHub Discussions](https://github.com/apache/rocketmq-clients/discussions) of this repository and believe that this is not a duplicate. - [X] I have confirmed that this bug belongs to the current repository, not other repositories of RocketMQ. ### Programming Language of the Client Java ### Runtime Platform Environment **这是jdk1.8的:** 2023-11-17 11:00:47.038 INFO [21311] [SimpleConsumerImpl-0 STARTING] [o.a.r.c.j.i.c.SimpleConsumerImpl#?:?] - Begin to start the rocketmq simple consumer, clientId=gzzdeMacBook-Air.local@21311@0@k2y50xh3d 2023-11-17 11:00:47.040 INFO [21311] [SimpleConsumerImpl-0 STARTING] [o.a.r.c.j.i.ClientImpl#?:?] - Begin to start the rocketmq client, clientId=gzzdeMacBook-Air.local@21311@0@k2y50xh3d 2023-11-17 11:00:47.041 INFO [21311] [ClientManagerImpl-0 STARTING] [o.a.r.c.j.i.ClientManagerImpl#?:?] - Begin to start the client manager, clientId=gzzdeMacBook-Air.local@21311@0@k2y50xh3d 2023-11-17 11:00:47.047 INFO [21311] [ClientManagerImpl-0 STARTING] [o.a.r.c.j.i.ClientManagerImpl#?:?] - The client manager starts successfully, clientId=gzzdeMacBook-Air.local@21311@0@k2y50xh3d 2023-11-17 11:00:47.047 INFO [21311] [SimpleConsumerImpl-0 STARTING] [o.a.r.c.j.i.ClientImpl#?:?] - Begin to fetch topic(s) route data from remote during client startup, clientId=gzzdeMacBook-Air.local@21311@0@k2y50xh3d, topics=[topic_post_clicks_local] 2023-11-17 11:00:48.058 INFO [21311] [RocketmqClientScheduler-0-1] [o.a.r.c.j.i.ClientManagerImpl#?:?] - Start to log statistics, clientVersion=**5.0.5**, clientWrapperVersion=null, clientEndpoints=隐藏先:8080, os description=[Mac OS X 13.4], java description=[**Oracle Corporation Java HotSpot(TM) 64-Bit Server VM 25.361-b09**], clientId=gzzdeMacBook-Air.local@21311@0@k2y50xh3d 2023-11-17 11:00:51.583 ERROR [21311] [SimpleConsumerImpl-0 STARTING] [o.a.r.c.j.i.c.SimpleConsumerImpl#?:?] - Failed to start the rocketmq simple consumer, try to shutdown it, clientId=gzzdeMacBook-Air.local@21311@0@k2y50xh3d java.util.concurrent.ExecutionException: org.apache.rocketmq.shaded.io.grpc.StatusRuntimeException: DEADLINE_EXCEEDED: deadline exceeded after 2.917840542s. [buffered_nanos=2926200084, waiting_for_connection] at org.apache.rocketmq.shaded.com.google.common.util.concurrent.AbstractFuture.getDoneValue(AbstractFuture.java:588) at org.apache.rocketmq.shaded.com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:567) at org.apache.rocketmq.shaded.com.google.common.util.concurrent.FluentFuture$TrustedFuture.get(FluentFuture.java:91) at org.apache.rocketmq.client.java.impl.ClientImpl.startUp(ClientImpl.java:188) at org.apache.rocketmq.client.java.impl.consumer.SimpleConsumerImpl.startUp(SimpleConsumerImpl.java:93) at org.apache.rocketmq.shaded.com.google.common.util.concurrent.AbstractIdleService$DelegateService$1.run(AbstractIdleService.java:62) at org.apache.rocketmq.shaded.com.google.common.util.concurrent.Callables.lambda$threadRenaming$3(Callables.java:103) at java.lang.Thread.run(Thread.java:750) Caused by: org.apache.rocketmq.shaded.io.grpc.StatusRuntimeException: DEADLINE_EXCEEDED: deadline exceeded after 2.917840542s. [buffered_nanos=2926200084, waiting_for_connection] **这是jdk11的能正常连接,代码一样:** 2023-11-17 11:09:19.557 INFO [21493] [SimpleConsumerImpl-0 STARTING] [o.a.r.c.j.i.c.SimpleConsumerImpl#?:?] - Begin to start the rocketmq simple consumer, clientId=gzzdeMacBook-Air.local@21493@0@k9hnmpuge 2023-11-17 11:09:19.558 INFO [21493] [SimpleConsumerImpl-0 STARTING] [o.a.r.c.j.i.ClientImpl#?:?] - Begin to start the rocketmq client, clientId=gzzdeMacBook-Air.local@21493@0@k9hnmpuge 2023-11-17 11:09:19.558 INFO [21493] [ClientManagerImpl-0 STARTING] [o.a.r.c.j.i.ClientManagerImpl#?:?] - Begin to start the client manager, clientId=gzzdeMacBook-Air.local@21493@0@k9hnmpuge 2023-11-17 11:09:19.560 INFO [21493] [ClientManagerImpl-0 STARTING] [o.a.r.c.j.i.ClientManagerImpl#?:?] - The client manager starts successfully, clientId=gzzdeMacBook-Air.local@21493@0@k9hnmpuge 2023-11-17 11:09:19.560 INFO [21493] [SimpleConsumerImpl-0 STARTING] [o.a.r.c.j.i.ClientImpl#?:?] - Begin to fetch topic(s) route data from remote during client startup, clientId=gzzdeMacBook-Air.local@21493@0@k9hnmpuge, topics=[topic_post_clicks_local] 2023-11-17 11:09:20.561 INFO [21493] [RocketmqClientScheduler-0-2] [o.a.r.c.j.i.ClientManagerImpl#?:?] - Start to log statistics, clientVersion=**5.0.5**, clientWrapperVersion=null, clientEndpoints=隐藏先:8080, os description=[Mac OS X 13.4], java description=[**Oracle Corporation Java HotSpot(TM) 64-Bit Server VM 17.0.7+8-LTS-224**], clientId=gzzdeMacBook-Air.local@21493@0@k9hnmpuge 2023-11-17 11:09:20.583 INFO [21493] [RocketmqClientAsyncWorker-0-5] [o.a.r.c.j.i.ClientSessionImpl#?:?] - Receive settings from remote, endpoints=dns:rmq-cn-pe33b4ebu0o.cn-shanghai.rmq.aliyuncs.com:8081, clientId=gzzdeMacBook-Air.local@21493@0@k9hnmpuge 2023-11-17 11:09:20.605 INFO [21493] [RocketmqClientAsyncWorker-0-5] [o.a.r.c.j.m.ClientMeterManager#?:?] - Metrics is on, endpoints=dns:rmq-cn-pe33b4ebu0o.cn-shanghai.rmq.aliyuncs.com:8081, clientId=gzzdeMacBook-Air.local@21493@0@k9hnmpuge 2023-11-17 11:09:20.606 INFO [21493] [SimpleConsumerImpl-0 STARTING] [o.a.r.c.j.i.ClientImpl#?:?] - Fetch topic route data from remote successfully during startup, clientId=gzzdeMacBook-Air.local@21493@0@k9hnmpuge, topics=[topic_post_clicks_local] 2023-11-17 11:09:20.606 INFO [21493] [RocketmqClientAsyncWorker-0-5] [o.a.r.c.j.i.ClientImpl#?:?] - Fetch topic route successfully, clientId=gzzdeMacBook-Air.local@21493@0@k9hnmpuge, topic=topic_post_clicks_local, topicRouteData=TopicRouteData{messageQueueImpls=[rocketmq-broker-rmq-cn-pe33b4ebu0o-0.topic_post_clicks_local.0, rocketmq-broker-rmq-cn-pe33b4ebu0o-0.topic_post_clicks_local.1]} 2023-11-17 11:09:20.606 INFO [21493] [RocketmqClientAsyncWorker-0-5] [o.a.r.c.j.i.ClientSessionImpl#?:?] - Init settings successfully, endpoints=dns:rmq-cn-pe33b4ebu0o.cn-shanghai.rmq.aliyuncs.com:8081, clientId=gzzdeMacBook-Air.local@21493@0@k9hnmpuge 2023-11-17 11:09:20.606 INFO [21493] [SimpleConsumerImpl-0 STARTING] [o.a.r.c.j.i.ClientImpl#?:?] - The rocketmq client starts successfully, clientId=gzzdeMacBook-Air.local@21493@0@k9hnmpuge 2023-11-17 11:09:20.606 INFO [21493] [SimpleConsumerImpl-0 STARTING] [o.a.r.c.j.i.c.SimpleConsumerImpl#?:?] - The rocketmq simple consumer starts successfully, clientId=gzzdeMacBook-Air.local@21493@0@k9hnmpuge ### RocketMQ Version of the Client/Server 5.0.5 ### Run or Compiler Version 1.8 or 17 ### Describe the Bug 连不上 ### Steps to Reproduce 连上上 ### What Did You Expect to See? 1 ### What Did You See Instead? 1 ### Additional Context _No response_ -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@rocketmq.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org