omnip620 / node-zookeeper-dubbo

A middleware helps node to communicate dubbo by using its default protocol, which is registered in zookeeper
300 stars 80 forks source link

报Cannot read property 'split' of undefined #58

Open chinaWangXianRong opened 6 years ago

chinaWangXianRong commented 6 years ago

您好,在您的项目中index.js中报错TypeError: Cannot read property 'split' of undefined at /home/rd-web/node_modules/node-zookeeper-dubbo/index.js:145:71 at Service._execute (/home/rd-web/node_modules/node-zookeeper-dubbo/index.js:143:10) ....... 看了下代码,是查找host时出错,一般是zookeeper没有提供服务报这种错误,但是我们的服务是一直启动的,重启现在的项目就可以了正常访问了 ,不知道还有什么原因导致这个结果,服务项目是分布式springboot项目。 问下 这个问题还有什么原因导致?