appium hangs on Proxying [POST /session] with ios simulator
See original GitHub issueThe problem
Appium hangs on Proxying [POST /session] to [POST http://localhost:8100/session]
.
iOS emulator.
While debugging the code it never passes over the step of creating the driver. If I pause the execution is shows it’s hanged on SocketInputStream.java,
method socketRead0
.
The app opens on the emulator and is responsive.
Environment
- Appium version (or git revision) that exhibits the issue: 1.12.1
- Last Appium version that did not exhibit the issue (if applicable): N/A
- Desktop OS/version used to run Appium: MacOS 10.14.4
- xcode version: 10.2
- Node.js version (unless using Appium.app|exe): v11.10.1
- Npm or Yarn package manager: 6.9.0
- Mobile platform/version under test: ios
- Real device or emulator/simulator:emulator
- Appium CLI or Appium.app|exe:CLI
Details
After a few minutes of hanging, on the logs it starts to show
[Xcode] 2019-04-05 17:41:13.876613+0200 WebDriverAgentRunner-Runner[22867:10542398] Enqueue Failure: Failure to determine system application: Error Domain=com.apple.dt.XCTest.XCTFuture Code=1000 "Timeout waiting for fulfillment of promise for 'Fetching attributes 'XC_kAXXCAttributeSystemAppApplication' for Device system-wide element'." UserInfo={NSLocalizedDescription=Timeout waiting for fulfillment of promise for 'Fetching attributes 'XC_kAXXCAttributeSystemAppApplication' for Device system-wide element'.} /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgentRunner/UITestingUITests.m 37 1
Link to Appium logs
https://gist.github.com/jpita/d4b0f4ffe4488c0b57dd72f6bd2781ae
Code To Reproduce Issue [ Good To Have ]
The only thing I’m doing is trying to start appium with capabilities, don’t think any code is needed for this apart from the caps. If it is needed, feel free to request. The same thing happens with Appium Desktop just putting the same caps. https://imgur.com/liQYt2J
Issue Analytics
- State:
- Created 4 years ago
- Comments:6
Top GitHub Comments
waitForQuiescence
set to false andwdaEventloopIdleDelay
to 3 seems to do the trick. Funny howwdaEventloopIdleDelay
set to 5 doesn’t work 😄thanks!
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.