Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
WDA/iProxy don't respond: Connection to WDA timed out / recv failed: Operation not permitted #827
WDA crashes trying to connect to device (iOS 11.2.1) using Appium. I've already opened a ticket in Appium repository, but their conclusion pointed that WDA crashed. Using the same app and capabilities, other devices (ios 9.3 until 10.3.3) are able to connect. All info I could collect is available down below, but please let me know if anything else is necessary.
Starting tests on an iPad Mini 2 (iOS 11.2.1) results in WDA not being able to connect to the device. All other devices in our farm (all between iOS 9.3 and 10.3.3) connect without a problem. Basically the WDA opens, the application is launched, but in the log we can already see the connection issue. If we try to call any WDA method, the app gets closed.
Link to logs
Appium Log: Until row 148 no method was called, I just started the appium driver. The application launched correctly. Beyond this point, I called findElements, resulting in the application being closed.
XCodeBuild Log: Log generated by xcodebuild after the issue.
Device Log: Log indicating that WDA crashed.
referenced this issue
Dec 22, 2017
I am also facing the same issue. This is very serious issue for me as we have multiple picker wheel classes in a screen to support voice over. So whenever I try to perform action on a picker wheel elements app is crashing. @marekcirkos Could you please fix this.
I am using Xcode 9.2, iOS 11.1.2 and 11.2, Appium 1.6.4 and 1.7.1
@marekcirkos thanks for your response. Actually I didn't. I first reported this issue in Appium Github. @mykola-mokhnach noticed that the xcodebuild log provided above indicated that WDA was crashing unexpectedly. The specific log part that @mykola-mokhnach indicated was this one:
Hope this helps.
Creating new XCUITestDriver (v2.30.0) session
MobileElement Click() does not work. facing the same issue
[HTTP] <-- GET /wd/hub/session/f7aa89d9-c6c0-4606-8d6f-cc3a7836bc3d/window_handles 501 2 ms - 112
After a set of test cases are executed, the execution hangs and log message is as follows,
[debug] [XCUITest] Connection to WDA timed out
This is a blocker and not able to run all my test cases. Please suggest a workaround for this.
I got the same issue now.
I am also facing same issue.
**Appium logs **
Responding to client with driver.getContexts() result: ["NATIVE_APP","WEBVIEW_1"]
Can anyone please help on this ?