I’m testing several android apps on a google pixel 3a using appium java-client, one app after another. From time to time I get a Socket hung up or connection refused error
org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: Could not proxy. Proxy error: Could not proxy command to the remote server. Original error: socket hang up Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03' System info: host: 'lap-thiara', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '5.11.0-34-generic', java.version: '11.0.11'
The question now is, how can I recover from such a crash or what is likely causing the crash? I already tried to uninstall appium app on the device and restarting the phone which didn’t do the trick. Also killing the appium node process on the computer doesn’t seem to help. Sometimes simply waiting helps to recover…but I’ve not yet recognized anything deterministic to do to get rid of the error.
Can anyone shed some light which process likely crashed and what to kill and restart or if the error comes from the phone or the computer.