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

连接dubbo报错 #65

Open
xiaohui1016 opened this issue Mar 20, 2018 · 1 comment
Open

连接dubbo报错 #65

xiaohui1016 opened this issue Mar 20, 2018 · 1 comment

Comments

@xiaohui1016
Copy link

throw new Error('offset: ' + offset + ' is out of buffer range.');

Error: offset: 4 is out of buffer range.
at constructor.Record.deserialize (C:\Users\Administrator\WebstormProjects\sip-node\node_modules\node-zookeeper-client\lib\jute\index.js:465:15)
at ConnectionManager.onSocketData (C:\Users\Administrator\WebstormProjects\sip-node\node_modules\node-zookeeper-client\lib\ConnectionManager.js:428:35)
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)

一直是这个错误,如果debug发现定义的方法签名一直是undefined
TypeError: Cannot read property 'xxx' of undefined

@arrowing
Copy link

arrowing commented May 7, 2018

楼主解决了吗?我也遇到了,毫无头绪。

经过大佬p412726700的加持,找到原因了,是zk的端口号错了。

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

2 participants