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

Exception: CONNECTION_LOSS #44

Open
jizhuofeng opened this issue Jul 25, 2017 · 1 comment
Open

Exception: CONNECTION_LOSS #44

jizhuofeng opened this issue Jul 25, 2017 · 1 comment

Comments

@jizhuofeng
Copy link

服务运行期间 出现异常CONNECTION_LOSS: Exception: CONNECTION_LOSS[-4]。。。
然后再调用请求会提示method not function.
应用如何捕获 该异常, 如何处理异常。

@jizhuofeng
Copy link
Author

const nzd = require('node-zookeeper-dubbo');
const options = {
。。。
}
options.java = require('js-to-java');

const dubbo = new nzd(options);

exports = module.exports = dubbo;

这样全局共享该实例, 当出现链接丢失时如何处理。

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

1 participant