You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Log file created at: 2019/04/17 16:05:36
Running on machine: noone
Binary: Built with gc go1.12.4 for linux/amd64
Log line format: [IWEF]mmdd hh:mm:ss.uuuuuu threadid file:line] msg
E0417 16:05:36.055643 12645 motan.go:282] [ZkRegistry] connect server error. err:lookup : no such host
client.ERROR
Log file created at: 2019/04/17 16:05:57
Running on machine: noone
Binary: Built with gc go1.12.4 for linux/amd64
Log line format: [IWEF]mmdd hh:mm:ss.uuuuuu threadid file:line] msg
注册中心使用
zookeeper
集群方式时,服务无法正常注册到注册中心日志信息如下:
server.ERROR
client.ERROR
执行
go run client.go
时有如下输出:zookeeper
集群是使用docker
搭建的,同样情况下我使用Java
则不存在这个问题,基本可以排除zookeeper
集群的问题。另外当
zk-registry
中配置host
和port
为任意一个zookeeper
节点时,都可以正常运行请问一下,这个可能是什么原因引起的?
具体配置如下:
motan-server.yaml
motan-client.yaml
代码如下:
server.go
client.go
The text was updated successfully, but these errors were encountered: