Error in Java Code - driver.switchTo().window("driver.getWindowHandles() -> last name") (Error : An unknown server-side error occurred while processing the command. Original error: disconnected: unable to connect to renderer)

[description]

I want to switch to the last webview.
If you receive an error prompt when switching from Mobile Multi Device environment to Web View, please contact us.
There are no issues when switching one device to Web View. However, when switching Web View to multiple devices, an error occurs.
I wonder if testing multiple terminals under a Linux server environment supports Web View conversion.
Please check the information below and let us know how to resolve any issues we may encounter.

[Environment]

server os : Ubuntu 18.04.3 LTS \n \l
appium version : 1.18.0
node js version : v12.14.0
selenium version : selenium-server-standalone-3.141.59.jar
java version : openjdk version “1.8.0_252”

[Appium Command]

nohup appium -p 4725 -bp 4715 --default-capabilities=’{“wdaLocalPort”: 8105}’ --chromedriver-port 8001 --session-override --allow-insecure chromedriver_autodownload --nodeconfig /test/N960N.json --log ${appiumlogpath} -U 2618cd9a17057ece --log-level debug &

[Appium Json]

{
“capabilities”: [{
“deviceName”: “SM-N960N”,
“version”: “8.1.0”,
“maxInstances”: 3,
“platform”: “ANDROID”,
“udid”: “2618cd9a17057ece”,
“automationName”: “Appium”
}],
“configuration”: {
“cleanUpCycle”: 2000,
“timeout”: 30000,
“proxy”: “org.openqa.grid.selenium.proxy.DefaultRemoteProxy”,
“url”: “http://127.0.0.1:4725/wd/hub”,
“host”: “127.0.0.1”,
“port”: 4725,
“maxSession”: 6,
“register”: true,
“registerCycle”: 5000,
“hub”: “http://127.0.0.1:4444/grid/register/”,
“hubPort”: 4444,
“hubHost”: “127.0.0.1”,
“remoteHost”: “http://127.0.0.1:4725”,
“role”: “node”
}
}

[Java Code]

////////////////////////////// setCapability /////////////////////////////////////////
dc.setCapability(“deviceName”, “SM-N960N”);
dc.setCapability(“platformVersion”, “8.1.0”);
dc.setCapability(“platformName”, “Android”);
dc.setCapability(MobileCapabilityType.UDID, “2618cd9a17057ece”);
dc.setCapability(“automationName”, “Appium”);
dc.setCapability(“appPackage”, “com.xxx”);
dc.setCapability(“appActivity”, “com.xxx.intro.Act_Intro”);
dc.setCapability(“newCommandTimeout”, 3600);
dc.setCapability(“noReset”, “true”);
dc.setCapability(“chromedriverExecutable”, chromedriver());
dc.setCapability(“appium:chromeOptions”, ImmutableMap.of(“w3c”, false));
dc.setCapability(“ignoreUnimportantViews”, true);

dc.setCapability(“ignoreUnimportantViews”, true);
dc.setCapability(“pageLoadStrategy”, “eager”);
dc.setCapability(“autoGrantPermissions”, true);
dc.setCapability(“wdaLocalPort”, 8105);
dc.setCapability (AndroidServerFlag.CHROME_DRIVER_PORT.getArgument (), 8001);

driver = new AndroidDriver(new URL(“http://127.0.0.1:4725/wd/hub”), dc);

////////////////////////////// driver swtich //////////////////////////////////////////
Set winCon = driver.getWindowHandles();
List handlesList = new ArrayList(winCon);
driver.switchTo().window(handlesList.get(winCon.size()-1));

[Java Error]

[ERROR] org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: disconnected: unable to connect to renderer
(Session info: chrome=84.0.4147.89)
(Driver info: chromedriver=83.0.4103.39 (ccbf011cb2d2b19b506d844400483861342c20cd-refs/branch-heads/4103@{#416}),platform=Linux 5.3.0-62-generic x86_64)
Build info: version: ‘3.141.59’, revision: ‘e82be7d358’, time: ‘2018-11-14T08:17:03’
System info: host: ‘autotest’, ip: ‘127.0.0.1’, os.name: ‘Linux’, os.arch: ‘amd64’, os.version: ‘5.3.0-62-generic’, java.version: ‘1.8.0_252’
Driver info: io.appium.java_client.android.AndroidDriver
Capabilities {–chromedriver-port: 8001, appActivity: com.xxx.intro.Act_I…, appPackage: com.xxx, autoGrantPermissions: true, automationName: Appium, chromeOptions: {w3c: false}, chromedriverExecutable: /root/autoConfig/driver/chr…, databaseEnabled: false, desired: {–chromedriver-port: 8001, appActivity: com.xxx.intro.Act_I…, appPackage: com.xxx, autoGrantPermissions: true, automationName: Appium, chromeOptions: {w3c: false}, chromedriverExecutable: /root/autoConfig/driver/chr…, deviceName: SM-N960N, ignoreUnimportantViews: true, newCommandTimeout: 3600, noReset: true, pageLoadStrategy: eager, platformName: android, platformVersion: 8.1.0, udid: 2618cd9a17057ece, wdaLocalPort: 8105}, deviceApiLevel: 27, deviceManufacturer: samsung, deviceModel: SM-N960N, deviceName: 2618cd9a17057ece, deviceScreenDensity: 420, deviceScreenSize: 1080x2220, deviceUDID: 2618cd9a17057ece, ignoreUnimportantViews: true, javascriptEnabled: true, locationContextEnabled: false, networkConnectionEnabled: true, newCommandTimeout: 3600, noReset: true, pageLoadStrategy: eager, pixelRatio: 2.625, platform: LINUX, platformName: Android, platformVersion: 8.1.0, statBarHeight: 63, takesScreenshot: true, udid: 2618cd9a17057ece, viewportRect: {height: 2031, left: 0, top: 63, width: 1080}, warnings: {}, wdaLocalPort: 8105, webStorageEnabled: false}
Session ID: dee6e980-c416-4c1e-9ec0-e8fa93f1cd65
*** Element info: {Using=xpath, value=.//title}

[Appium Error]

2020-07-23 08:25:10:444 [HTTP] --> GET /wd/hub/session/e3fb70e8-83a1-4c3b-a0ba-4c2995bc3de5/window/handles
2020-07-23 08:25:10:444 [HTTP] {}
2020-07-23 08:25:10:444 [W3C (e3fb70e8)] Driver proxy active, passing request on via HTTP proxy
2020-07-23 08:25:10:446 [WD Proxy] Matched ‘/wd/hub/session/e3fb70e8-83a1-4c3b-a0ba-4c2995bc3de5/window/handles’ to command name ‘getWindowHandles’
2020-07-23 08:25:10:446 [Protocol Converter] Rewrote the original URL ‘/wd/hub/session/e3fb70e8-83a1-4c3b-a0ba-4c2995bc3de5/window/handles’ to ‘/wd/hub/session/e3fb70e8-83a1-4c3b-a0ba-4c2995bc3de5/window_handles’ for MJSONWP protocol
2020-07-23 08:25:10:446 [WD Proxy] Proxying [GET /wd/hub/session/e3fb70e8-83a1-4c3b-a0ba-4c2995bc3de5/window_handles] to [GET http://127.0.0.1:8001/wd/hub/session/773a8fb793584a55d5fe97f61db86985/window_handles] with no body
2020-07-23 08:25:10:451 [WD Proxy] Got response with status 200: {“sessionId”:“773a8fb793584a55d5fe97f61db86985”,“status”:0,“value”:[“CDwindow-CB5B7F17504FEBE22216629F4986703C”,“CDwindow-5CFAAD15A32E9DB41CEDE1321B49E28D”,“CDwindow-3FC4FA12E0FAA21FA94920B5B2064B47”]}
2020-07-23 08:25:10:451 [WD Proxy] Replacing sessionId 773a8fb793584a55d5fe97f61db86985 with e3fb70e8-83a1-4c3b-a0ba-4c2995bc3de5
2020-07-23 08:25:10:452 [HTTP] <-- GET /wd/hub/session/e3fb70e8-83a1-4c3b-a0ba-4c2995bc3de5/window/handles 200 8 ms - 194
2020-07-23 08:25:10:452 [HTTP]
2020-07-23 08:25:10:453 [HTTP] --> GET /wd/hub/session/e3fb70e8-83a1-4c3b-a0ba-4c2995bc3de5/window
2020-07-23 08:25:10:453 [HTTP] {}
2020-07-23 08:25:10:453 [W3C (e3fb70e8)] Driver proxy active, passing request on via HTTP proxy
2020-07-23 08:25:10:454 [WD Proxy] Matched ‘/wd/hub/session/e3fb70e8-83a1-4c3b-a0ba-4c2995bc3de5/window’ to command name ‘getWindowHandle’
2020-07-23 08:25:10:454 [Protocol Converter] Rewrote the original URL ‘/wd/hub/session/e3fb70e8-83a1-4c3b-a0ba-4c2995bc3de5/window’ to ‘/wd/hub/session/e3fb70e8-83a1-4c3b-a0ba-4c2995bc3de5/window_handle’ for MJSONWP protocol
2020-07-23 08:25:10:454 [WD Proxy] Proxying [GET /wd/hub/session/e3fb70e8-83a1-4c3b-a0ba-4c2995bc3de5/window_handle] to [GET http://127.0.0.1:8001/wd/hub/session/773a8fb793584a55d5fe97f61db86985/window_handle] with no body
2020-07-23 08:25:10:455 [WD Proxy] Got response with status 200: {“sessionId”:“773a8fb793584a55d5fe97f61db86985”,“status”:0,“value”:“CDwindow-CB5B7F17504FEBE22216629F4986703C”}
2020-07-23 08:25:10:455 [WD Proxy] Replacing sessionId 773a8fb793584a55d5fe