[Android ]Could not proxy. Proxy error: Could not proxy command to the remote server. Original error: socket hang up

Hi
I have hybrid app, appium v1.17.1-beta.0, chromedriver 81, chrome 81, webview 81, selenide 5.11.1 and my tests crashed at the beginning

        capabilities.setCapability(MobileCapabilityType.PLATFORM_NAME, "Android");
        capabilities.setCapability(MobileCapabilityType.DEVICE_NAME, config().deviceName());
        capabilities.setCapability(MobileCapabilityType.UDID, config().udid());
        capabilities.setCapability("appPackage", "stage.com.********.******");
        capabilities.setCapability(MobileCapabilityType.APP, config().app_path());
        capabilities.setCapability("automationName", "uiautomator2");
        capabilities.setCapability("nativeWebScreenshot", true);
        capabilities.setCapability("autoWebview", true);

}

And get next error

W3C (fb20a4e7)] Driver proxy active, passing request on via HTTP proxy
[debug] [WD Proxy] Matched '/wd/hub/session/fb20a4e7-e622-4093-ad8c-67455309dbf3/window/maximize' to command name 'maximizeWindow'
[debug] [WD Proxy] Proxying [POST /wd/hub/session/fb20a4e7-e622-4093-ad8c-67455309dbf3/window/maximize] to [POST http://127.0.0.1:8000/wd/hub/session/d78424d212f9e296b191f6c33119f769/window/maximize] with body: {}
[WD Proxy] socket hang up
[debug] [WD Proxy] Error: socket hang up
[debug] [WD Proxy]     at connResetException (internal/errors.js:614:14)
[debug] [WD Proxy]     at Socket.socketOnEnd (_http_client.js:491:23)
[debug] [WD Proxy]     at Socket.emit (events.js:327:22)
[debug] [WD Proxy]     at endReadableNT (_stream_readable.js:1224:12)
[debug] [WD Proxy]     at processTicksAndRejections (internal/process/task_queues.js:84:21)
[debug] [W3C (fb20a4e7)] Encountered internal error running command: Error: Could not proxy. Proxy error: Could not proxy command to the remote server. Original error: socket hang up
[debug] [W3C (fb20a4e7)]     at doJwpProxy (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/lib/protocol/protocol.js:505:13)
[debug] [W3C (fb20a4e7)]     at asyncHandler (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/lib/protocol/protocol.js:265:9)
[HTTP] <-- POST /wd/hub/session/fb20a4e7-e622-4093-ad8c-67455309dbf3/window/maximize 500 1787 ms - 709
[HTTP] 
[Chromedriver] Chromedriver exited unexpectedly with code null, signal SIGTRAP
[debug] [Chromedriver] Changed state to 'stopped'
[AndroidDriver] Chromedriver for context WEBVIEW_stage.com.seekingalpha.webwrapper stopped unexpectedly
[Appium] Closing session, cause was 'Chromedriver quit unexpectedly during session'
[Appium] Removing session 'fb20a4e7-e622-4093-ad8c-67455309dbf3' from our master session list
[debug] [UiAutomator2] Deleting UiAutomator2 session
[debug] [AndroidDriver] Stopping chromedriver for context WEBVIEW_stage.com.seekingalpha.webwrapper
[debug] [Chromedriver] Changed state to 'stopping'
[debug] [WD Proxy] Proxying [DELETE /] to [DELETE http://127.0.0.1:8000/wd/hub/session/d78424d212f9e296b191f6c33119f769] with no body
1 Like