go-ios icon indicating copy to clipboard operation
go-ios copied to clipboard

Issue: Error When Launching iOS App via Tunnel

Open prisaenter88 opened this issue 6 months ago • 0 comments
trafficstars

We used for tunnel start process command.

sudo ios tunnel start --udid

{"level":"warning","msg":"go-ios agent is not running. You might need to start it with 'ios tunnel start' for ios17+. Use ENABLE_GO_IOS_AGENT=user for userspace tunnel or ENABLE_GO_IOS_AGENT=kernel for kernel tunnel for the experimental daemon mode.","time":"2025-05-04T14:31:58+05:30"} {"level":"info","msg":"Tunnel server started","time":"2025-05-04T14:31:58+05:30"}

We are encountering a connection issue when attempting to launch an iOS app using the following command:

ios launch --udid "udid_device" "bundle_id"

Initially, the tunnel starts successfully, but after some time, we receive the following errors:

{"level":"error","msg":"error reading dtx connection read tcp [fd20:3637:1581::2]:53548-\u003e[fd20:3637:1581::1]:50476: read: connection reset by peer","time":"2025-05-03T13:35:52+05:30"}

{"channel_id":"com.apple.instruments.server.services.processcontrol","error":"Timed out waiting for response for message:5 channel:0","level":"error","msg":"failed requesting channel","time":"2025-05-03T13:35:57+05:30"}

What We Tried:

  • Restarted the tunnel
  • Killed all related PIDs
  • Re-ran the command after reset

Unfortunately, the issue persists.

Can someone help us understand the cause of this error or suggest any debugging steps to resolve the issue?

prisaenter88 avatar May 04 '25 08:05 prisaenter88