[Android] RPC Setup trouble

I am following the guide below to set up RPC targeting Android devices. https://tvm.apache.org/docs/how_to/deploy/adreno.html#rpc-setup

I tried setting Automated RPC Setup, but an error occurs.

1> Tracker listens on port 9190 python3 -m tvm.exec.rpc_tracker --host 0.0.0.0 --port 9190 2024-07-11 00:02:08.358 INFO bind to 0.0.0.0:9190

2> run TVM RPC on remote android device [09:02:34] /dev/nvme1n1p0/taesung/DeployAdreno/tvm/apps/cpp_rpc/rpc_server.cc:139: bind to 0.0.0.0:5000 [09:02:34] /dev/nvme1n1p0/taesung/DeployAdreno/tvm/apps/cpp_rpc/rpc_tracker_client.h:201: Tracker connecting to 127.0.0.1:9190 [09:02:36] /dev/nvme1n1p0/taesung/DeployAdreno/tvm/apps/cpp_rpc/rpc_server.cc:170: Warning: Exception standard: [09:02:36] /dev/nvme1n1p0/taesung/DeployAdreno/tvm/apps/cpp_rpc/rpc_tracker_client.h:88: InternalError: Check failed: tracker_sock_.RecvAll(&code, sizeof(code)) == sizeof(code) (0 vs. 4) : Stack trace not available when DMLC_LOG_STACK_TRACE is disabled at compile time.

[09:02:36] /dev/nvme1n1p0/taesung/DeployAdreno/tvm/apps/cpp_rpc/rpc_tracker_client.h:201: Tracker connecting to 127.0.0.1:9190 [09:02:38] /dev/nvme1n1p0/taesung/DeployAdreno/tvm/apps/cpp_rpc/rpc_server.cc:170: Warning: Exception standard: [09:02:38] /dev/nvme1n1p0/taesung/DeployAdreno/tvm/apps/cpp_rpc/rpc_tracker_client.h:88: InternalError: Check failed: tracker_sock_.RecvAll(&code, sizeof(code)) == sizeof(code) (0 vs. 4) : Stack trace not available when DMLC_LOG_STACK_TRACE is disabled at compile time.

[09:02:38] /dev/nvme1n1p0/taesung/DeployAdreno/tvm/apps/cpp_rpc/rpc_tracker_client.h:201: Tracker connecting to 127.0.0.1:9190 [09:02:40] /dev/nvme1n1p0/taesung/DeployAdreno/tvm/apps/cpp_rpc/rpc_server.cc:170: Warning: Exception standard: [09:02:40] /dev/nvme1n1p0/taesung/DeployAdreno/tvm/apps/cpp_rpc/rpc_tracker_client.h:88: InternalError: Check failed: tracker_sock_.RecvAll(&code, sizeof(code)) == sizeof(code) (0 vs. 4) : Stack trace not available when DMLC_LOG_STACK_TRACE is disabled at compile time.

→ The RPC connection is not established and is only being retried. :sob: Any comments/suggestions?

Thanks in advance!

Are you sure your tracker’s IP is 127.0.0.1?

Thanks you for your kind reply. Tracker’s IP is not 127.0.0.1

but i resolved the problem. Maybe, since our company firewall, tracker cannot access to tvm server. so both tracker and server is on the same network.