WDA is not response| WDA stopped | UsbmuxReplyCode.ConnectionRefused
- Dominant language
- Python
- Stars
- 2.6k
- Forks
- 469
- PR merge metrics
- No merged PRs in 30d
Description
> @name-jiang 你是在测试什么应用,我昨天试了下抖音这种应用点击也会卡死掉。不是tidevice故意的,是WDA不响应了。
我也发现不是很稳定,出现一次与wda的连接超时,就会有一段时间无法使用,tidevice就偿试重连,过段时间就又可以了。
帖一下tidevice的日志:
[I 210611 14:21:58 _device:1003] Start execute test plan with IDE version: 29
[I 210611 14:21:58 _device:913] WebDriverAgent start successfully
[D 210611 14:22:31 _wdaproxy:93] [f26812b84ac67cc567707cb6a679f8ba37095936] WDA is not response, check again after 10s
[D 210611 14:24:16 _wdaproxy:93] [f26812b84ac67cc567707cb6a679f8ba37095936] WDA is not response, check again after 10s
[I 210611 14:24:29 _wdaproxy:97] [f26812b84ac67cc567707cb6a679f8ba37095936] WDA confirmed not running
[I 210611 14:24:29 _wdaproxy:106] [f26812b84ac67cc567707cb6a679f8ba37095936] WDA keeper stopped
[I 210611 14:24:29 _wdaproxy:145] [f26812b84ac67cc567707cb6a679f8ba37095936] WDA stopped for the 19st time, running 2.5 minutes
[D 210611 14:24:29 _wdaproxy:118] [f26812b84ac67cc567707cb6a679f8ba37095936] launch WDA
[I 210611 14:24:30 _device:956] BundleID: com.facebook.WebDriverAgentRunner.xctrunner
[I 210611 14:24:30 _device:959] ProductVersion: 12.1
_Originally posted by @yangeren in https://github.com/alibaba/taobao-iphone-device/issues/79#issuecomment-859311742_
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the _wdaproxy lifecycle shown in the report, especially the repeated WDA timeout, keeper stop, and relaunch messages. Reproduce the connection-refused condition and trace why tidevice remains unusable after WDA stops; done means the failure and recovery behavior are reliably understood and addressed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ios, python
- Domain
- devtools, mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100