I tried to scroll iOS application using appium, this error occurs as when the scroll finishes.
I use a real iOS device as an emulator.
java client v6.1.0
Code for scroll:
HashMap<String, String> swipeObject = new
swipeObject.put(“direction”, “up”); // up for swipe
js.executeScript(“mobile: scroll”, swipeObject);
Full error message:
Encountered internal error running command: UnknownError: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to the remote server. Original error: Error: socket hang up
After the scrolling all the way to the bottom, one button needs to be clicked. but this scrolls all the way to the bottom and exit with this error.