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

Error when users registered in device is too large? #22

Open
csulit opened this issue May 18, 2020 · 2 comments
Open

Error when users registered in device is too large? #22

csulit opened this issue May 18, 2020 · 2 comments

Comments

@csulit
Copy link
Contributor

csulit commented May 18, 2020

ZKError {
  err: RangeError [ERR_OUT_OF_RANGE]: The value of "offset" is out of range. It must be >= 0 and <= 4. Received 24
      at boundsError (internal/buffer.js:76:9)
      at Buffer.readUInt32LE (internal/buffer.js:210:5)
      at Buffer.readUIntLE (internal/buffer.js:168:17)
      at ZKLibTCP.getInfo (C:\Users\csulit\Documents\node-zklib-master\zklibtcp.js:461:22)
      at processTicksAndRejections (internal/process/task_queues.js:97:5)
      at async ZKLib.functionWrapper (C:\Users\csulit\Documents\node-zklib-master\zklib.js:23:38)
      at async ZKLib.getInfo (C:\Users\csulit\Documents\node-zklib-master\zklib.js:182:16)
      at async test (C:\Users\csulit\Documents\node-zklib-master\test.js:10:15) {
    code: 'ERR_OUT_OF_RANGE'
  },
  ip: '192.168.139.81',
  command: '[TCP] undefined'
}
@caobo171
Copy link
Owner

this error occured when you use getUsers() right ? how many users in the device that you have @csulit ?

@marhao
Copy link

marhao commented May 12, 2023

how to fix this error @csulit

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