Hello @Wenguang_Hu ,
Sorry for the long response.
Here some logs for the Appium inspector issue.
Here is the session creation after reboot:
childProcessExec succeeded after 96ms
[AppiumDriver@3ca7] New KeplerDriver session created successfully, session 74b80888-9cdb-4c48-8c52-e5288d2ea5b8 added to master session list
[AppiumDriver@3ca7] Event 'newSessionStarted' logged at 1770912042020 (17:00:42 GMT+0100 (Central European Standard Time))
[KeplerDriver@d6a1] Cached the protocol value 'W3C' for the new session 74b80888-9cdb-4c48-8c52-e5288d2ea5b8
[KeplerDriver@d6a1] Responding to client with driver.createSession() result: {"capabilities":{"platformName":"Kepler","browserName":"","kepler:device":"vda://default","kepler:jsonRPCPort":8383,"automationName":"automation-toolkit/JSON-RPC","appURL":"com.att.tv.main","newCommandTimeout":500,"deviceName":"192.168.8.105:5555","connectHardwareKeyboard":true}}
[HTTP] <-- POST /session 200 1030 ms - 341
[74b80888][HTTP] --> GET /session/74b80888-9cdb-4c48-8c52-e5288d2ea5b8/appium/settings {}
[74b80888][KeplerDriver@d6a1] Calling AppiumDriver.getSettings() with args: ["74b80888-9cdb-4c48-8c52-e5288d2ea5b8"]
Running /executeScript with script=getSettings, args=[ '74b80888-9cdb-4c48-8c52-e5288d2ea5b8', [length]: 1 ]
[74b80888][KeplerDriver@d6a1] Responding to client with driver.getSettings() result: {}
[74b80888][HTTP] <-- GET /session/74b80888-9cdb-4c48-8c52-e5288d2ea5b8/appium/settings 200 6 ms - 12
[74b80888][HTTP] --> GET /session/74b80888-9cdb-4c48-8c52-e5288d2ea5b8/screenshot {}
[74b80888][KeplerDriver@d6a1] Calling AppiumDriver.getScreenshot() with args: ["74b80888-9cdb-4c48-8c52-e5288d2ea5b8"]
Running /executeScript with script=getScreenshot, args=[ '74b80888-9cdb-4c48-8c52-e5288d2ea5b8', [length]: 1 ]
Sending jsonRPC POST http://127.0.0.1:15366/jsonrpc id=0, method=takeScreenshot, params object={}
received jsonrpc response in 1656ms (http 200 OK): {"id":"0","jsonrpc":"2.0","result":"iVBORw0KGgoAAAANSUhEUgAADwAAAAhwCAYAAACQvstyAAAgAElEQVR4Aey93ZYkOXKkORdksbvJYXO6+meas0PODvf9X7HWYWYfoBCDmALmFpGZVXERR1xFRUUAc48o8pzU9v/2j//9z7+Un3/4l5+nf5jJ5q50sbfi89M///xL+WH+6txoRv6xF1+P/GLf5aOJ83AFI19exx6vowZO8+D/6eVZeszAa+106CMyWxD+s/JXzsnZIrp5x8fZ8npWp3PUbt7xzIGzOvSKbf4vr8/EX+r71/j9s6Jz1E3Xz9O/i7nvX19nLT/8jszmt7mrs/l85sH976D3Up3Wbt7p/vrLT//6t19++uNftp/9GRRt5qNz6DWHGlSd+jjd7JybH/PcGzzff5/7h3/96y/lR3Vaj+b759vfg3nF9vw59/g5MUeu1oV/Kn/zOj4n5IAunz6IDoTfzjj4HNI/6TlHmXn9aF9r63PMv5uPP3jKN+esuXKO07zcl5w6L/06n/lKH7/TvPijqyj907ze3+Ti5+bppyjnQT/rO6vDdxZnff/hX1//HXr9zPrO6urfseT5z+r+8Y+v373Xz7v5qz7krc7pvZgH8XWoOq1n59Axr0hfER18Vjud49UPHUgfhAeVpwbRgcrP1qrL/FRPDWbz2ndzT/EuD3/Q6WZ5dL/74//8pfxkvvRBnYPHlxpUnnnQ6eBVpzU6RXTfez7n1PNTa19rdIpOB6+o89ToZmunU/6nf/ufv5Qf9UcHap8518945kH1Zx6kDzKnfa1VRx8exJe+1qqjdnrmVYceXpE+89To4Km1T+10yuMDMu9qeHBWrzrmFVWntep/98d/f312/337DJee0zte/WZ1Okft5h3PHDirQ6/4j3/8++sZ/L0+D/qzvrM6fBV9/vhcP/1bee/i++d0+9+pltfPNV51e30+F/Og0+HX6/TcPn+fy/PVn1xQ+7O16nq/f/off/+l/Jzvo (LOTS OF SUCH OUTPUT)
At his point screenshot is visible in Appium Inspector but not very usefull as this a Loading srceen 
By “LOTS OF SUCH OUTPUT” I mean very, very long output of the text.
This is the response for srceenshot and the end of that LONG OUTPUT:
=\"100\"/></traits></child></child><child x=\"1496\" y=\"968\" width=\"144\" height=\"80\" id=\"4294967488\" test_id=\"ContentTab_ImageContainer_com.amazon.cloud9\"><traits><compoundComponent mergeDescendants=\"false\"/><visibility alpha=\"100\" zIndex=\"1\"/></traits><child x=\"1496\" y=\"968\" width=\"144\" height=\"80\" id=\"4294967489\" role=\"image\" test_id=\"PlutoImage-ContentTab_AnimatedImage_com.amazon.cloud9\"><traits><compoundComponent mergeDescendants=\"false\"/><visibility alpha=\"100\"/></traits></child></child><child x=\"1648\" y=\"968\" width=\"80\" height=\"80\" id=\"4294967490\" test_id=\"214\"><traits><compoundComponent mergeDescendants=\"false\"/><visibility alpha=\"100\" zIndex=\"1\"/></traits><child x=\"1648\" y=\"968\" width=\"80\" height=\"80\" id=\"4294967491\" test_id=\"UtilityTab_Shape_l_apps\"><traits><compoundComponent mergeDescendants=\"false\"/><visibility alpha=\"100\" zIndex=\"1\"/></traits></child><child x=\"1668\" y=\"988\" width=\"40\" height=\"40\" id=\"4294967492\" test_id=\"UtilityTab_ImageContainer_l_apps\"><traits><compoundComponent mergeDescendants=\"false\"/><visibility alpha=\"100\" zIndex=\"99\"/></traits><child x=\"1668\" y=\"988\" width=\"40\" height=\"40\" id=\"4294967493\" role=\"image\" test_id=\"PlutoImage-UtilityTab_AnimatedImage_l_apps\"><traits><compoundComponent mergeDescendants=\"false\"/><visibility alpha=\"100\" zIndex=\"1\"/></traits></child></child></child><child x=\"1736\" y=\"968\" width=\"80\" height=\"80\" id=\"4294967494\" test_id=\"226\"><traits><compoundComponent mergeDescendants=\"false\"/><visibility alpha=\"100\" zIndex=\"1\"/></traits><child x=\"1736\" y=\"968\" width=\"80\" height=\"80\" id=\"4294967495\" test_id=\"UtilityTab_Shape_l_settings\"><traits><compoundComponent mergeDescendants=\"false\"/><visibility alpha=\"100\" zIndex=\"1\"/></traits></child><child x=\"1756\" y=\"988\" width=\"40\" height=\"40\" id=\"4294967496\" test_id=\"UtilityTab_ImageContainer_l_settings\"><traits><compoundComponent mergeDescendants=\"false\"/><visibility alpha=\"100\" zIndex=\"99\"/></traits><child x=\"1756\" y=\"988\" width=\"40\" height=\"40\" id=\"4294967497\" role=\"image\" test_id=\"PlutoImage-UtilityTab_AnimatedImage_l_settings\"><traits><compoundComponent mergeDescendants=\"false\"/><visibility alpha=\"100\" zIndex=\"1\"/></traits></child></child></child></child></child></child></child></child></child></window></app></root>\n"} (HERE LONG OUTPUT ENDS)
[74b80888][KeplerDriver@d6a1] Responding to client with driver.getPageSource() result: "<?xml version=\"1.0\"?>\n<root id=\"1\"><app id=\"8589934593\" appName=\"com.att.tv\"><traits><publisherRoot uccVersionMajor=\"0\" uccProtocolVersionMinor=\"8\" toolkitVersion=\"1.0\" uccVersionMinor=\"7\" uccProtocolVersionMajor=\"0\" toolkitName=\"UIToolkit\" applicationName=\"com.att.tv\" keplerAppId=\"62\" parentElementId=\"0\"/></traits><window x=\"0\" y=\"0\" width=\"0\" height=\"0\" id=\"8589934594\" alpha=\"100\" test_id=\"1\"><traits><compoundComponent mergeDescendants=\"false\"/><visibility alpha=\"100\"/><window id=\"3\"/></traits></window></app><app id=\"4294967297\" appName=\"com.amazon.smplighthouse.launcher\"><traits><publisherRoot uccVersionMajor=\"0\" uccProtocolVersionMinor=\"8\" toolkitVersion=\"1.0\" uccVersionMinor=\"7\" uccProtocolVersionMajor=\"0\" toolkitName=\"UIToolkit\" applicationName=\"com.amazon.smplighthouse.launcher\" keplerAppId=\"3\" parentElementId=\"0\"/></traits><window x=\"0\" y=\"0\" width=\"1920\" height=\"1080\" id=\"4294967298\" index=\"2147483647\" alpha=\"100\" ...
Here is the next attepmt to get a screenshot:
[74b80888][KeplerDriver@d6a1] Calling AppiumDriver.getScreenshot() with args: ["74b80888-9cdb-4c48-8c52-e5288d2ea5b8"]
Running /executeScript with script=getScreenshot, args=[ '74b80888-9cdb-4c48-8c52-e5288d2ea5b8', [length]: 1 ]
Sending jsonRPC POST http://127.0.0.1:15366/jsonrpc id=0, method=takeScreenshot, params object={}
received jsonrpc response in 58ms (http 200 OK): {"error":{"code":-32603,"data":null,"message":"INTERNAL_ERROR: : Failed to take screenshot. Reason: Screenshot error: Buffer is null"},"id":"0","jsonrpc":"2.0"}
[74b80888][KeplerDriver@d6a1] Responding to client with driver.getScreenshot() result: null
[74b80888][HTTP] <-- GET /session/74b80888-9cdb-4c48-8c52-e5288d2ea5b8/screenshot 200 81 ms - 14
[74b80888][HTTP] --> GET /session/74b80888-9cdb-4c48-8c52-e5288d2ea5b8/window/rect {}
[74b80888][KeplerDriver@d6a1] Calling AppiumDriver.getWindowRect() with args: ["74b80888-9cdb-4c48-8c52-e5288d2ea5b8"]
Running /executeScript with script=getWindowRect, args=[ '74b80888-9cdb-4c48-8c52-e5288d2ea5b8', [length]: 1 ]
Sending jsonRPC POST http://127.0.0.1:15366/jsonrpc id=0, method=getWindowRect, params object={}
received jsonrpc response in 12ms (http 200 OK): {"id":"0","jsonrpc":"2.0","result":{"height":2160,"width":3840,"x":0,"y":0}}
[74b80888][KeplerDriver@d6a1] Responding to client with driver.getWindowRect() result: {"x":0,"y":0,"width":3840,"height":2160}
[74b80888][HTTP] <-- GET /session/74b80888-9cdb-4c48-8c52-e5288d2ea5b8/window/rect 304 19 ms - -
[74b80888][HTTP] --> GET /session/74b80888-9cdb-4c48-8c52-e5288d2ea5b8/source {}
[74b80888][KeplerDriver@d6a1] Calling AppiumDriver.getPageSource() with args: ["74b80888-9cdb-4c48-8c52-e5288d2ea5b8"]
Running /executeScript with script=getPageSource, args=[ '74b80888-9cdb-4c48-8c52-e5288d2ea5b8', [length]: 1 ]
Sending jsonRPC POST http://127.0.0.1:15366/jsonrpc id=0, method=getPageSource, params object={}
received jsonrpc response in 140ms (http 200 OK): {"id":"0","jsonrpc":"2.0","result":"<?xml version=\"1.0\"?>\n<root id=\"1\"><app id=\"8589934593\" appName=\"com.att.tv\"><traits><publisherRoot uccVersionMajor=\"0\" uccProtocolVersionMinor=\"8\" toolkitVersion=\"1.0\" uccVersionMinor=\"7\" uccProtocolVersionMajor=\"0\" toolkitName=\"UIToolkit\" applicationName=\"com.att.tv\" keplerAppId=\"62\" parentElementId=\"0\"/></traits><window x=\"0\" y=\"0\" width=\"1920\" height=\"1080\" id=\"8589934594\" index=\"0\" alpha=\"100\" zOrder=\"0\" test_id=\"1\"><traits><compoundComponent mergeDescendants=\"false\"/><visibility alpha=\"100\" zOrder=\"0\"/><window id=\"3\" index=\"0\"/></traits><child x=\"0\" y=\"0\" width=\"1920\" height=\"1080\" id=\"8589934595\" test_id=\"14\"><traits><compoundComponent mergeDescendants=\"false\"/><visibility alpha=\"100\"/></traits></child><child x=\"0\" y=\"0\" width=\"1920\" height=\"1\" id=\"8589934596\" focusable=\"true\" focused=\"false\" test_id=\"focusBackHandler_NavigationWrapper\" role=\"button\"><traits><compoundComponent mergeDescendants=\"true\"/><visibility alpha=\"100\"/><enableable enabled=\"true\"/><focusable setFocus=\"418\" focused=\"false\"/></trai (AGAIN VERY LONG OUTPUT)
Here is the response:
ild><child x=\"1736\" y=\"968\" width=\"80\" height=\"80\" id=\"4294967494\" test_id=\"226\"><traits><compoundComponent mergeDescendants=\"false\"/><visibility alpha=\"100\" zIndex=\"1\"/></traits><child x=\"1736\" y=\"968\" width=\"80\" height=\"80\" id=\"4294967495\" test_id=\"UtilityTab_Shape_l_settings\"><traits><compoundComponent mergeDescendants=\"false\"/><visibility alpha=\"100\" zIndex=\"1\"/></traits></child><child x=\"1756\" y=\"988\" width=\"40\" height=\"40\" id=\"4294967496\" test_id=\"UtilityTab_ImageContainer_l_settings\"><traits><compoundComponent mergeDescendants=\"false\"/><visibility alpha=\"100\" zIndex=\"99\"/></traits><child x=\"1756\" y=\"988\" width=\"40\" height=\"40\" id=\"4294967497\" role=\"image\" test_id=\"PlutoImage-UtilityTab_AnimatedImage_l_settings\"><traits><compoundComponent mergeDescendants=\"false\"/><visibility alpha=\"100\" zIndex=\"1\"/></traits></child></child></child></child></child></child></child></child></child></window></app></root>\n"} (HERE LONG OUTPUT ENDS)
[74b80888][KeplerDriver@d6a1] Responding to client with driver.getPageSource() result: "<?xml version=\"1.0\"?>\n<root id=\"1\"><app id=\"8589934593\" appName=\"com.att.tv\"><traits><publisherRoot uccVersionMajor=\"0\" uccProtocolVersionMinor=\"8\" toolkitVersion=\"1.0\" uccVersionMinor=\"7\" uccProtocolVersionMajor=\"0\" toolkitName=\"UIToolkit\" applicationName=\"com.att.tv\" keplerAppId=\"62\" parentElementId=\"0\"/></traits><window x=\"0\" y=\"0\" width=\"1920\" height=\"1080\" id=\"8589934594\" index=\"0\" alpha=\"100\" zOrder=\"0\" test_id=\"1\"><traits><compoundComponent mergeDescendants=\"false\"/><visibility alpha=\"100\" zOrder=\"0\"/><window id=\"3\" index=\"0\"/></traits><child x=\"0\" y=\"0\" width=\"1920\" height=\"1080\" id=\"8589934595\" test_id=\"14\"><traits><compoundComponent mergeDescendants=\"false\"/><visibility alpha=\"100\"/></traits></child><child x=\"0\" y=\"0\" width=\"1920\" height=\"1\" id=\"8589934596\" focusable=\"true\" focused=\"false\" test_id=\"focusBackHandler_NavigationWrapper\" role=\"button\"><traits><compoundComponent mergeDescendants=\"true\"/><visibi...
[74b80888][HTTP] <-- GET /session/74b80888-9cdb-4c48-8c52-e5288d2ea5b8/source 200 265 ms - 94092
At this point in Appium inspector there is only loanding sign without a screenshot.
Attached appium.log file maybe it would more informative.
Hopefully this helps.
Thanks.
WBR,
Hryhorii Solonynka
P.S.
Each time to get a screenshot I need to reboot the device
appium.log (42.5 KB)