doronz88 / pymobiledevice3

Pure python3 implementation for working with iDevices (iPhone, etc...).
https://discord.gg/52mZGC3JXJ
GNU General Public License v3.0
1.05k stars 144 forks source link

ERROR Device is not connected when remote start-tunnel via Wi-Fi #980

Closed 2088669827 closed 1 week ago

2088669827 commented 1 week ago

Test environment

Describe the bug The iPhone is connected to my Mac via Wi-Fi, and I want to start tunnel for further commands such as launch app. But tunnel started fail and the error shows:

image image

However, it works perfect when I connected with USB cable.

image image

To Reproduce Steps to reproduce the behavior:

  1. Connect iPhone to PC with USB
  2. Unplug cable
  3. Check device connected with pymobiledevice3 usbmux list, "ConnectionType": "Network"
  4. sudo /usr/bin/python3 -m pymobiledevice3 remote start-tunnel, or, sudo /usr/bin/python3 -m pymobiledevice3 remote start-tunnel -t wifi

Expected behavior Error doesn't apear and tunnel starts successfully.

Logs

Additional context

  1. No error occurs: "python3 -m pymobiledevice3 lockdown wifi-connections on"
  2. "sudo /usr/bin/python3 -m pymobiledevice3 remote browse", sometimes it doesn't produce any results for a long time, sometimes it's successful and outputs like this: image

For community

⬇️ Please click the 👍 reaction instead of leaving a +1 or 👍 comment

doronz88 commented 1 week ago

usbmux is completely unrelated to tunneling os iOS < 17.4 Please read the docs