alibaba / alibaba/tidevice

连线的时候有机率出现断线的情况, 请问一下我该如何处理?

Open
#36 2 comments 0 reactions 0 assignees View on GitHub
help wanted
Dominant language
Python
Stars
2.6k
Forks
469
PR merge metrics
No merged PRs in 30d

Description

我在连线的时候遇到了一些问题, 当我使用facebook-wda运行tidevice时,
有机率出现断线的情况, 请问一下我该如何处理?

- device:iphone12 mini
- iOS:14.4
- xcode:12.4

[I 210309 13:21:00 _device:887] logProcess: t = 1907.73s Find: Identity Binding
[I 210309 13:21:00 _device:887] logProcess: t = 1907.74s Check for interrupting elements affecting "inputAccount" Other
[I 210309 13:21:00 _device:887] logProcess: t = 1907.74s Requesting snapshot of accessibility hierarchy for app with pid 1808
[I 210309 13:21:00 _device:1059] xctrunner quited

facebook-wda:
requests.exceptions.ConnectionError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the intermittent disconnect with facebook-wda and tidevice on the reported iPhone 12 mini, iOS 14.4, and Xcode 12.4 setup. Inspect the connection handling around the `_device` log entries showing `xctrunner quited`, then compare it with the requests `RemoteDisconnected` error. Done means the failure cause is identified and the disconnect is handled or prevented reliably.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, python
Domain
mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.