-
Notifications
You must be signed in to change notification settings - Fork 341
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
Timeout error #150
Comments
timeout means that the device didn't answer to the tcp command.
reopen if you have more information (pcap file to analize, maybe it uses different commands) |
Sir, the ping its okay and i've tried udp connection but it fail too I attached 2 files, the zksoftware.zip is the trace using zk software with succesful connection and the pythonlib.zip is the timeout error. |
ok, what I see from your zk software PCAP is that the connect command has 2 extra bytes, 0x6c 0x00, I haven't found this behavior before, conn = zk.connect(b'\x6c\x00') also don't forget that there's a comm password, so don't forget to add a password to the Instantiation line |
ok, after further checking, it seems it sends a lot of times that |
It seems that your device also sends an empty packet, I'm adding a retry in the MR if this doesn't work, I can only say that the firmware of your device is not supported by this library. |
@jvguerrero @kurenai-ryu Platform Information : ZMM200_TFT |
Hi sir, yes i found a solution but finally i used pure python and another library from Oficial ZKTeco 'cause this library use different commands. Btw i haven't tried realtime data but i can access to the general log data from users, and add/modify/delete user templates. Write me joel.ldp2015@gmail.com if want code 'cause idk if github have dm. Anyways thanks kurenai for your support, this library works fine for me with another device. |
Hi @jvguerrero could you please give me the name of the library, i think iam facing the same issue here. I would very appreciated, thank you |
This had nothing to do with the library. |
This is wrong, the port is base on machine configuration too |
|
Hi sir, i hope can you help me. I'm triying to conect a device with tcp procotol but during the process terminate itself with timeout error
I track the error in base.py file and it has produced in self.__tcp_data_recv = self.__sock.recv(response_size + 8)
The device is ZMM200_TFT
The text was updated successfully, but these errors were encountered: