danielpaulus / go-ios

This is an operating system independent implementation of iOS device features. You can run UI tests, launch or kill apps, install apps etc. with it.
MIT License
867 stars 172 forks source link

Unable to start tunnel start #366

Open lycfr opened 5 months ago

lycfr commented 5 months ago
cfr@bogon ~ % sudo pkill -SIGCONT remoted
Password:
cfr@bogon ~ % sudo /Users/cfr/PycharmProjects/tidevice_tool/logserver/mac/go-ios tunnel start --pair-record-path /Users/cfr
Password:
{"level":"info","msg":"no udid specified using first device in list","time":"2024-02-28T14:03:59+08:00","udid":"00008130-000930AE2403401C"}
{"level":"info","msg":"start tunnel","time":"2024-02-28T14:04:00+08:00","udid":"00008130-000930AE2403401C"}
{"error":"ManualPairAndConnectToTunnel: failed to find device ethernet interface: context deadline exceeded","level":"warning","msg":"failed to start tunnel","time":"2024-02-28T14:04:10+08:00","udid":"00008130-000930AE2403401C"}
{"level":"info","msg":"start tunnel","time":"2024-02-28T14:04:10+08:00","udid":"00008130-000930AE2403401C"}
{"error":"ManualPairAndConnectToTunnel: failed to find device ethernet interface: context deadline exceeded","level":"warning","msg":"failed to start tunnel","time":"2024-02-28T14:04:20+08:00","udid":"00008130-000930AE2403401C"}
{"level":"info","msg":"start tunnel","time":"2024-02-28T14:04:20+08:00","udid":"00008130-000930AE2403401C"}
{"error":"ManualPairAndConnectToTunnel: failed to find device ethernet interface: context deadline exceeded","level":"warning","msg":"failed to start tunnel","time":"2024-02-28T14:04:30+08:00","udid":"00008130-000930AE2403401C"}
{"level":"info","msg":"start tunnel","time":"2024-02-28T14:04:30+08:00","udid":"00008130-000930AE2403401C"}
{"error":"ManualPairAndConnectToTunnel: failed to find device ethernet interface: context deadline exceeded","level":"warning","msg":"failed to start tunnel","time":"2024-02-28T14:04:40+08:00","udid":"00008130-000930AE2403401C"}

I've tried restarting my phone and Mac, but the problem still persists.

device info:iPhone 15 pro 17.0

shamanec commented 5 months ago

Hey, you gotta do sudo pkill -SIGSTOP remoted to pause the remoted process - sudo pkill -SIGCONT remoted is used to restart the remoted process if needed :)