Socket hang up due to WebDriverAgentRunner crash
See original GitHub issueThe problem
A call to WebDriver.swipe causes a socket hang up exception, ie:
selenium.common.exceptions.WebDriverException: Message: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to remote server. Original error: Error: socket hang up
I have attached a crash file that was generated at the same time.
Environment
- Appium version (or git revision) that exhibits the issue: 1.7.2
- Last Appium version that did not exhibit the issue (if applicable): N/A
- Desktop OS/version used to run Appium: macOS High Sierra V 10.13.4
- Node.js version (unless using Appium.app|exe): v9.11.1
- Mobile platform/version under test: iOS 11.2, iPhone 7 simulator, Xcode V 9.3
- Real device or emulator/simulator: simulator
- Appium CLI or Appium.app|exe:
Details
See attached crash file WebDriverAgentRunner-Runner_2018-04-23-173535_slc-qa-autotest-2.crash.zip
Link to Appium logs
https://gist.github.com/gergm/59215196441d36b5df19ac6751a1cee1
Code To Reproduce Issue [ Good To Have ]
self.driver.swipe(x_coord_start, y_coord_start, x_coord_end, y_coord_end, duration=duration)
Issue Analytics
- State:
- Created 5 years ago
- Comments:7
Top Results From Across the Web
Webdriveragent is not listening on 127.0.0.1:8100 - Support
This behavior is expected. For WDA localhost is the loopback interface of the mobile phone itself. And the the IP address above is...
Read more >appium-xcuitest-driver - npm
Use default proxy for test management within WebDriverAgent . Setting this to false sometimes helps with socket hangup problems. Defaults to true ....
Read more >appium/appium - Gitter
No Simulator SDK versions are available on your system. ... Original error: Error: socket hang up Build info: version: '3.141.59', revision: 'e82be7d358', ...
Read more >an error occurred while trying to create a file in the destination ...
The system installer installs for all users on the system and needs ... Thanks, Codestrip error ... Original error: Error: socket hang up)#12610....
Read more >Appium Inspector keeps Loading on Mac os - Stack Overflow
Original error: socket hang up [W3C (3e1d7a8e)] at JWProxy.command ... [Xcode] [Xcode] [Xcode] Restarting after unexpected exit, crash, ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Downgrade appium java-client library to 5.0.0-BETA9. This version supports swipe operations and also supports iOS 11.3.
use touch actions methods and update to a later appium version