- 问题
dubbo连接zookeeper提示 zookeeper not connected - 原因
原因是连接超时导致的,默认连接超时是3秒 - 解决
方案1:dubbo和zookeeper在同一个内网下
方案2:配置超时时间,改长点,如20秒
dubbo.config-center.timeout=20000
dubbo: zookeeper not connected
猜你喜欢
转载自blog.csdn.net/Lossdate/article/details/113578121
今日推荐
周排行