Comments (5)
Oh, it depends on your device, some device use UDP, some use TCP, I covered it in my code, but I didn't see a device use port 80 before, it usually uses port 4370 both for TCP or UDP
from node-zklib.
Thanks,
it seems the TCP error is also thrown if a pointing device is outside the local network example: ip=device.ddns.net that resolves to 80.90.100.110, even-though both TCP80 and UDP4370 ports are open and the device is accessible using ZK software
ZKError {
err: Error: connect ETIMEDOUT 80.90.100.110:4370
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1141:16) {
errno: 'ETIMEDOUT',
code: 'ETIMEDOUT',
syscall: 'connect',
address: '80.90.100.110',
port: 4370
},
ip: 'device.ddns.net',
command: 'TCP CONNECT'
}
I wonder if there is a port problem here?
from node-zklib.
Hello again,
OK using your comment about port 4370 as UDP and TCP, I opened port 4370 on TCP and tried and it worked!!!
So for this to work, port 4370 must be open on both TCP and UDP and the program chooses which one to use.
But one issue is when the program chooses TCP, the getUsers will not return the password and Card Number?
thank you
from node-zklib.
Thanks,
it seems the TCP error is also thrown if a pointing device is outside the local network example: ip=device.ddns.net that resolves to 80.90.100.110, even-though both TCP80 and UDP4370 ports are open and the device is accessible using ZK software
ZKError {
err: Error: connect ETIMEDOUT 80.90.100.110:4370
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1141:16) {
errno: 'ETIMEDOUT',
code: 'ETIMEDOUT',
syscall: 'connect',
address: '80.90.100.110',
port: 4370
},
ip: 'device.ddns.net',
command: 'TCP CONNECT'
}I wonder if there is a port problem here?
I think it's my lib's problem, but I can't fix this now with my resource, all my test devices are used in my company so it's hard for me to request them open another port
from node-zklib.
Hello again,
OK using your comment about port 4370 as UDP and TCP, I opened port 4370 on TCP and tried and it worked!!!
So for this to work, port 4370 must be open on both TCP and UDP and the program chooses which one to use.
But one issue is when the program chooses TCP, the getUsers will not return the password and Card Number?
thank you
glad to hear that, the missing properties is caused by lacking document, I don't know how to extract it :(
from node-zklib.
Related Issues (20)
- ZKError: TIMEOUT_ON_WRITING_MESSAGE upon client socket reconnect. HOT 8
- How to add a user with fingerprint HOT 6
- getting all device data
- getRealTimeLogs retrieved data HOT 4
- get attendance timeout with large amounts of data HOT 2
- How to add a new user?
- How to configure node-zklib for multiple terminal HOT 2
- How to get realtime log ? HOT 4
- NodeRed HOT 1
- CMD_OPTIONS_RRQ returns = instead 2 in some instances. HOT 1
- timeout error HOT 2
- How upload / Download user finger print template node-zklib ? HOT 4
- How to set the Comm Password? HOT 1
- RangeError [ERR_OUT_OF_RANGE]: The value of "offset" is out of range. It must be >= 0 and <= 4. Received 24 HOT 3
- Getting error on getTime method, although it's getting user and attendance records.
- This log showed that you ran into TIMEOUT error ,and just that ...
- how to get the total number of biophoto/userpic, or if a user has a biophoto/userpic?
- can we get attendence Recode between Date range?
- Does this package support ZKTeco F18? HOT 1
- Attendance data is not consistent HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-zklib.