RPC connection failing


I have been trying to tune a model via rpc connection on an android device. I can see my android device with query tracker in free devices, but when I try rpc.connect(…), I get the following error in rpc_connect script.

Check failed: sock.RecvAll(&code, sizeof(code)) == sizeof(code) (0 vs. 4) :

And the following in rpc_tracker side.

2023-03-09 09:13:40.823 WARNING Invalid connection from TCPSocket: ('', 42162)
ERROR:asyncio:Exception in callback None()
handle: <Handle cancelled>
magic = struct.unpack("<i", message)[0]

Can you please suggest me what I might be missing?

Thanks in advance!


Hi , did you resolved this issue?
It is also occurred in my project.