bert82503 commented on issue #11128: URL: https://github.com/apache/dubbo/issues/11128#issuecomment-2437418890
`dubbo-3.3.1`报错如下,ZooKeeper-server 版本较低,客户端只能使用 `zookeeper-3.4.14`。 若使用`dubbo-3.2.16`和`JDK-8`,运行正常。 `OpenJDK-21` zookeeper.version=3.4.14-4c25d480e66aadd371de8bd2fd8da255ac140bcf 2024-10-25 17:51:24,920 [WARN] [TID: N/A] [] org.apache.zookeeper.ClientCnxn Session 0x0 for server 172.16.150.60/<unresolved>:2181, unexpected error, closing socket connection and attempting reconnect java.lang.IllegalArgumentException: Unable to canonicalize address 172.16.150.60/<unresolved>:2181 because it's not resolvable 2024-10-25 17:51:24,951 [ERROR] [TID: N/A] [] o.a.d.c.d.DefaultModuleDeployer [DUBBO] Model start failed: Dubbo Module[1.1.1] start failed: java.lang.RuntimeException: Can not create registry service-discovery-registry://172.16.150.60:2181/org.apache.dubbo.registry.RegistryService?REGISTRY_CLUSTER=default&application=lefit-gateway-admin&check.serializable=false&dubbo=2.0.2&executor-management-mode=isolation&file-cache=true&interface=org.apache.dubbo.registry.RegistryService&logger=slf4j&metadata-service-protocol=dubbo&owner=lefit&pid=21301&qos.port=22222®ister=false®istry=zookeeper&release=3.3.1&serialize.check.status=DISABLE, dubbo version: 3.3.1, current host: 172.16.22.50, error code: 5-14. This may be caused by , go to https://dubbo.apache.org/faq/5/14 to find instructions. java.lang.RuntimeException: Can not create registry service-discovery-registry://172.16.150.60:2181/org.apache.dubbo.registry.RegistryService?REGISTRY_CLUSTER=default&application=lefit-gateway-admin&check.serializable=false&dubbo=2.0.2&executor-management-mode=isolation&file-cache=true&interface=org.apache.dubbo.registry.RegistryService&logger=slf4j&metadata-service-protocol=dubbo&owner=lefit&pid=21301&qos.port=22222®ister=false®istry=zookeeper&release=3.3.1&serialize.check.status=DISABLE 使用ZK本地地址,也不行。(`dubbo.registry.address=zookeeper://localhost:2181`) 没有开启任何代理 org.apache.zookeeper.ClientCnxn Session 0x0 for server localhost/<unresolved>:2181, unexpected error, closing socket connection and attempting reconnect java.lang.IllegalArgumentException: Unable to canonicalize address localhost/<unresolved>:2181 because it's not resolvable -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
