question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Socket hang up due to WebDriverAgentRunner crash

See original GitHub issue

The 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:closed
  • Created 5 years ago
  • Comments:7

github_iconTop GitHub Comments

1reaction
ghostcommented, Apr 24, 2018

Downgrade appium java-client library to 5.0.0-BETA9. This version supports swipe operations and also supports iOS 11.3.

1reaction
vjmaikycommented, Apr 24, 2018

use touch actions methods and update to a later appium version

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found