java-client icon indicating copy to clipboard operation
java-client copied to clipboard

Getting Socket Hang Up error

Open sudhanshuprakash opened this issue 4 years ago • 0 comments

Description I am trying to run multiple test cases using testng. But everytime after 4 or 5 test cases I am getting "[ERROR] An unknown server-side error occurred while processing the command. Original error: Could not proxy command to the remote server. Original error: socket hang up (WARNING: The server did not provide any stacktrace information )"

Environment Appium version (or git revision) that exhibits the issue: 1.18.0 Last Appium version that did not exhibit the issue (if applicable): Desktop OS/version used to run Appium:10 Node.js version (unless using Appium.app|exe):v12.14.0 Npm or Yarn package manager: Mobile platform/version under test:7.1.1 Real device or emulator/simulator: Real Device Appium CLI or Appium.app|exe: Appium.exe

Code To Reproduce Issue [ Good To Have ]

Please remember: it's easier to reproduce and fix the bug with sample code. You can git clone https://github.com/appium/appium/tree/master/sample-code or https://github.com/appium/appium/tree/master/sample-code/apps and reproduce an issue using Java and sample apps. Also you can create a gist with pasted java code sample or put it here using markdown. About markdown please read Mastering markdown and Writing on GitHub

Exception Stacktraces

https://gist.github.com/sudhanshuprakash/74e3c462e14db9f13f04ca29f5eb1049#file-appium-socket-hang-up

Link To Appium Logs

https://gist.github.com/sudhanshuprakash/5b7a0a57c3ead847e9767316262e8399#file-appium-logs

sudhanshuprakash avatar Jan 18 '21 12:01 sudhanshuprakash