xuan32546 / IOS13-SimulateTouch

iOS Automation Framework iOS Touch Simulation Library
GNU General Public License v3.0
1.33k stars 287 forks source link

Resprings after constant use - related to servers #58

Open jojojo8359 opened 2 years ago

jojojo8359 commented 2 years ago

After using the OCR feature ~20+ times, my device resprings. I'm developing an automation script in Python to remotely control my device from a computer. Whenever the device resprings, the Python script (using the zxtouch module) throws an error either related to the module's OCR function (which appears to be caused by not receiving any data from it) or just halts because execution on the device has stopped.

On the surface, this looks similar to #39, but I'm using zxtouch 0.7-10 (where the OCR memory leak is fixed), Cr4shed isn't providing any logs when it resprings (nothing in Apple Analytics Data either), and there are no other logs relating to the application I'm trying to automate. (This application doesn't respring under similar conditions and manual use.)

My device is an iPhone SE (1st gen) running iOS 14.8 and jailbroken with checkra1n 0.12.4. Let me know if you need any other information (parts of the script, a list of tweaks, or some other debugging information) - I would be happy to provide it.

jojojo8359 commented 2 years ago

Update: I was even more curious about this issue, so I decided to check out the network traffic from my device using mitmproxy. Right before my device resprings (in fact, the second it does), a familiar request is sent:

Screenshot 2021-11-08 140808

47.114.83.227? That's the exact address of the zxtouch backup server! I'm assuming the tweak is attempting to check if it is up to date (based on the endpoint), but unfortunately, both the main zxtouch website and the backup server are both down right now. :(

If it isn't possible to set the zxtouch server(s) back up in the near future, is there some way this check can temporarily be disabled (either officially or manually) so the resprings are avoided?