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
967 stars 184 forks source link

Unable start tunnel on Windows #481

Open danvin2 opened 2 months ago

danvin2 commented 2 months ago

It works perfectly on mac, but when trying to start tunnel on windows I'm getting this: C:\goios> ./ios.exe tunnel start {"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=yes for experimental daemon mode.","time":"2024-09-21T16:04:35-04:00"} {"level":"info","msg":"Tunnel server started","time":"2024-09-21T16:04:35-04:00"} {"error":"UpdateTunnels: failed to get list of devices: dial tcp 127.0.0.1:27015: connectex: No connection could be made because the target machine actively refused it.","level":"warning","msg":"failed to update tunnels","time":"2024-09-21T16:04:36-04:00"} {"error":"UpdateTunnels: failed to get list of devices: dial tcp 127.0.0.1:27015: connectex: No connection could be made because the target machine actively refused it.","level":"warning","msg":"failed to update tunnels","time":"2024-09-21T16:04:37-04:00"} {"error":"UpdateTunnels: failed to get list of devices: dial tcp 127.0.0.1:27015: connectex: No connection could be made because the target machine actively refused it.","level":"warning","msg":"failed to update tunnels","time":"2024-09-21T16:04:38-04:00"} {"error":"UpdateTunnels: failed to get list of devices: dial tcp 127.0.0.1:27015: connectex: No connection could be made because the target machine actively refused it.","level":"warning","msg":"failed to update tunnels","time":"2024-09-21T16:04:39-04:00"}

Running as Administrator. Device connected. Firewall turned OFF. Wintune is in system32 folder. Please advise. Thank you!!

GaoXing0608 commented 1 month ago

Have you solved?

vividius commented 1 month ago

I had similar problem. Solved after downgrading windows and python and doing zillion other things which is really hard to remember. Do you still have this issue?