Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

使用new Invoker 直接连接Dubbo 需要指定path参数否则报错 #8

Open
babybreath opened this issue Sep 25, 2017 · 2 comments

Comments

@babybreath
Copy link
Contributor

const invoker = new ZD.Invoker(
'dubbo://[host]/[port]/[path]?interface=[path]&methods=[methods]',
{path: [path]}
)
必须在参数中指定path字段否则报错

@yueyangxiaoyi
Copy link

{ NO_NODE: Exception: NO_NODE[-101]
at emitOne (events.js:116:13)
at Socket.emit (events.js:211:7)
at addChunk (_stream_readable.js:263:12)
at readableAddChunk (_stream_readable.js:250:11)
at Socket.Readable.push (_stream_readable.js:208:10)
at TCP.onread (net.js:594:20)
code: -101,
name: 'NO_NODE',
path: undefined,
message: 'Exception: NO_NODE[-101]' }

这个是什么问题呢?我向刚才上面那样设置也不能成功

@Corey600
Copy link
Owner

@yueyangxiaoyi 看看这个错误是哪个模块报出的,我猜可能是 zookeeper 节点没找到

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants