添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement . We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account io.appium.uiautomator2.common.exceptions.NoSuchDriverException: A session is either terminated or not started\n\tat #15289 io.appium.uiautomator2.common.exceptions.NoSuchDriverException: A session is either terminated or not started\n\tat #15289 WuXiaoJun111 opened this issue Apr 22, 2021 · 7 comments
  • Appium version (or git revision) that exhibits the issue:V1.13
  • Last Appium version that did not exhibit the issue (if applicable):
  • Desktop OS/version used to run Appium:V1.13
  • Node.js version (unless using Appium.app|exe):
  • Npm or Yarn package manager:Npm
  • Mobile platform/version under test:Android6.0
  • Real device or emulator/simulator:Real device
  • Appium CLI or Appium.app|exe:
  • Details

    why an error when performing element lookup through U2
    04-22 14:39:32.605 I/appium (11856): AppiumResponse: {"sessionId":"7f052173-c168-4e64-80b8-f43d3aac3613","status":6,"value":"io.appium.uiautomator2.common.exceptions.NoSuchDriverException: A session is either terminated or not started\n\tat io.appium.uiautomator2.model.AppiumUIA2Driver.getSessionOrThrow(AppiumUIA2Driver.java:54)\n\tat io.appium.uiautomator2.handler.FindElements.fetchElements(FindElements.java:190)\n\tat io.appium.uiautomator2.handler.FindElements.getUiObjectsUsingAutomator(FindElements.java:168)\n\tat io.appium.uiautomator2.handler.FindElements.findElements(FindElements.java:123)\n\tat io.appium.uiautomator2.handler.FindElements.safeHandle(FindElements.java:81)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:37)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:252)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:243)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:44)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)\n\tat io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)\n\tat io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:102)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)\n\tat io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)\n\tat io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelRead(CombinedChannelDuplexHandler.java:435)\n\tat io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:293)\n\tat io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:267)\n\tat io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:250)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)\n\tat io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)\n\tat io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1294)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)\n\tat io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:911)\n\tat io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:131)\n\tat io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:611)\n\tat io.netty.channel.nio.NioEventLoop.processSelectedKeysPlain(NioEventLoop.java:514)\n\tat io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:468)\n\tat io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:438)\n\tat io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:140)\n\tat io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:144)\n\tat java.lang.Thread.run(Thread.java:818)\n"}

    Link to Appium logs

    2021-04-22 15:39:38:938 [Appium] Welcome to Appium v1.13.0
    2021-04-22 15:39:38:941 [Appium] Non-default server args:
    2021-04-22 15:39:38:942 [Appium] port: 4611
    2021-04-22 15:39:38:942 [Appium] sessionOverride: true
    2021-04-22 15:39:38:942 [Appium] logFile: ./appiumLog/appium_CheetahCase_DSFA.log
    2021-04-22 15:39:38:943 [Appium] loglevel: error:debug
    2021-04-22 15:39:38:943 [Appium] logTimestamp: true
    2021-04-22 15:39:38:943 [Appium] localTimezone: true
    2021-04-22 15:39:39:424 [Appium] Appium REST http interface listener started on 0.0.0.0:4611
    2021-04-22 15:40:06:374 [HTTP] --> POST /wd/hub/session
    2021-04-22 15:40:06:374 [HTTP] {"desiredCapabilities":{"app":"E:\Program Files\Jenkins\workspace\AdbDebugMFP31a\target\apk\easyfb.apk","appPackage":"com.pxs","allowInvisibleElements":true,"noSign":true,"adbPort":4831,"deviceName":"172.25.77.142:49110","ignoreUnimportantViews":false,"appWaitDuration":40000,"appActivity":".MainActivity","newCommandTimeout":864000,"adbExecTimeout":120000,"platformVersion":"6.0","automationName":"UiAutomator2","unicodeKeyboard":true,"platformName":"Android","udid":"172.25.77.142:49110","resetKeyboard":true,"systemPort":"8211"},"capabilities":{"firstMatch":[{"adbExecTimeout":120000,"appium:adbPort":4831,"allowInvisibleElements":true,"appium:app":"E:\Program Files\Jenkins\workspace\AdbDebugMFP31a\target\apk\easyfb.apk","appium:appActivity":".MainActivity","appium:appPackage":"com.pxs","appium:appWaitDuration":40000,"appium:automationName":"UiAutomator2","appium:deviceName":"172.25.77.142:49110","appium:ignoreUnimportantViews":false,"appium:newCommandTimeout":864000,"appium:n
    2021-04-22 15:40:06:376 [W3C] Calling AppiumDriver.createSession() with args: [{"app":"E:\Program Files\Jenkins\workspace\AdbDebugMFP31a\target\apk\easyfb.apk","appPackage":"com.pxs","allowInvisibleElements":true,"noSign":true,"adbPort":4831,"deviceName":"172.25.77.142:49110","ignoreUnimportantViews":false,"appWaitDuration":40000,"appActivity":".MainActivity","newCommandTimeout":864000,"adbExecTimeout":120000,"platformVersion":"6.0","automationName":"UiAutomator2","unicodeKeyboard":true,"platformName":"Android","udid":"172.25.77.142:49110","resetKeyboard":true,"systemPort":"8211"},null,{"firstMatch":[{"adbExecTimeout":120000,"appium:adbPort":4831,"allowInvisibleElements":true,"appium:app":"E:\Program Files\Jenkins\workspace\AdbDebugMFP31a\target\apk\easyfb.apk","appium:appActivity":".MainActivity","appium:appPackage":"com.pxs","appium:appWaitDuration":40000,"appium:automationName":"UiAutomator2","appium:deviceName":"172.25.77.142:49110","appium:ignoreUnimportantViews":false,"appium:newCommandTimeout":864000,"appium:noSign":true,"platformName":"android","appium:platform...
    2021-04-22 15:40:06:376 [BaseDriver] Event 'newSessionRequested' logged at 1619073606376 (15:40:06 GMT+0900 (GMT+09:00))
    2021-04-22 15:40:06:379 [BaseDriver] The capabilities ["adbExecTimeout","allowInvisibleElements"] are not standard capabilities and should have an extension prefix
    2021-04-22 15:40:06:622 [Appium] Appium v1.13.0 creating new AndroidUiautomator2Driver (v1.33.1) session
    2021-04-22 15:40:06:622 [Appium] Capabilities:
    2021-04-22 15:40:06:622 [Appium] adbExecTimeout: 120000
    2021-04-22 15:40:06:622 [Appium] allowInvisibleElements: true
    2021-04-22 15:40:06:623 [Appium] platformName: android
    2021-04-22 15:40:06:623 [Appium] adbPort: 4831
    2021-04-22 15:40:06:623 [Appium] app: E:\Program Files\Jenkins\workspace\AdbDebugMFP31a\target\apk\easyfb.apk
    2021-04-22 15:40:06:623 [Appium] appActivity: .MainActivity
    2021-04-22 15:40:06:623 [Appium] appPackage: com.pxs
    2021-04-22 15:40:06:623 [Appium] appWaitDuration: 40000
    2021-04-22 15:40:06:623 [Appium] automationName: UiAutomator2
    2021-04-22 15:40:06:623 [Appium] deviceName: 172.25.77.142:49110
    2021-04-22 15:40:06:623 [Appium] ignoreUnimportantViews: false
    2021-04-22 15:40:06:623 [Appium] newCommandTimeout: 864000
    2021-04-22 15:40:06:623 [Appium] noSign: true
    2021-04-22 15:40:06:623 [Appium] platformVersion: 6.0
    2021-04-22 15:40:06:624 [Appium] resetKeyboard: true
    2021-04-22 15:40:06:624 [Appium] systemPort: 8211
    2021-04-22 15:40:06:624 [Appium] udid: 172.25.77.142:49110
    2021-04-22 15:40:06:624 [Appium] unicodeKeyboard: true
    2021-04-22 15:40:06:627 [BaseDriver] W3C capabilities {"alwaysMatch":{"appium:adb... and MJSONWP desired capabilities {"app":"E:\Program Files\... were provided
    2021-04-22 15:40:06:627 [BaseDriver] Creating session with W3C capabilities: {"alwaysMatch":{"appium:adb...
    2021-04-22 15:40:06:628 [BaseDriver] Number capability passed in as string. Functionality may be compromised.
    2021-04-22 15:40:06:630 [BaseDriver] Capability 'systemPort' changed from string ('8211') to integer (8211). This may cause unexpected behavior
    2021-04-22 15:40:06:632 [BaseDriver] The following capabilities were provided, but are not recognized by appium: allowInvisibleElements, ignoreUnimportantViews.
    2021-04-22 15:40:06:633 [BaseDriver] Session created with session id: 2ad6a7e7-40a5-448e-8864-44b7e2d0b134
    2021-04-22 15:40:06:655 [BaseDriver] Using local app 'E:\Program Files\Jenkins\workspace\AdbDebugMFP31a\target\apk\easyfb.apk'
    2021-04-22 15:40:06:656 [UiAutomator2] Checking whether app is actually present
    2021-04-22 15:40:06:670 [ADB] Found 31 'build-tools' folders under 'C:\Users\admin\AppData\Local\Android\sdk' (newest first):
    2021-04-22 15:40:06:670 [ADB] C:/Users/admin/AppData/Local/Android/sdk/build-tools/29.0.3
    2021-04-22 15:40:06:670 [ADB] C:/Users/admin/AppData/Local/Android/sdk/build-tools/29.0.2
    2021-04-22 15:40:06:670 [ADB] C:/Users/admin/AppData/Local/Android/sdk/build-tools/29.0.1
    2021-04-22 15:40:06:670 [ADB] C:/Users/admin/AppData/Local/Android/sdk/build-tools/29.0.0
    2021-04-22 15:40:06:670 [ADB] C:/Users/admin/AppData/Local/Android/sdk/build-tools/28.0.3
    2021-04-22 15:40:06:670 [ADB] C:/Users/admin/AppData/Local/Android/sdk/build-tools/28.0.2
    2021-04-22 15:40:06:670 [ADB] C:/Users/admin/AppData/Local/Android/sdk/build-tools/28.0.1
    2021-04-22 15:40:06:670 [ADB] C:/Users/admin/AppData/Local/Android/sdk/build-tools/28.0.0
    2021-04-22 15:40:06:670 [ADB] C:/Users/admin/AppData/Local/Android/sdk/build-tools/27.0.3
    2021-04-22 15:40:06:670 [ADB] C:/Users/admin/AppData/Local/Android/sdk/build-tools/27.0.2
    2021-04-22 15:40:06:670 [ADB] C:/Users/admin/AppData/Local/Android/sdk/build-tools/27.0.1
    2021-04-22 15:40:06:671 [ADB] C:/Users/admin/AppData/Local/Android/sdk/build-tools/27.0.0
    2021-04-22 15:40:06:671 [ADB] C:/Users/admin/AppData/Local/Android/sdk/build-tools/26.0.3
    2021-04-22 15:40:06:671 [ADB] C:/Users/admin/AppData/Local/Android/sdk/build-tools/26.0.2
    2021-04-22 15:40:06:671 [ADB] C:/Users/admin/AppData/Local/Android/sdk/build-tools/26.0.1
    2021-04-22 15:40:06:671 [ADB] C:/Users/admin/AppData/Local/Android/sdk/build-tools/26.0.0
    2021-04-22 15:40:06:671 [ADB] C:/Users/admin/AppData/Local/Android/sdk/build-tools/25.0.3
    2021-04-22 15:40:06:671 [ADB] C:/Users/admin/AppData/Local/Android/sdk/build-tools/25.0.2
    2021-04-22 15:40:06:671 [ADB] C:/Users/admin/AppData/Local/Android/sdk/build-tools/25.0.1
    2021-04-22 15:40:06:671 [ADB] C:/Users/admin/AppData/Local/Android/sdk/build-tools/25.0.0
    2021-04-22 15:40:06:671 [ADB] C:/Users/admin/AppData/Local/Android/sdk/build-tools/24.0.3
    2021-04-22 15:40:06:671 [ADB] C:/Users/admin/AppData/Local/Android/sdk/build-tools/24.0.2
    2021-04-22 15:40:06:671 [ADB] C:/Users/admin/AppData/Local/Android/sdk/build-tools/24.0.1
    2021-04-22 15:40:06:671 [ADB] C:/Users/admin/AppData/Local/Android/sdk/build-tools/24.0.0
    2021-04-22 15:40:06:672 [ADB] C:/Users/admin/AppData/Local/Android/sdk/build-tools/23.0.3
    2021-04-22 15:40:06:672 [ADB] C:/Users/admin/AppData/Local/Android/sdk/build-tools/23.0.2
    2021-04-22 15:40:06:672 [ADB] C:/Users/admin/AppData/Local/Android/sdk/build-tools/23.0.1
    2021-04-22 15:40:06:672 [ADB] C:/Users/admin/AppData/Local/Android/sdk/build-tools/22.0.1
    2021-04-22 15:40:06:672 [ADB] C:/Users/admin/AppData/Local/Android/sdk/build-tools/21.1.2
    2021-04-22 15:40:06:672 [ADB] C:/Users/admin/AppData/Local/Android/sdk/build-tools/20.0.0
    2021-04-22 15:40:06:672 [ADB] C:/Users/admin/AppData/Local/Android/sdk/build-tools/19.1.0
    2021-04-22 15:40:06:673 [ADB] Using 'adb.exe' from 'C:\Users\admin\AppData\Local\Android\sdk\platform-tools\adb.exe'
    2021-04-22 15:40:06:673 [AndroidDriver] Retrieving device list
    2021-04-22 15:40:06:673 [ADB] Trying to find a connected android device
    2021-04-22 15:40:06:673 [ADB] Getting connected devices...
    2021-04-22 15:40:06:748 [ADB] 2 device(s) connected
    2021-04-22 15:40:06:748 [AndroidDriver] Using device: 172.25.77.142:49110
    2021-04-22 15:40:06:749 [ADB] Using 'adb.exe' from 'C:\Users\admin\AppData\Local\Android\sdk\platform-tools\adb.exe'
    2021-04-22 15:40:06:749 [ADB] Setting device id to 172.25.77.142:49110
    2021-04-22 15:40:06:750 [ADB] Running 'C:\Users\admin\AppData\Local\Android\sdk\platform-tools\adb.exe -P 4831 -s 172.25.77.142:49110 shell getprop ro.build.version.sdk'
    2021-04-22 15:40:06:877 [ADB] Current device property 'ro.build.version.sdk': 23
    2021-04-22 15:40:06:878 [ADB] Device API level: 23
    2021-04-22 15:40:06:881 [ADB] Running 'C:\Users\admin\AppData\Local\Android\sdk\platform-tools\adb.exe -P 4831 -s 172.25.77.142:49110 wait-for-device'
    2021-04-22 15:40:06:978 [ADB] Running 'C:\Users\admin\AppData\Local\Android\sdk\platform-tools\adb.exe -P 4831 -s 172.25.77.142:49110 shell echo ping'
    2021-04-22 15:40:07:127 [AndroidDriver] Pushing settings apk to device...
    2021-04-22 15:40:07:130 [ADB] Getting install status for io.appium.settings
    2021-04-22 15:40:07:131 [ADB] Running 'C:\Users\admin\AppData\Local\Android\sdk\platform-tools\adb.exe -P 4831 -s 172.25.77.142:49110 shell dumpsys package io.appium.settings'
    2021-04-22 15:40:07:377 [ADB] 'io.appium.settings' is installed
    2021-04-22 15:40:07:378 [ADB] Getting package info for 'io.appium.settings'
    2021-04-22 15:40:07:378 [ADB] Running 'C:\Users\admin\AppData\Local\Android\sdk\platform-tools\adb.exe -P 4831 -s 172.25.77.142:49110 shell dumpsys package io.appium.settings'
    2021-04-22 15:40:07:595 [ADB] Using 'aapt.exe' from 'C:\Users\admin\AppData\Local\Android\sdk\build-tools\29.0.3\aapt.exe'
    2021-04-22 15:40:07:626 [ADB] The version name of the installed 'io.appium.settings' is greater or equal to the application version name ('2.14.0' >= '2.14.0')
    2021-04-22 15:40:07:627 [ADB] There is no need to install/upgrade 'E:\nodejs\node_global\node_modules\appium\node_modules\io.appium.settings\apks\settings_apk-debug.apk'
    2021-04-22 15:40:07:627 [ADB] Getting IDs of all 'io.appium.settings' processes
    2021-04-22 15:40:07:628 [ADB] Running 'C:\Users\admin\AppData\Local\Android\sdk\platform-tools\adb.exe -P 4831 -s 172.25.77.142:49110 shell 'pgrep --help; echo $?''
    2021-04-22 15:40:07:769 [ADB] Running 'C:\Users\admin\AppData\Local\Android\sdk\platform-tools\adb.exe -P 4831 -s 172.25.77.142:49110 shell pgrep -f io\.appium\.settings'
    2021-04-22 15:40:07:949 [AndroidDriver] io.appium.settings is already running. There is no need to reset its permissions.
    2021-04-22 15:40:07:950 [ADB] Running 'C:\Users\admin\AppData\Local\Android\sdk\platform-tools\adb.exe -P 4831 -s 172.25.77.142:49110 shell appops set io.appium.settings android:mock_location allow'
    2021-04-22 15:40:09:436 [Logcat] Starting logcat capture
    2021-04-22 15:40:09:550 [AndroidDriver] Enabling Unicode keyboard support
    2021-04-22 15:40:09:551 [ADB] Running 'C:\Users\admin\AppData\Local\Android\sdk\platform-tools\adb.exe -P 4831 -s 172.25.77.142:49110 shell settings get secure default_input_method'
    2021-04-22 15:40:11:155 [AndroidDriver] Unsetting previous IME io.appium.settings/.UnicodeIME
    2021-04-22 15:40:11:155 [AndroidDriver] Setting IME to 'io.appium.settings/.UnicodeIME'
    2021-04-22 15:40:11:156 [ADB] Running 'C:\Users\admin\AppData\Local\Android\sdk\platform-tools\adb.exe -P 4831 -s 172.25.77.142:49110 shell ime enable io.appium.settings/.UnicodeIME'
    2021-04-22 15:40:12:733 [ADB] Running 'C:\Users\admin\AppData\Local\Android\sdk\platform-tools\adb.exe -P 4831 -s 172.25.77.142:49110 shell ime set io.appium.settings/.UnicodeIME'
    2021-04-22 15:40:14:223 [ADB] Getting install status for io.appium.uiautomator2.server
    2021-04-22 15:40:14:224 [ADB] Running 'C:\Users\admin\AppData\Local\Android\sdk\platform-tools\adb.exe -P 4831 -s 172.25.77.142:49110 shell dumpsys package io.appium.uiautomator2.server'
    2021-04-22 15:40:14:439 [ADB] 'io.appium.uiautomator2.server' is installed
    2021-04-22 15:40:14:440 [ADB] Getting package info for 'io.appium.uiautomator2.server'
    2021-04-22 15:40:14:441 [ADB] Running 'C:\Users\admin\AppData\Local\Android\sdk\platform-tools\adb.exe -P 4831 -s 172.25.77.142:49110 shell dumpsys package io.appium.uiautomator2.server'
    2021-04-22 15:40:14:689 [ADB] The version name of the installed 'io.appium.uiautomator2.server' is greater or equal to the application version name ('3.5.1' >= '3.5.1')
    2021-04-22 15:40:14:690 [UiAutomator2] io.appium.uiautomator2.server installation state: sameVersionInstalled
    2021-04-22 15:40:14:690 [ADB] Checking app cert for E:\nodejs\node_global\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v3.5.1.apk
    2021-04-22 15:40:14:692 [ADB] Using 'apksigner.bat' from 'C:\Users\admin\AppData\Local\Android\sdk\build-tools\29.0.3\apksigner.bat'
    2021-04-22 15:40:14:692 [ADB] Starting 'C:\Users\admin\AppData\Local\Android\sdk\build-tools\29.0.3\apksigner.bat' with args '["verify","--print-certs","E:\nodejs\node_global\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v3.5.1.apk"]'
    2021-04-22 15:40:15:528 [ADB] apksigner stdout: Signer #1 certificate DN: EMAILADDRESS= [email protected] , CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US

    2021-04-22 15:40:15:528 [ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc

    2021-04-22 15:40:15:528 [ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81

    2021-04-22 15:40:15:528 [ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87

    2021-04-22 15:40:15:529 [ADB]
    2021-04-22 15:40:15:529 [ADB] apksigner stderr: Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
    2021-04-22 15:40:15:529 [ADB]
    2021-04-22 15:40:15:529 [ADB] 'E:\nodejs\node_global\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v3.5.1.apk' is already signed.
    2021-04-22 15:40:15:529 [ADB] Getting install status for io.appium.uiautomator2.server.test
    2021-04-22 15:40:15:529 [ADB] Running 'C:\Users\admin\AppData\Local\Android\sdk\platform-tools\adb.exe -P 4831 -s 172.25.77.142:49110 shell dumpsys package io.appium.uiautomator2.server.test'
    2021-04-22 15:40:15:674 [ADB] 'io.appium.uiautomator2.server.test' is installed
    2021-04-22 15:40:15:674 [ADB] Checking app cert for E:\nodejs\node_global\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk
    2021-04-22 15:40:15:675 [ADB] Starting 'C:\Users\admin\AppData\Local\Android\sdk\build-tools\29.0.3\apksigner.bat' with args '["verify","--print-certs","E:\nodejs\node_global\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk"]'
    2021-04-22 15:40:16:417 [ADB] apksigner stdout: Signer #1 certificate DN: EMAILADDRESS= [email protected] , CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US

    2021-04-22 15:40:16:417 [ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc

    2021-04-22 15:40:16:418 [ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81

    2021-04-22 15:40:16:418 [ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87

    2021-04-22 15:40:16:418 [ADB]
    2021-04-22 15:40:16:418 [ADB] apksigner stderr: Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
    2021-04-22 15:40:16:418 [ADB]
    2021-04-22 15:40:16:418 [ADB] 'E:\nodejs\node_global\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk' is already signed.
    2021-04-22 15:40:16:418 [UiAutomator2] Server packages are not going to be (re)installed
    2021-04-22 15:40:16:418 [UiAutomator2] Waiting up to 30000ms for services to be available
    2021-04-22 15:40:16:419 [ADB] Running 'C:\Users\admin\AppData\Local\Android\sdk\platform-tools\adb.exe -P 4831 -s 172.25.77.142:49110 shell pm list instrumentation'
    2021-04-22 15:40:17:768 [UiAutomator2] Instrumentation target 'io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner' is available
    2021-04-22 15:40:17:768 [UiAutomator2] Forwarding UiAutomator2 Server port 6790 to 8211
    2021-04-22 15:40:17:769 [ADB] Forwarding system: 8211 to device: 6790
    2021-04-22 15:40:17:770 [ADB] Running 'C:\Users\admin\AppData\Local\Android\sdk\platform-tools\adb.exe -P 4831 -s 172.25.77.142:49110 forward tcp:8211 tcp:6790'
    2021-04-22 15:40:17:875 [ADB] Getting install status for com.pxs
    2021-04-22 15:40:17:876 [ADB] Running 'C:\Users\admin\AppData\Local\Android\sdk\platform-tools\adb.exe -P 4831 -s 172.25.77.142:49110 shell dumpsys package com.pxs'
    2021-04-22 15:40:18:012 [ADB] 'com.pxs' is not installed
    2021-04-22 15:40:18:012 [ADB] Getting install status for com.pxs
    2021-04-22 15:40:18:012 [ADB] Running 'C:\Users\admin\AppData\Local\Android\sdk\platform-tools\adb.exe -P 4831 -s 172.25.77.142:49110 shell dumpsys package com.pxs'
    2021-04-22 15:40:18:158 [ADB] 'com.pxs' is not installed
    2021-04-22 15:40:18:158 [ADB] App 'E:\Program Files\Jenkins\workspace\AdbDebugMFP31a\target\apk\easyfb.apk' is not installed
    2021-04-22 15:40:18:159 [ADB] Installing 'E:\Program Files\Jenkins\workspace\AdbDebugMFP31a\target\apk\easyfb.apk'
    2021-04-22 15:40:18:176 [ADB] Running 'C:\Users\admin\AppData\Local\Android\sdk\platform-tools\adb.exe -P 4831 -s 172.25.77.142:49110 shell 'ls -t -1 /data/local/tmp/appium_cache 2>&1 || echo ERROR ''
    2021-04-22 15:40:18:340 [ADB] The current Android API does not support extended ls options. Defaulting to no-options call
    2021-04-22 15:40:18:341 [ADB] Running 'C:\Users\admin\AppData\Local\Android\sdk\platform-tools\adb.exe -P 4831 -s 172.25.77.142:49110 shell 'ls /data/local/tmp/appium_cache 2>&1 || echo ERROR ''
    2021-04-22 15:40:18:470 [ADB] The count of applications in the cache: 4
    2021-04-22 15:40:18:472 [ADB] The application at 'E:\Program Files\Jenkins\workspace\AdbDebugMFP31a\target\apk\easyfb.apk' is already cached to '/data/local/tmp/appium_cache/83c6ee5bd7174822a38cb3d42dce8d6889ab8a47.apk'
    2021-04-22 15:40:18:476 [ADB] Running 'C:\Users\admin\AppData\Local\Android\sdk\platform-tools\adb.exe -P 4831 -s 172.25.77.142:49110 shell pm install /data/local/tmp/appium_cache/83c6ee5bd7174822a38cb3d42dce8d6889ab8a47.apk'
    2021-04-22 15:40:21:059 [ADB] The installation of 'easyfb.apk' took 2.584s
    2021-04-22 15:40:21:060 [ADB] Install command stdout: pkg: /data/local/tmp/appium_cache/83c6ee5bd7174822a38cb3d42dce8d6889ab8a47.apk

    2021-04-22 15:40:21:060 [ADB] Success
    2021-04-22 15:40:21:061 [UiAutomator2] Performing shallow cleanup of automation leftovers
    2021-04-22 15:40:21:167 [UiAutomator2] No obsolete sessions have been detected
    2021-04-22 15:40:21:168 [ADB] Running 'C:\Users\admin\AppData\Local\Android\sdk\platform-tools\adb.exe -P 4831 -s 172.25.77.142:49110 shell am force-stop io.appium.uiautomator2.server.test'
    2021-04-22 15:40:22:825 [UiAutomator2] Starting UIAutomator2 server 3.5.1
    2021-04-22 15:40:22:825 [UiAutomator2] Using UIAutomator2 server from 'E:\nodejs\node_global\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v3.5.1.apk' and test from 'E:\nodejs\node_global\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk'
    2021-04-22 15:40:22:826 [UiAutomator2] Waiting up to 30000ms for UiAutomator2 to be online...
    2021-04-22 15:40:22:826 [ADB] Creating ADB subprocess with args: ["-P",4831,"-s","172.25.77.142:49110","shell","am","instrument","-w","io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner"]
    2021-04-22 15:40:23:842 [WD Proxy] Matched '/status' to command name 'getStatus'
    2021-04-22 15:40:23:846 [WD Proxy] Proxying [GET /status] to [GET http://localhost:8211/wd/hub/status] with no body
    2021-04-22 15:40:23:870 [WD Proxy] Got response with status 200: "{"sessionId":"None","status":0,"value":"Status Invoked"}"
    2021-04-22 15:40:23:871 [WD Proxy] Determined that the downstream protocol for proxy is MJSONWP
    2021-04-22 15:40:23:872 [UiAutomator2] The initialization of the instrumentation process took 1047ms
    2021-04-22 15:40:23:873 [WD Proxy] Matched '/session' to command name 'createSession'
    2021-04-22 15:40:23:874 [WD Proxy] Proxying [POST /session] to [POST http://localhost:8211/wd/hub/session] with body: {"desiredCapabilities":{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"android","adbExecTimeout":120000,"allowInvisibleElements":true,"adbPort":4831,"app":"E:\Program Files\Jenkins\workspace\AdbDebugMFP31a\target\apk\easyfb.apk","appActivity":".MainActivity","appPackage":"com.pxs","appWaitDuration":40000,"automationName":"UiAutomator2","deviceName":"172.25.77.142:49110","ignoreUnimportantViews":false,"newCommandTimeout":864000,"noSign":true,"platformVersion":"6.0","resetKeyboard":true,"systemPort":8211,"udid":"172.25.77.142:49110","unicodeKeyboard":true},"platformName":"android","adbExecTimeout":120000,"allowInvisibleElements":true,"adbPort":4831,"app":"E:\Program Files\Jenkins\workspace\AdbDebugMFP31a\target\apk\easyfb.apk","appActivity":".MainActivity","appPackage":"com.pxs","appWaitDuration":40000,"automationName":"UiA...
    2021-04-22 15:40:23:935 [WD Proxy] Got response with status 200: {"sessionId":"7f052173-c168-4e64-80b8-f43d3aac3613","status":0,"value":"Created Session"}
    2021-04-22 15:40:23:961 [WD Proxy] Proxying [GET /appium/device/info] to [GET http://localhost:8211/wd/hub/session/7f052173-c168-4e64-80b8-f43d3aac3613/appium/device/info] with no body
    2021-04-22 15:40:24:000 [WD Proxy] Got response with status 200: "{"sessionId":"7f052173-c168-4e64-80b8-f43d3aac3613","status":0,"value":{"androidId":"8308cf9c7a2a3d19","manufacturer":"Freescale","model":"SABRESD-MX6DQ","brand":"Freescale","apiVersion":"23","platformVersion":"6.0.1","carrierName":"","realDisplaySize":"1024x600","displayDensity":160,"networks":[{"type":9,"typeName":"Ethernet","subtype":0,"subtypeName":"","isConnected":true,"detailedState":"CONNECTED","state":"CONNECTED","extraInfo":"00:26:73:0c:d6:10","isAvailable":true,"isFailover":false,"isRoaming":false,"capabilities":{"transportTypes":"NET_CAPABILITY_FOTA","networkCapabilities":"","linkUpstreamBandwidthKbps":100000,"linkDownBandwidthKbps":100000,"signalStrength":-2147483648,"networkSpecifier":null,"SSID":null}}]}}"
    2021-04-22 15:40:24:001 [ADB] Running 'C:\Users\admin\AppData\Local\Android\sdk\platform-tools\adb.exe -P 4831 -s 172.25.77.142:49110 shell dumpsys window'
    2021-04-22 15:40:24:203 [AndroidDriver] Screen already unlocked, doing nothing
    2021-04-22 15:40:24:203 [UiAutomator2] UiAutomator2 did not start the activity we were waiting for, 'com.pxs/.MainActivity'. Starting it ourselves
    2021-04-22 15:40:24:205 [ADB] Running 'C:\Users\admin\AppData\Local\Android\sdk\platform-tools\adb.exe -P 4831 -s 172.25.77.142:49110 shell am start -W -n com.pxs/.MainActivity -S -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -f 0x10200000'
    2021-04-22 15:40:24:949 [Instrumentation] io.appium.uiautomator2.server.test.AppiumUiAutomator2Server:
    2021-04-22 15:40:27:349 [WD Proxy] Proxying [GET /appium/device/pixel_ratio] to [GET http://localhost:8211/wd/hub/session/7f052173-c168-4e64-80b8-f43d3aac3613/appium/device/pixel_ratio] with body: {}
    2021-04-22 15:40:27:452 [WD Proxy] Got response with status 200: "{"sessionId":"7f052173-c168-4e64-80b8-f43d3aac3613","status":0,"value":1}"
    2021-04-22 15:40:27:455 [WD Proxy] Matched '/appium/device/system_bars' to command name 'getSystemBars'
    2021-04-22 15:40:27:456 [WD Proxy] Proxying [GET /appium/device/system_bars] to [GET http://localhost:8211/wd/hub/session/7f052173-c168-4e64-80b8-f43d3aac3613/appium/device/system_bars] with body: {}
    2021-04-22 15:40:27:528 [WD Proxy] Got response with status 200: "{"sessionId":"7f052173-c168-4e64-80b8-f43d3aac3613","status":0,"value":{"statusBar":40}}"
    2021-04-22 15:40:27:530 [WD Proxy] Matched '/window/current/size' to command name 'getWindowSize'
    2021-04-22 15:40:27:531 [WD Proxy] Proxying [GET /window/current/size] to [GET http://localhost:8211/wd/hub/session/7f052173-c168-4e64-80b8-f43d3aac3613/window/current/size] with body: {}
    2021-04-22 15:40:27:567 [WD Proxy] Got response with status 200: "{"sessionId":"7f052173-c168-4e64-80b8-f43d3aac3613","status":0,"value":{"height":560,"width":1024}}"
    2021-04-22 15:40:27:569 [Appium] New AndroidUiautomator2Driver session created successfully, session 2ad6a7e7-40a5-448e-8864-44b7e2d0b134 added to master session list
    2021-04-22 15:40:27:571 [BaseDriver] Event 'newSessionStarted' logged at 1619073627570 (15:40:27 GMT+0900 (GMT+09:00))
    2021-04-22 15:40:27:572 [W3C (2ad6a7e7)] Cached the protocol value 'W3C' for the new session 2ad6a7e7-40a5-448e-8864-44b7e2d0b134
    2021-04-22 15:40:27:574 [W3C (2ad6a7e7)] Responding to client with driver.createSession() result: {"capabilities":{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"android","adbExecTimeout":120000,"allowInvisibleElements":true,"adbPort":4831,"app":"E:\Program Files\Jenkins\workspace\AdbDebugMFP31a\target\apk\easyfb.apk","appActivity":".MainActivity","appPackage":"com.pxs","appWaitDuration":40000,"automationName":"UiAutomator2","deviceName":"172.25.77.142:49110","ignoreUnimportantViews":false,"newCommandTimeout":864000,"noSign":true,"platformVersion":"6.0","resetKeyboard":true,"systemPort":8211,"udid":"172.25.77.142:49110","unicodeKeyboard":true},"platformName":"android","adbExecTimeout":120000,"allowInvisibleElements":true,"adbPort":4831,"app":"E:\Program Files\Jenkins\workspace\AdbDebugMFP31a\target\apk\easyfb.apk","appActivity":".MainActivity","appPackage":"com.pxs","appWaitDuration":40000,"automationName":"UiAutomato...
    2021-04-22 15:40:27:585 [HTTP] <-- POST /wd/hub/session 200 21205 ms - 1580
    2021-04-22 15:40:27:585 [HTTP]
    2021-04-22 15:40:27:669 [HTTP] --> GET /wd/hub/session/2ad6a7e7-40a5-448e-8864-44b7e2d0b134
    2021-04-22 15:40:27:670 [HTTP] {}
    2021-04-22 15:40:27:671 [W3C (2ad6a7e7)] Calling AppiumDriver.getSession() with args: ["2ad6a7e7-40a5-448e-8864-44b7e2d0b134"]
    2021-04-22 15:40:27:689 [UiAutomator2] Getting session details from server to mix in
    2021-04-22 15:40:27:689 [WD Proxy] Matched '/' to command name 'getSession'
    2021-04-22 15:40:27:689 [WD Proxy] Proxying [GET /] to [GET http://localhost:8211/wd/hub/session/7f052173-c168-4e64-80b8-f43d3aac3613] with body: {}
    2021-04-22 15:40:27:727 [WD Proxy] Got response with status 200: "{"sessionId":"7f052173-c168-4e64-80b8-f43d3aac3613","status":0,"value":{}}"
    2021-04-22 15:40:27:728 [W3C (2ad6a7e7)] Responding to client with driver.getSession() result: {"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"android","adbExecTimeout":120000,"allowInvisibleElements":true,"adbPort":4831,"app":"E:\Program Files\Jenkins\workspace\AdbDebugMFP31a\target\apk\easyfb.apk","appActivity":".MainActivity","appPackage":"com.pxs","appWaitDuration":40000,"automationName":"UiAutomator2","deviceName":"172.25.77.142:49110","ignoreUnimportantViews":false,"newCommandTimeout":864000,"noSign":true,"platformVersion":"6.0","resetKeyboard":true,"systemPort":8211,"udid":"172.25.77.142:49110","unicodeKeyboard":true},"platformName":"android","adbExecTimeout":120000,"allowInvisibleElements":true,"adbPort":4831,"app":"E:\Program Files\Jenkins\workspace\AdbDebugMFP31a\target\apk\easyfb.apk","appActivity":".MainActivity","appPackage":"com.pxs","appWaitDuration":40000,"automationName":"UiAutomator2","deviceName"...
    2021-04-22 15:40:27:729 [HTTP] <-- GET /wd/hub/session/2ad6a7e7-40a5-448e-8864-44b7e2d0b134 200 59 ms - 1512
    2021-04-22 15:40:27:729 [HTTP]
    2021-04-22 15:40:27:752 [HTTP] --> GET /wd/hub/session/2ad6a7e7-40a5-448e-8864-44b7e2d0b134
    2021-04-22 15:40:27:752 [HTTP] {}
    2021-04-22 15:40:27:752 [W3C (2ad6a7e7)] Calling AppiumDriver.getSession() with args: ["2ad6a7e7-40a5-448e-8864-44b7e2d0b134"]
    2021-04-22 15:40:27:753 [UiAutomator2] Getting session details from server to mix in
    2021-04-22 15:40:27:753 [WD Proxy] Matched '/' to command name 'getSession'
    2021-04-22 15:40:27:753 [WD Proxy] Proxying [GET /] to [GET http://localhost:8211/wd/hub/session/7f052173-c168-4e64-80b8-f43d3aac3613] with body: {}
    2021-04-22 15:40:27:809 [WD Proxy] Got response with status 200: "{"sessionId":"7f052173-c168-4e64-80b8-f43d3aac3613","status":0,"value":{}}"
    2021-04-22 15:40:27:811 [W3C (2ad6a7e7)] Responding to client with driver.getSession() result: {"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"android","adbExecTimeout":120000,"allowInvisibleElements":true,"adbPort":4831,"app":"E:\Program Files\Jenkins\workspace\AdbDebugMFP31a\target\apk\easyfb.apk","appActivity":".MainActivity","appPackage":"com.pxs","appWaitDuration":40000,"automationName":"UiAutomator2","deviceName":"172.25.77.142:49110","ignoreUnimportantViews":false,"newCommandTimeout":864000,"noSign":true,"platformVersion":"6.0","resetKeyboard":true,"systemPort":8211,"udid":"172.25.77.142:49110","unicodeKeyboard":true},"platformName":"android","adbExecTimeout":120000,"allowInvisibleElements":true,"adbPort":4831,"app":"E:\Program Files\Jenkins\workspace\AdbDebugMFP31a\target\apk\easyfb.apk","appActivity":".MainActivity","appPackage":"com.pxs","appWaitDuration":40000,"automationName":"UiAutomator2","deviceName"...
    2021-04-22 15:40:27:814 [HTTP] <-- GET /wd/hub/session/2ad6a7e7-40a5-448e-8864-44b7e2d0b134 200 61 ms - 1512
    2021-04-22 15:40:27:814 [HTTP]
    2021-04-22 15:40:27:897 [HTTP] --> POST /wd/hub/session/2ad6a7e7-40a5-448e-8864-44b7e2d0b134/appium/device/press_keycode
    2021-04-22 15:40:27:897 [HTTP] {"keycode":3}
    2021-04-22 15:40:27:901 [W3C (2ad6a7e7)] Calling AppiumDriver.pressKeyCode() with args: [3,null,null,null,null,"2ad6a7e7-40a5-448e-8864-44b7e2d0b134"]
    2021-04-22 15:40:27:902 [WD Proxy] Matched '/appium/device/press_keycode' to command name 'pressKeyCode'
    2021-04-22 15:40:27:902 [WD Proxy] Proxying [POST /appium/device/press_keycode] to [POST http://localhost:8211/wd/hub/session/7f052173-c168-4e64-80b8-f43d3aac3613/appium/device/press_keycode] with body: {"keycode":3,"metastate":null,"flags":null}
    2021-04-22 15:40:28:340 [WD Proxy] Got response with status 200: {"sessionId":"7f052173-c168-4e64-80b8-f43d3aac3613","status":0,"value":true}
    2021-04-22 15:40:28:342 [W3C (2ad6a7e7)] Responding to client with driver.pressKeyCode() result: true
    2021-04-22 15:40:28:344 [HTTP] <-- POST /wd/hub/session/2ad6a7e7-40a5-448e-8864-44b7e2d0b134/appium/device/press_keycode 200 446 ms - 14
    2021-04-22 15:40:28:345 [HTTP]
    2021-04-22 15:40:31:883 [HTTP] --> POST /wd/hub/session/2ad6a7e7-40a5-448e-8864-44b7e2d0b134/elements
    2021-04-22 15:40:31:884 [HTTP] {"using":"id","value":"jp.co.ricoh.advop.systemmessage:id/image_titel_line"}
    2021-04-22 15:40:31:885 [W3C (2ad6a7e7)] Calling AppiumDriver.findElements() with args: ["id","jp.co.ricoh.advop.systemmessage:id/image_titel_line","2ad6a7e7-40a5-448e-8864-44b7e2d0b134"]
    2021-04-22 15:40:31:886 [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
    2021-04-22 15:40:31:887 [BaseDriver] Waiting up to 0 ms for condition
    2021-04-22 15:40:31:890 [WD Proxy] Matched '/elements' to command name 'findElements'
    2021-04-22 15:40:31:890 [WD Proxy] Proxying [POST /elements] to [POST http://localhost:8211/wd/hub/session/7f052173-c168-4e64-80b8-f43d3aac3613/elements] with body: {"strategy":"id","selector":"jp.co.ricoh.advop.systemmessage:id/image_titel_line","context":"","multiple":true}
    2021-04-22 15:40:31:953 [WD Proxy] Got an unexpected response: {"sessionId":"7f052173-c168-4e64-80b8-f43d3aac3613","status":6,"value":"io.appium.uiautomator2.common.exceptions.NoSuchDriverException: A session is either terminated or not started\n\tat io.appium.uiautomator2.model.AppiumUIA2Driver.getSessionOrThrow(AppiumUIA2Driver.java:54)\n\tat io.appium.uia...
    2021-04-22 15:40:31:956 [MJSONWP] Matched JSONWP error code 6 to NoSuchDriverError
    2021-04-22 15:40:31:980 [W3C (2ad6a7e7)] Encountered internal error running command: NoSuchDriverError: io.appium.uiautomator2.common.exceptions.NoSuchDriverException: A session is either terminated or not started
    2021-04-22 15:40:31:980 [W3C (2ad6a7e7)] at io.appium.uiautomator2.model.AppiumUIA2Driver.getSessionOrThrow(AppiumUIA2Driver.java:54)
    2021-04-22 15:40:31:980 [W3C (2ad6a7e7)] at io.appium.uiautomator2.handler.FindElements.safeHandle(FindElements.java:84)
    2021-04-22 15:40:31:980 [W3C (2ad6a7e7)] at io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:37)
    2021-04-22 15:40:31:980 [W3C (2ad6a7e7)] at io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:252)
    2021-04-22 15:40:31:980 [W3C (2ad6a7e7)] at io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:243)
    2021-04-22 15:40:31:980 [W3C (2ad6a7e7)] at io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:44)
    2021-04-22 15:40:31:980 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
    2021-04-22 15:40:31:980 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
    2021-04-22 15:40:31:980 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)
    2021-04-22 15:40:31:980 [W3C (2ad6a7e7)] at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:102)
    2021-04-22 15:40:31:980 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
    2021-04-22 15:40:31:980 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
    2021-04-22 15:40:31:981 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)
    2021-04-22 15:40:31:981 [W3C (2ad6a7e7)] at io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelRead(CombinedChannelDuplexHandler.java:435)
    2021-04-22 15:40:31:981 [W3C (2ad6a7e7)] at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:293)
    2021-04-22 15:40:31:981 [W3C (2ad6a7e7)] at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:267)
    2021-04-22 15:40:31:981 [W3C (2ad6a7e7)] at io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:250)
    2021-04-22 15:40:31:981 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
    2021-04-22 15:40:31:981 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
    2021-04-22 15:40:31:981 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)
    2021-04-22 15:40:31:981 [W3C (2ad6a7e7)] at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1294)
    2021-04-22 15:40:31:981 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
    2021-04-22 15:40:31:981 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
    2021-04-22 15:40:31:981 [W3C (2ad6a7e7)] at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:911)
    2021-04-22 15:40:31:981 [W3C (2ad6a7e7)] at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:131)
    2021-04-22 15:40:31:981 [W3C (2ad6a7e7)] at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:611)
    2021-04-22 15:40:31:981 [W3C (2ad6a7e7)] at io.netty.channel.nio.NioEventLoop.processSelectedKeysPlain(NioEventLoop.java:514)
    2021-04-22 15:40:31:981 [W3C (2ad6a7e7)] at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:468)
    2021-04-22 15:40:31:981 [W3C (2ad6a7e7)] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:438)
    2021-04-22 15:40:31:981 [W3C (2ad6a7e7)] at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:140)
    2021-04-22 15:40:31:982 [W3C (2ad6a7e7)] at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:144)
    2021-04-22 15:40:31:982 [W3C (2ad6a7e7)] at java.lang.Thread.run(Thread.java:818)
    2021-04-22 15:40:31:982 [W3C (2ad6a7e7)]
    2021-04-22 15:40:31:982 [W3C (2ad6a7e7)] at errorFromMJSONWPStatusCode (E:\nodejs\node_global\node_modules\appium\node_modules\appium-base-driver\lib\protocol\errors.js:786:12)
    2021-04-22 15:40:31:982 [W3C (2ad6a7e7)] at ProxyRequestError.errorFromMJSONWPStatusCode [as getActualError] (E:\nodejs\node_global\node_modules\appium\node_modules\appium-base-driver\lib\protocol\errors.js:683:14)
    2021-04-22 15:40:31:982 [W3C (2ad6a7e7)] at JWProxy.getActualError [as command] (E:\nodejs\node_global\node_modules\appium\node_modules\appium-base-driver\lib\jsonwp-proxy\proxy.js:235:19)
    2021-04-22 15:40:31:983 [HTTP] <-- POST /wd/hub/session/2ad6a7e7-40a5-448e-8864-44b7e2d0b134/elements 404 99 ms - 7136
    2021-04-22 15:40:31:983 [HTTP]
    2021-04-22 15:40:32:006 [HTTP] --> POST /wd/hub/session/2ad6a7e7-40a5-448e-8864-44b7e2d0b134/appium/device/press_keycode
    2021-04-22 15:40:32:006 [HTTP] {"keycode":3}
    2021-04-22 15:40:32:006 [W3C (2ad6a7e7)] Calling AppiumDriver.pressKeyCode() with args: [3,null,null,null,null,"2ad6a7e7-40a5-448e-8864-44b7e2d0b134"]
    2021-04-22 15:40:32:008 [WD Proxy] Matched '/appium/device/press_keycode' to command name 'pressKeyCode'
    2021-04-22 15:40:32:008 [WD Proxy] Proxying [POST /appium/device/press_keycode] to [POST http://localhost:8211/wd/hub/session/7f052173-c168-4e64-80b8-f43d3aac3613/appium/device/press_keycode] with body: {"keycode":3,"metastate":null,"flags":null}
    2021-04-22 15:40:32:046 [WD Proxy] Got response with status 200: {"sessionId":"7f052173-c168-4e64-80b8-f43d3aac3613","status":0,"value":true}
    2021-04-22 15:40:32:047 [W3C (2ad6a7e7)] Responding to client with driver.pressKeyCode() result: true
    2021-04-22 15:40:32:047 [HTTP] <-- POST /wd/hub/session/2ad6a7e7-40a5-448e-8864-44b7e2d0b134/appium/device/press_keycode 200 41 ms - 14
    2021-04-22 15:40:32:047 [HTTP]
    2021-04-22 15:40:32:065 [HTTP] --> GET /wd/hub/session/2ad6a7e7-40a5-448e-8864-44b7e2d0b134/appium/device/current_activity
    2021-04-22 15:40:32:065 [HTTP] {}
    2021-04-22 15:40:32:066 [W3C (2ad6a7e7)] Calling AppiumDriver.getCurrentActivity() with args: ["2ad6a7e7-40a5-448e-8864-44b7e2d0b134"]
    2021-04-22 15:40:32:067 [ADB] Getting focused package and activity
    2021-04-22 15:40:32:067 [ADB] Running 'C:\Users\admin\AppData\Local\Android\sdk\platform-tools\adb.exe -P 4831 -s 172.25.77.142:49110 shell dumpsys window windows'
    2021-04-22 15:40:32:344 [W3C (2ad6a7e7)] Responding to client with driver.getCurrentActivity() result: "com.android.launcher2.Launcher"
    2021-04-22 15:40:32:345 [HTTP] <-- GET /wd/hub/session/2ad6a7e7-40a5-448e-8864-44b7e2d0b134/appium/device/current_activity 200 279 ms - 42
    2021-04-22 15:40:32:345 [HTTP]
    2021-04-22 15:40:32:389 [HTTP] --> POST /wd/hub/session/2ad6a7e7-40a5-448e-8864-44b7e2d0b134/elements
    2021-04-22 15:40:32:389 [HTTP] {"using":"-android uiautomator","value":"new UiSelector().text("Settings").instance(0)"}
    2021-04-22 15:40:32:390 [W3C (2ad6a7e7)] Calling AppiumDriver.findElements() with args: ["-android uiautomator","new UiSelector().text("Settings").instance(0)","2ad6a7e7-40a5-448e-8864-44b7e2d0b134"]
    2021-04-22 15:40:32:391 [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
    2021-04-22 15:40:32:391 [BaseDriver] Waiting up to 0 ms for condition
    2021-04-22 15:40:32:391 [WD Proxy] Matched '/elements' to command name 'findElements'
    2021-04-22 15:40:32:391 [WD Proxy] Proxying [POST /elements] to [POST http://localhost:8211/wd/hub/session/7f052173-c168-4e64-80b8-f43d3aac3613/elements] with body: {"strategy":"-android uiautomator","selector":"new UiSelector().text("Settings").instance(0)","context":"","multiple":true}
    2021-04-22 15:40:33:177 [WD Proxy] Got an unexpected response: {"sessionId":"7f052173-c168-4e64-80b8-f43d3aac3613","status":6,"value":"io.appium.uiautomator2.common.exceptions.NoSuchDriverException: A session is either terminated or not started\n\tat io.appium.uiautomator2.model.AppiumUIA2Driver.getSessionOrThrow(AppiumUIA2Driver.java:54)\n\tat io.appium.uia...
    2021-04-22 15:40:33:178 [MJSONWP] Matched JSONWP error code 6 to NoSuchDriverError
    2021-04-22 15:40:33:180 [W3C (2ad6a7e7)] Encountered internal error running command: NoSuchDriverError: io.appium.uiautomator2.common.exceptions.NoSuchDriverException: A session is either terminated or not started
    2021-04-22 15:40:33:181 [W3C (2ad6a7e7)] at io.appium.uiautomator2.model.AppiumUIA2Driver.getSessionOrThrow(AppiumUIA2Driver.java:54)
    2021-04-22 15:40:33:181 [W3C (2ad6a7e7)] at io.appium.uiautomator2.handler.FindElements.fetchElements(FindElements.java:190)
    2021-04-22 15:40:33:181 [W3C (2ad6a7e7)] at io.appium.uiautomator2.handler.FindElements.getUiObjectsUsingAutomator(FindElements.java:168)
    2021-04-22 15:40:33:182 [W3C (2ad6a7e7)] at io.appium.uiautomator2.handler.FindElements.findElements(FindElements.java:123)
    2021-04-22 15:40:33:182 [W3C (2ad6a7e7)] at io.appium.uiautomator2.handler.FindElements.safeHandle(FindElements.java:81)
    2021-04-22 15:40:33:182 [W3C (2ad6a7e7)] at io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:37)
    2021-04-22 15:40:33:182 [W3C (2ad6a7e7)] at io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:252)
    2021-04-22 15:40:33:182 [W3C (2ad6a7e7)] at io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:243)
    2021-04-22 15:40:33:182 [W3C (2ad6a7e7)] at io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:44)
    2021-04-22 15:40:33:182 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
    2021-04-22 15:40:33:183 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
    2021-04-22 15:40:33:183 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)
    2021-04-22 15:40:33:183 [W3C (2ad6a7e7)] at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:102)
    2021-04-22 15:40:33:183 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
    2021-04-22 15:40:33:183 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
    2021-04-22 15:40:33:183 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)
    2021-04-22 15:40:33:183 [W3C (2ad6a7e7)] at io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelRead(CombinedChannelDuplexHandler.java:435)
    2021-04-22 15:40:33:184 [W3C (2ad6a7e7)] at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:293)
    2021-04-22 15:40:33:184 [W3C (2ad6a7e7)] at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:267)
    2021-04-22 15:40:33:184 [W3C (2ad6a7e7)] at io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:250)
    2021-04-22 15:40:33:184 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
    2021-04-22 15:40:33:184 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
    2021-04-22 15:40:33:184 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)
    2021-04-22 15:40:33:184 [W3C (2ad6a7e7)] at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1294)
    2021-04-22 15:40:33:185 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
    2021-04-22 15:40:33:185 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
    2021-04-22 15:40:33:185 [W3C (2ad6a7e7)] at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:911)
    2021-04-22 15:40:33:185 [W3C (2ad6a7e7)] at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:131)
    2021-04-22 15:40:33:185 [W3C (2ad6a7e7)] at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:611)
    2021-04-22 15:40:33:185 [W3C (2ad6a7e7)] at io.netty.channel.nio.NioEventLoop.processSelectedKeysPlain(NioEventLoop.java:514)
    2021-04-22 15:40:33:185 [W3C (2ad6a7e7)] at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:468)
    2021-04-22 15:40:33:185 [W3C (2ad6a7e7)] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:438)
    2021-04-22 15:40:33:186 [W3C (2ad6a7e7)] at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:140)
    2021-04-22 15:40:33:186 [W3C (2ad6a7e7)] at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:144)
    2021-04-22 15:40:33:186 [W3C (2ad6a7e7)] at java.lang.Thread.run(Thread.java:818)
    2021-04-22 15:40:33:186 [W3C (2ad6a7e7)]
    2021-04-22 15:40:33:186 [W3C (2ad6a7e7)] at errorFromMJSONWPStatusCode (E:\nodejs\node_global\node_modules\appium\node_modules\appium-base-driver\lib\protocol\errors.js:786:12)
    2021-04-22 15:40:33:186 [W3C (2ad6a7e7)] at ProxyRequestError.errorFromMJSONWPStatusCode [as getActualError] (E:\nodejs\node_global\node_modules\appium\node_modules\appium-base-driver\lib\protocol\errors.js:683:14)
    2021-04-22 15:40:33:186 [W3C (2ad6a7e7)] at JWProxy.getActualError [as command] (E:\nodejs\node_global\node_modules\appium\node_modules\appium-base-driver\lib\jsonwp-proxy\proxy.js:235:19)
    2021-04-22 15:40:33:188 [HTTP] <-- POST /wd/hub/session/2ad6a7e7-40a5-448e-8864-44b7e2d0b134/elements 404 798 ms - 7682
    2021-04-22 15:40:33:189 [HTTP]
    2021-04-22 15:40:33:681 [HTTP] --> POST /wd/hub/session/2ad6a7e7-40a5-448e-8864-44b7e2d0b134/elements
    2021-04-22 15:40:33:681 [HTTP] {"using":"-android uiautomator","value":"new UiSelector().text("Settings").instance(0)"}
    2021-04-22 15:40:33:682 [W3C (2ad6a7e7)] Calling AppiumDriver.findElements() with args: ["-android uiautomator","new UiSelector().text("Settings").instance(0)","2ad6a7e7-40a5-448e-8864-44b7e2d0b134"]
    2021-04-22 15:40:33:682 [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
    2021-04-22 15:40:33:682 [BaseDriver] Waiting up to 0 ms for condition
    2021-04-22 15:40:33:682 [WD Proxy] Matched '/elements' to command name 'findElements'
    2021-04-22 15:40:33:683 [WD Proxy] Proxying [POST /elements] to [POST http://localhost:8211/wd/hub/session/7f052173-c168-4e64-80b8-f43d3aac3613/elements] with body: {"strategy":"-android uiautomator","selector":"new UiSelector().text("Settings").instance(0)","context":"","multiple":true}
    2021-04-22 15:40:33:791 [WD Proxy] Got an unexpected response: {"sessionId":"7f052173-c168-4e64-80b8-f43d3aac3613","status":6,"value":"io.appium.uiautomator2.common.exceptions.NoSuchDriverException: A session is either terminated or not started\n\tat io.appium.uiautomator2.model.AppiumUIA2Driver.getSessionOrThrow(AppiumUIA2Driver.java:54)\n\tat io.appium.uia...
    2021-04-22 15:40:33:792 [MJSONWP] Matched JSONWP error code 6 to NoSuchDriverError
    2021-04-22 15:40:33:794 [W3C (2ad6a7e7)] Encountered internal error running command: NoSuchDriverError: io.appium.uiautomator2.common.exceptions.NoSuchDriverException: A session is either terminated or not started
    2021-04-22 15:40:33:794 [W3C (2ad6a7e7)] at io.appium.uiautomator2.model.AppiumUIA2Driver.getSessionOrThrow(AppiumUIA2Driver.java:54)
    2021-04-22 15:40:33:795 [W3C (2ad6a7e7)] at io.appium.uiautomator2.handler.FindElements.fetchElements(FindElements.java:190)
    2021-04-22 15:40:33:795 [W3C (2ad6a7e7)] at io.appium.uiautomator2.handler.FindElements.getUiObjectsUsingAutomator(FindElements.java:168)
    2021-04-22 15:40:33:795 [W3C (2ad6a7e7)] at io.appium.uiautomator2.handler.FindElements.findElements(FindElements.java:123)
    2021-04-22 15:40:33:795 [W3C (2ad6a7e7)] at io.appium.uiautomator2.handler.FindElements.safeHandle(FindElements.java:81)
    2021-04-22 15:40:33:796 [W3C (2ad6a7e7)] at io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:37)
    2021-04-22 15:40:33:796 [W3C (2ad6a7e7)] at io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:252)
    2021-04-22 15:40:33:796 [W3C (2ad6a7e7)] at io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:243)
    2021-04-22 15:40:33:796 [W3C (2ad6a7e7)] at io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:44)
    2021-04-22 15:40:33:797 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
    2021-04-22 15:40:33:797 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
    2021-04-22 15:40:33:797 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)
    2021-04-22 15:40:33:797 [W3C (2ad6a7e7)] at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:102)
    2021-04-22 15:40:33:798 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
    2021-04-22 15:40:33:798 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
    2021-04-22 15:40:33:798 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)
    2021-04-22 15:40:33:799 [W3C (2ad6a7e7)] at io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelRead(CombinedChannelDuplexHandler.java:435)
    2021-04-22 15:40:33:799 [W3C (2ad6a7e7)] at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:293)
    2021-04-22 15:40:33:799 [W3C (2ad6a7e7)] at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:267)
    2021-04-22 15:40:33:800 [W3C (2ad6a7e7)] at io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:250)
    2021-04-22 15:40:33:800 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
    2021-04-22 15:40:33:800 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
    2021-04-22 15:40:33:801 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)
    2021-04-22 15:40:33:801 [W3C (2ad6a7e7)] at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1294)
    2021-04-22 15:40:33:801 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
    2021-04-22 15:40:33:801 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
    2021-04-22 15:40:33:802 [W3C (2ad6a7e7)] at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:911)
    2021-04-22 15:40:33:802 [W3C (2ad6a7e7)] at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:131)
    2021-04-22 15:40:33:802 [W3C (2ad6a7e7)] at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:611)
    2021-04-22 15:40:33:802 [W3C (2ad6a7e7)] at io.netty.channel.nio.NioEventLoop.processSelectedKeysPlain(NioEventLoop.java:514)
    2021-04-22 15:40:33:803 [W3C (2ad6a7e7)] at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:468)
    2021-04-22 15:40:33:803 [W3C (2ad6a7e7)] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:438)
    2021-04-22 15:40:33:803 [W3C (2ad6a7e7)] at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:140)
    2021-04-22 15:40:33:803 [W3C (2ad6a7e7)] at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:144)
    2021-04-22 15:40:33:804 [W3C (2ad6a7e7)] at java.lang.Thread.run(Thread.java:818)
    2021-04-22 15:40:33:804 [W3C (2ad6a7e7)]
    2021-04-22 15:40:33:804 [W3C (2ad6a7e7)] at errorFromMJSONWPStatusCode (E:\nodejs\node_global\node_modules\appium\node_modules\appium-base-driver\lib\protocol\errors.js:786:12)
    2021-04-22 15:40:33:804 [W3C (2ad6a7e7)] at ProxyRequestError.errorFromMJSONWPStatusCode [as getActualError] (E:\nodejs\node_global\node_modules\appium\node_modules\appium-base-driver\lib\protocol\errors.js:683:14)
    2021-04-22 15:40:33:805 [W3C (2ad6a7e7)] at JWProxy.getActualError [as command] (E:\nodejs\node_global\node_modules\appium\node_modules\appium-base-driver\lib\jsonwp-proxy\proxy.js:235:19)
    2021-04-22 15:40:33:807 [HTTP] <-- POST /wd/hub/session/2ad6a7e7-40a5-448e-8864-44b7e2d0b134/elements 404 125 ms - 7682
    2021-04-22 15:40:33:807 [HTTP]
    2021-04-22 15:40:34:621 [HTTP] --> POST /wd/hub/session/2ad6a7e7-40a5-448e-8864-44b7e2d0b134/elements
    2021-04-22 15:40:34:622 [HTTP] {"using":"-android uiautomator","value":"new UiSelector().text("Settings").instance(0)"}
    2021-04-22 15:40:34:622 [W3C (2ad6a7e7)] Calling AppiumDriver.findElements() with args: ["-android uiautomator","new UiSelector().text("Settings").instance(0)","2ad6a7e7-40a5-448e-8864-44b7e2d0b134"]
    2021-04-22 15:40:34:622 [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
    2021-04-22 15:40:34:622 [BaseDriver] Waiting up to 0 ms for condition
    2021-04-22 15:40:34:623 [WD Proxy] Matched '/elements' to command name 'findElements'
    2021-04-22 15:40:34:623 [WD Proxy] Proxying [POST /elements] to [POST http://localhost:8211/wd/hub/session/7f052173-c168-4e64-80b8-f43d3aac3613/elements] with body: {"strategy":"-android uiautomator","selector":"new UiSelector().text("Settings").instance(0)","context":"","multiple":true}
    2021-04-22 15:40:34:671 [WD Proxy] Got an unexpected response: {"sessionId":"7f052173-c168-4e64-80b8-f43d3aac3613","status":6,"value":"io.appium.uiautomator2.common.exceptions.NoSuchDriverException: A session is either terminated or not started\n\tat io.appium.uiautomator2.model.AppiumUIA2Driver.getSessionOrThrow(AppiumUIA2Driver.java:54)\n\tat io.appium.uia...
    2021-04-22 15:40:34:671 [MJSONWP] Matched JSONWP error code 6 to NoSuchDriverError
    2021-04-22 15:40:34:672 [W3C (2ad6a7e7)] Encountered internal error running command: NoSuchDriverError: io.appium.uiautomator2.common.exceptions.NoSuchDriverException: A session is either terminated or not started
    2021-04-22 15:40:34:672 [W3C (2ad6a7e7)] at io.appium.uiautomator2.model.AppiumUIA2Driver.getSessionOrThrow(AppiumUIA2Driver.java:54)
    2021-04-22 15:40:34:672 [W3C (2ad6a7e7)] at io.appium.uiautomator2.handler.FindElements.fetchElements(FindElements.java:190)
    2021-04-22 15:40:34:673 [W3C (2ad6a7e7)] at io.appium.uiautomator2.handler.FindElements.getUiObjectsUsingAutomator(FindElements.java:168)
    2021-04-22 15:40:34:673 [W3C (2ad6a7e7)] at io.appium.uiautomator2.handler.FindElements.findElements(FindElements.java:123)
    2021-04-22 15:40:34:673 [W3C (2ad6a7e7)] at io.appium.uiautomator2.handler.FindElements.safeHandle(FindElements.java:81)
    2021-04-22 15:40:34:673 [W3C (2ad6a7e7)] at io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:37)
    2021-04-22 15:40:34:673 [W3C (2ad6a7e7)] at io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:252)
    2021-04-22 15:40:34:673 [W3C (2ad6a7e7)] at io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:243)
    2021-04-22 15:40:34:673 [W3C (2ad6a7e7)] at io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:44)
    2021-04-22 15:40:34:673 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
    2021-04-22 15:40:34:673 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
    2021-04-22 15:40:34:673 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)
    2021-04-22 15:40:34:673 [W3C (2ad6a7e7)] at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:102)
    2021-04-22 15:40:34:673 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
    2021-04-22 15:40:34:673 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
    2021-04-22 15:40:34:673 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)
    2021-04-22 15:40:34:673 [W3C (2ad6a7e7)] at io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelRead(CombinedChannelDuplexHandler.java:435)
    2021-04-22 15:40:34:674 [W3C (2ad6a7e7)] at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:293)
    2021-04-22 15:40:34:674 [W3C (2ad6a7e7)] at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:267)
    2021-04-22 15:40:34:674 [W3C (2ad6a7e7)] at io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:250)
    2021-04-22 15:40:34:674 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
    2021-04-22 15:40:34:674 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
    2021-04-22 15:40:34:674 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)
    2021-04-22 15:40:34:674 [W3C (2ad6a7e7)] at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1294)
    2021-04-22 15:40:34:674 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
    2021-04-22 15:40:34:674 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
    2021-04-22 15:40:34:674 [W3C (2ad6a7e7)] at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:911)
    2021-04-22 15:40:34:674 [W3C (2ad6a7e7)] at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:131)
    2021-04-22 15:40:34:674 [W3C (2ad6a7e7)] at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:611)
    2021-04-22 15:40:34:674 [W3C (2ad6a7e7)] at io.netty.channel.nio.NioEventLoop.processSelectedKeysPlain(NioEventLoop.java:514)
    2021-04-22 15:40:34:674 [W3C (2ad6a7e7)] at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:468)
    2021-04-22 15:40:34:674 [W3C (2ad6a7e7)] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:438)
    2021-04-22 15:40:34:674 [W3C (2ad6a7e7)] at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:140)
    2021-04-22 15:40:34:675 [W3C (2ad6a7e7)] at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:144)
    2021-04-22 15:40:34:675 [W3C (2ad6a7e7)] at java.lang.Thread.run(Thread.java:818)
    2021-04-22 15:40:34:675 [W3C (2ad6a7e7)]
    2021-04-22 15:40:34:675 [W3C (2ad6a7e7)] at errorFromMJSONWPStatusCode (E:\nodejs\node_global\node_modules\appium\node_modules\appium-base-driver\lib\protocol\errors.js:786:12)
    2021-04-22 15:40:34:675 [W3C (2ad6a7e7)] at ProxyRequestError.errorFromMJSONWPStatusCode [as getActualError] (E:\nodejs\node_global\node_modules\appium\node_modules\appium-base-driver\lib\protocol\errors.js:683:14)
    2021-04-22 15:40:34:675 [W3C (2ad6a7e7)] at JWProxy.getActualError [as command] (E:\nodejs\node_global\node_modules\appium\node_modules\appium-base-driver\lib\jsonwp-proxy\proxy.js:235:19)
    2021-04-22 15:40:34:676 [HTTP] <-- POST /wd/hub/session/2ad6a7e7-40a5-448e-8864-44b7e2d0b134/elements 404 54 ms - 7682
    2021-04-22 15:40:34:676 [HTTP]
    2021-04-22 15:40:34:701 [HTTP] --> POST /wd/hub/session/2ad6a7e7-40a5-448e-8864-44b7e2d0b134/element
    2021-04-22 15:40:34:701 [HTTP] {"using":"-android uiautomator","value":"new UiSelector().scrollable(true).instance(0)"}
    2021-04-22 15:40:34:701 [W3C (2ad6a7e7)] Calling AppiumDriver.findElement() with args: ["-android uiautomator","new UiSelector().scrollable(true).instance(0)","2ad6a7e7-40a5-448e-8864-44b7e2d0b134"]
    2021-04-22 15:40:34:702 [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
    2021-04-22 15:40:34:702 [BaseDriver] Waiting up to 0 ms for condition
    2021-04-22 15:40:34:703 [WD Proxy] Matched '/element' to command name 'findElement'
    2021-04-22 15:40:34:703 [WD Proxy] Proxying [POST /element] to [POST http://localhost:8211/wd/hub/session/7f052173-c168-4e64-80b8-f43d3aac3613/element] with body: {"strategy":"-android uiautomator","selector":"new UiSelector().scrollable(true).instance(0)","context":"","multiple":false}
    2021-04-22 15:40:34:778 [WD Proxy] Got an unexpected response: {"sessionId":"7f052173-c168-4e64-80b8-f43d3aac3613","status":6,"value":"io.appium.uiautomator2.common.exceptions.NoSuchDriverException: A session is either terminated or not started\n\tat io.appium.uiautomator2.model.AppiumUIA2Driver.getSessionOrThrow(AppiumUIA2Driver.java:54)\n\tat io.appium.uia...
    2021-04-22 15:40:34:778 [MJSONWP] Matched JSONWP error code 6 to NoSuchDriverError
    2021-04-22 15:40:34:779 [W3C (2ad6a7e7)] Encountered internal error running command: NoSuchDriverError: io.appium.uiautomator2.common.exceptions.NoSuchDriverException: A session is either terminated or not started
    2021-04-22 15:40:34:779 [W3C (2ad6a7e7)] at io.appium.uiautomator2.model.AppiumUIA2Driver.getSessionOrThrow(AppiumUIA2Driver.java:54)
    2021-04-22 15:40:34:779 [W3C (2ad6a7e7)] at io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:86)
    2021-04-22 15:40:34:779 [W3C (2ad6a7e7)] at io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:37)
    2021-04-22 15:40:34:780 [W3C (2ad6a7e7)] at io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:252)
    2021-04-22 15:40:34:780 [W3C (2ad6a7e7)] at io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:243)
    2021-04-22 15:40:34:780 [W3C (2ad6a7e7)] at io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:44)
    2021-04-22 15:40:34:780 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
    2021-04-22 15:40:34:780 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
    2021-04-22 15:40:34:780 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)
    2021-04-22 15:40:34:780 [W3C (2ad6a7e7)] at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:102)
    2021-04-22 15:40:34:780 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
    2021-04-22 15:40:34:780 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
    2021-04-22 15:40:34:780 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)
    2021-04-22 15:40:34:780 [W3C (2ad6a7e7)] at io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelRead(CombinedChannelDuplexHandler.java:435)
    2021-04-22 15:40:34:780 [W3C (2ad6a7e7)] at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:293)
    2021-04-22 15:40:34:781 [W3C (2ad6a7e7)] at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:267)
    2021-04-22 15:40:34:781 [W3C (2ad6a7e7)] at io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:250)
    2021-04-22 15:40:34:781 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
    2021-04-22 15:40:34:781 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
    2021-04-22 15:40:34:781 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)
    2021-04-22 15:40:34:781 [W3C (2ad6a7e7)] at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1294)
    2021-04-22 15:40:34:781 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
    2021-04-22 15:40:34:781 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
    2021-04-22 15:40:34:781 [W3C (2ad6a7e7)] at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:911)
    2021-04-22 15:40:34:781 [W3C (2ad6a7e7)] at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:131)
    2021-04-22 15:40:34:781 [W3C (2ad6a7e7)] at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:611)
    2021-04-22 15:40:34:781 [W3C (2ad6a7e7)] at io.netty.channel.nio.NioEventLoop.processSelectedKeysPlain(NioEventLoop.java:514)
    2021-04-22 15:40:34:781 [W3C (2ad6a7e7)] at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:468)
    2021-04-22 15:40:34:781 [W3C (2ad6a7e7)] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:438)
    2021-04-22 15:40:34:781 [W3C (2ad6a7e7)] at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:140)
    2021-04-22 15:40:34:781 [W3C (2ad6a7e7)] at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:144)
    2021-04-22 15:40:34:782 [W3C (2ad6a7e7)] at java.lang.Thread.run(Thread.java:818)
    2021-04-22 15:40:34:782 [W3C (2ad6a7e7)]
    2021-04-22 15:40:34:782 [W3C (2ad6a7e7)] at errorFromMJSONWPStatusCode (E:\nodejs\node_global\node_modules\appium\node_modules\appium-base-driver\lib\protocol\errors.js:786:12)
    2021-04-22 15:40:34:782 [W3C (2ad6a7e7)] at ProxyRequestError.errorFromMJSONWPStatusCode [as getActualError] (E:\nodejs\node_global\node_modules\appium\node_modules\appium-base-driver\lib\protocol\errors.js:683:14)
    2021-04-22 15:40:34:782 [W3C (2ad6a7e7)] at JWProxy.getActualError [as command] (E:\nodejs\node_global\node_modules\appium\node_modules\appium-base-driver\lib\jsonwp-proxy\proxy.js:235:19)
    2021-04-22 15:40:34:783 [HTTP] <-- POST /wd/hub/session/2ad6a7e7-40a5-448e-8864-44b7e2d0b134/element 404 81 ms - 7132
    2021-04-22 15:40:34:785 [HTTP]
    2021-04-22 15:40:35:622 [HTTP] --> POST /wd/hub/session/2ad6a7e7-40a5-448e-8864-44b7e2d0b134/elements
    2021-04-22 15:40:35:623 [HTTP] {"using":"-android uiautomator","value":"new UiSelector().text("Settings").instance(0)"}
    2021-04-22 15:40:35:623 [W3C (2ad6a7e7)] Calling AppiumDriver.findElements() with args: ["-android uiautomator","new UiSelector().text("Settings").instance(0)","2ad6a7e7-40a5-448e-8864-44b7e2d0b134"]
    2021-04-22 15:40:35:624 [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
    2021-04-22 15:40:35:624 [BaseDriver] Waiting up to 0 ms for condition
    2021-04-22 15:40:35:624 [WD Proxy] Matched '/elements' to command name 'findElements'
    2021-04-22 15:40:35:625 [WD Proxy] Proxying [POST /elements] to [POST http://localhost:8211/wd/hub/session/7f052173-c168-4e64-80b8-f43d3aac3613/elements] with body: {"strategy":"-android uiautomator","selector":"new UiSelector().text("Settings").instance(0)","context":"","multiple":true}
    2021-04-22 15:40:35:662 [WD Proxy] Got an unexpected response: {"sessionId":"7f052173-c168-4e64-80b8-f43d3aac3613","status":6,"value":"io.appium.uiautomator2.common.exceptions.NoSuchDriverException: A session is either terminated or not started\n\tat io.appium.uiautomator2.model.AppiumUIA2Driver.getSessionOrThrow(AppiumUIA2Driver.java:54)\n\tat io.appium.uia...
    2021-04-22 15:40:35:662 [MJSONWP] Matched JSONWP error code 6 to NoSuchDriverError
    2021-04-22 15:40:35:663 [W3C (2ad6a7e7)] Encountered internal error running command: NoSuchDriverError: io.appium.uiautomator2.common.exceptions.NoSuchDriverException: A session is either terminated or not started
    2021-04-22 15:40:35:663 [W3C (2ad6a7e7)] at io.appium.uiautomator2.model.AppiumUIA2Driver.getSessionOrThrow(AppiumUIA2Driver.java:54)
    2021-04-22 15:40:35:663 [W3C (2ad6a7e7)] at io.appium.uiautomator2.handler.FindElements.fetchElements(FindElements.java:190)
    2021-04-22 15:40:35:663 [W3C (2ad6a7e7)] at io.appium.uiautomator2.handler.FindElements.getUiObjectsUsingAutomator(FindElements.java:168)
    2021-04-22 15:40:35:663 [W3C (2ad6a7e7)] at io.appium.uiautomator2.handler.FindElements.findElements(FindElements.java:123)
    2021-04-22 15:40:35:663 [W3C (2ad6a7e7)] at io.appium.uiautomator2.handler.FindElements.safeHandle(FindElements.java:81)
    2021-04-22 15:40:35:663 [W3C (2ad6a7e7)] at io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:37)
    2021-04-22 15:40:35:663 [W3C (2ad6a7e7)] at io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:252)
    2021-04-22 15:40:35:663 [W3C (2ad6a7e7)] at io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:243)
    2021-04-22 15:40:35:663 [W3C (2ad6a7e7)] at io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:44)
    2021-04-22 15:40:35:663 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
    2021-04-22 15:40:35:663 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
    2021-04-22 15:40:35:664 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)
    2021-04-22 15:40:35:664 [W3C (2ad6a7e7)] at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:102)
    2021-04-22 15:40:35:664 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
    2021-04-22 15:40:35:664 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
    2021-04-22 15:40:35:664 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)
    2021-04-22 15:40:35:664 [W3C (2ad6a7e7)] at io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelRead(CombinedChannelDuplexHandler.java:435)
    2021-04-22 15:40:35:664 [W3C (2ad6a7e7)] at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:293)
    2021-04-22 15:40:35:664 [W3C (2ad6a7e7)] at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:267)
    2021-04-22 15:40:35:664 [W3C (2ad6a7e7)] at io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:250)
    2021-04-22 15:40:35:664 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
    2021-04-22 15:40:35:664 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
    2021-04-22 15:40:35:664 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)
    2021-04-22 15:40:35:664 [W3C (2ad6a7e7)] at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1294)
    2021-04-22 15:40:35:664 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
    2021-04-22 15:40:35:664 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
    2021-04-22 15:40:35:664 [W3C (2ad6a7e7)] at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:911)
    2021-04-22 15:40:35:665 [W3C (2ad6a7e7)] at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:131)
    2021-04-22 15:40:35:665 [W3C (2ad6a7e7)] at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:611)
    2021-04-22 15:40:35:665 [W3C (2ad6a7e7)] at io.netty.channel.nio.NioEventLoop.processSelectedKeysPlain(NioEventLoop.java:514)
    2021-04-22 15:40:35:665 [W3C (2ad6a7e7)] at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:468)
    2021-04-22 15:40:35:665 [W3C (2ad6a7e7)] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:438)
    2021-04-22 15:40:35:665 [W3C (2ad6a7e7)] at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:140)
    2021-04-22 15:40:35:665 [W3C (2ad6a7e7)] at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:144)
    2021-04-22 15:40:35:665 [W3C (2ad6a7e7)] at java.lang.Thread.run(Thread.java:818)
    2021-04-22 15:40:35:665 [W3C (2ad6a7e7)]
    2021-04-22 15:40:35:665 [W3C (2ad6a7e7)] at errorFromMJSONWPStatusCode (E:\nodejs\node_global\node_modules\appium\node_modules\appium-base-driver\lib\protocol\errors.js:786:12)
    2021-04-22 15:40:35:665 [W3C (2ad6a7e7)] at ProxyRequestError.errorFromMJSONWPStatusCode [as getActualError] (E:\nodejs\node_global\node_modules\appium\node_modules\appium-base-driver\lib\protocol\errors.js:683:14)
    2021-04-22 15:40:35:665 [W3C (2ad6a7e7)] at JWProxy.getActualError [as command] (E:\nodejs\node_global\node_modules\appium\node_modules\appium-base-driver\lib\jsonwp-proxy\proxy.js:235:19)
    2021-04-22 15:40:35:666 [HTTP] <-- POST /wd/hub/session/2ad6a7e7-40a5-448e-8864-44b7e2d0b134/elements 404 43 ms - 7682
    2021-04-22 15:40:35:667 [HTTP]
    2021-04-22 15:40:35:704 [HTTP] --> POST /wd/hub/session/2ad6a7e7-40a5-448e-8864-44b7e2d0b134/element
    2021-04-22 15:40:35:704 [HTTP] {"using":"-android uiautomator","value":"new UiSelector().scrollable(true).instance(0)"}
    2021-04-22 15:40:35:705 [W3C (2ad6a7e7)] Calling AppiumDriver.findElement() with args: ["-android uiautomator","new UiSelector().scrollable(true).instance(0)","2ad6a7e7-40a5-448e-8864-44b7e2d0b134"]
    2021-04-22 15:40:35:705 [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
    2021-04-22 15:40:35:705 [BaseDriver] Waiting up to 0 ms for condition
    2021-04-22 15:40:35:705 [WD Proxy] Matched '/element' to command name 'findElement'
    2021-04-22 15:40:35:705 [WD Proxy] Proxying [POST /element] to [POST http://localhost:8211/wd/hub/session/7f052173-c168-4e64-80b8-f43d3aac3613/element] with body: {"strategy":"-android uiautomator","selector":"new UiSelector().scrollable(true).instance(0)","context":"","multiple":false}
    2021-04-22 15:40:35:763 [WD Proxy] Got an unexpected response: {"sessionId":"7f052173-c168-4e64-80b8-f43d3aac3613","status":6,"value":"io.appium.uiautomator2.common.exceptions.NoSuchDriverException: A session is either terminated or not started\n\tat io.appium.uiautomator2.model.AppiumUIA2Driver.getSessionOrThrow(AppiumUIA2Driver.java:54)\n\tat io.appium.uia...
    2021-04-22 15:40:35:763 [MJSONWP] Matched JSONWP error code 6 to NoSuchDriverError
    2021-04-22 15:40:35:765 [W3C (2ad6a7e7)] Encountered internal error running command: NoSuchDriverError: io.appium.uiautomator2.common.exceptions.NoSuchDriverException: A session is either terminated or not started
    2021-04-22 15:40:35:765 [W3C (2ad6a7e7)] at io.appium.uiautomator2.model.AppiumUIA2Driver.getSessionOrThrow(AppiumUIA2Driver.java:54)
    2021-04-22 15:40:35:765 [W3C (2ad6a7e7)] at io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:86)
    2021-04-22 15:40:35:765 [W3C (2ad6a7e7)] at io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:37)
    2021-04-22 15:40:35:765 [W3C (2ad6a7e7)] at io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:252)
    2021-04-22 15:40:35:766 [W3C (2ad6a7e7)] at io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:243)
    2021-04-22 15:40:35:766 [W3C (2ad6a7e7)] at io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:44)
    2021-04-22 15:40:35:766 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
    2021-04-22 15:40:35:766 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
    2021-04-22 15:40:35:766 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)
    2021-04-22 15:40:35:766 [W3C (2ad6a7e7)] at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:102)
    2021-04-22 15:40:35:766 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
    2021-04-22 15:40:35:766 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
    2021-04-22 15:40:35:766 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)
    2021-04-22 15:40:35:766 [W3C (2ad6a7e7)] at io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelRead(CombinedChannelDuplexHandler.java:435)
    2021-04-22 15:40:35:766 [W3C (2ad6a7e7)] at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:293)
    2021-04-22 15:40:35:766 [W3C (2ad6a7e7)] at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:267)
    2021-04-22 15:40:35:766 [W3C (2ad6a7e7)] at io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:250)
    2021-04-22 15:40:35:766 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
    2021-04-22 15:40:35:766 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
    2021-04-22 15:40:35:767 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)
    2021-04-22 15:40:35:767 [W3C (2ad6a7e7)] at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1294)
    2021-04-22 15:40:35:767 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
    2021-04-22 15:40:35:767 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
    2021-04-22 15:40:35:767 [W3C (2ad6a7e7)] at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:911)
    2021-04-22 15:40:35:767 [W3C (2ad6a7e7)] at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:131)
    2021-04-22 15:40:35:767 [W3C (2ad6a7e7)] at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:611)
    2021-04-22 15:40:35:767 [W3C (2ad6a7e7)] at io.netty.channel.nio.NioEventLoop.processSelectedKeysPlain(NioEventLoop.java:514)
    2021-04-22 15:40:35:767 [W3C (2ad6a7e7)] at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:468)
    2021-04-22 15:40:35:767 [W3C (2ad6a7e7)] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:438)
    2021-04-22 15:40:35:767 [W3C (2ad6a7e7)] at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:140)
    2021-04-22 15:40:35:767 [W3C (2ad6a7e7)] at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:144)
    2021-04-22 15:40:35:767 [W3C (2ad6a7e7)] at java.lang.Thread.run(Thread.java:818)
    2021-04-22 15:40:35:767 [W3C (2ad6a7e7)]
    2021-04-22 15:40:35:767 [W3C (2ad6a7e7)] at errorFromMJSONWPStatusCode (E:\nodejs\node_global\node_modules\appium\node_modules\appium-base-driver\lib\protocol\errors.js:786:12)
    2021-04-22 15:40:35:767 [W3C (2ad6a7e7)] at ProxyRequestError.errorFromMJSONWPStatusCode [as getActualError] (E:\nodejs\node_global\node_modules\appium\node_modules\appium-base-driver\lib\protocol\errors.js:683:14)
    2021-04-22 15:40:35:768 [W3C (2ad6a7e7)] at JWProxy.getActualError [as command] (E:\nodejs\node_global\node_modules\appium\node_modules\appium-base-driver\lib\jsonwp-proxy\proxy.js:235:19)
    2021-04-22 15:40:35:769 [HTTP] <-- POST /wd/hub/session/2ad6a7e7-40a5-448e-8864-44b7e2d0b134/element 404 64 ms - 7132
    2021-04-22 15:40:35:769 [HTTP]
    2021-04-22 15:40:36:606 [HTTP] --> POST /wd/hub/session/2ad6a7e7-40a5-448e-8864-44b7e2d0b134/elements
    2021-04-22 15:40:36:607 [HTTP] {"using":"-android uiautomator","value":"new UiSelector().text("Settings").instance(0)"}
    2021-04-22 15:40:36:607 [W3C (2ad6a7e7)] Calling AppiumDriver.findElements() with args: ["-android uiautomator","new UiSelector().text("Settings").instance(0)","2ad6a7e7-40a5-448e-8864-44b7e2d0b134"]
    2021-04-22 15:40:36:608 [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
    2021-04-22 15:40:36:608 [BaseDriver] Waiting up to 0 ms for condition
    2021-04-22 15:40:36:609 [WD Proxy] Matched '/elements' to command name 'findElements'
    2021-04-22 15:40:36:609 [WD Proxy] Proxying [POST /elements] to [POST http://localhost:8211/wd/hub/session/7f052173-c168-4e64-80b8-f43d3aac3613/elements] with body: {"strategy":"-android uiautomator","selector":"new UiSelector().text("Settings").instance(0)","context":"","multiple":true}
    2021-04-22 15:40:36:646 [WD Proxy] Got an unexpected response: {"sessionId":"7f052173-c168-4e64-80b8-f43d3aac3613","status":6,"value":"io.appium.uiautomator2.common.exceptions.NoSuchDriverException: A session is either terminated or not started\n\tat io.appium.uiautomator2.model.AppiumUIA2Driver.getSessionOrThrow(AppiumUIA2Driver.java:54)\n\tat io.appium.uia...
    2021-04-22 15:40:36:647 [MJSONWP] Matched JSONWP error code 6 to NoSuchDriverError
    2021-04-22 15:40:36:648 [W3C (2ad6a7e7)] Encountered internal error running command: NoSuchDriverError: io.appium.uiautomator2.common.exceptions.NoSuchDriverException: A session is either terminated or not started
    2021-04-22 15:40:36:648 [W3C (2ad6a7e7)] at io.appium.uiautomator2.model.AppiumUIA2Driver.getSessionOrThrow(AppiumUIA2Driver.java:54)
    2021-04-22 15:40:36:648 [W3C (2ad6a7e7)] at io.appium.uiautomator2.handler.FindElements.fetchElements(FindElements.java:190)
    2021-04-22 15:40:36:649 [W3C (2ad6a7e7)] at io.appium.uiautomator2.handler.FindElements.getUiObjectsUsingAutomator(FindElements.java:168)
    2021-04-22 15:40:36:649 [W3C (2ad6a7e7)] at io.appium.uiautomator2.handler.FindElements.findElements(FindElements.java:123)
    2021-04-22 15:40:36:649 [W3C (2ad6a7e7)] at io.appium.uiautomator2.handler.FindElements.safeHandle(FindElements.java:81)
    2021-04-22 15:40:36:649 [W3C (2ad6a7e7)] at io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:37)
    2021-04-22 15:40:36:649 [W3C (2ad6a7e7)] at io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:252)
    2021-04-22 15:40:36:649 [W3C (2ad6a7e7)] at io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:243)
    2021-04-22 15:40:36:650 [W3C (2ad6a7e7)] at io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:44)
    2021-04-22 15:40:36:650 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
    2021-04-22 15:40:36:650 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
    2021-04-22 15:40:36:650 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)
    2021-04-22 15:40:36:650 [W3C (2ad6a7e7)] at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:102)
    2021-04-22 15:40:36:651 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
    2021-04-22 15:40:36:651 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
    2021-04-22 15:40:36:651 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)
    2021-04-22 15:40:36:651 [W3C (2ad6a7e7)] at io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelRead(CombinedChannelDuplexHandler.java:435)
    2021-04-22 15:40:36:651 [W3C (2ad6a7e7)] at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:293)
    2021-04-22 15:40:36:651 [W3C (2ad6a7e7)] at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:267)
    2021-04-22 15:40:36:652 [W3C (2ad6a7e7)] at io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:250)
    2021-04-22 15:40:36:652 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
    2021-04-22 15:40:36:652 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
    2021-04-22 15:40:36:652 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)
    2021-04-22 15:40:36:652 [W3C (2ad6a7e7)] at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1294)
    2021-04-22 15:40:36:652 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
    2021-04-22 15:40:36:652 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
    2021-04-22 15:40:36:653 [W3C (2ad6a7e7)] at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:911)
    2021-04-22 15:40:36:653 [W3C (2ad6a7e7)] at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:131)
    2021-04-22 15:40:36:653 [W3C (2ad6a7e7)] at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:611)
    2021-04-22 15:40:36:653 [W3C (2ad6a7e7)] at io.netty.channel.nio.NioEventLoop.processSelectedKeysPlain(NioEventLoop.java:514)
    2021-04-22 15:40:36:653 [W3C (2ad6a7e7)] at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:468)
    2021-04-22 15:40:36:653 [W3C (2ad6a7e7)] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:438)
    2021-04-22 15:40:36:653 [W3C (2ad6a7e7)] at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:140)
    2021-04-22 15:40:36:654 [W3C (2ad6a7e7)] at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:144)
    2021-04-22 15:40:36:654 [W3C (2ad6a7e7)] at java.lang.Thread.run(Thread.java:818)
    2021-04-22 15:40:36:654 [W3C (2ad6a7e7)]
    2021-04-22 15:40:36:654 [W3C (2ad6a7e7)] at errorFromMJSONWPStatusCode (E:\nodejs\node_global\node_modules\appium\node_modules\appium-base-driver\lib\protocol\errors.js:786:12)
    2021-04-22 15:40:36:654 [W3C (2ad6a7e7)] at ProxyRequestError.errorFromMJSONWPStatusCode [as getActualError] (E:\nodejs\node_global\node_modules\appium\node_modules\appium-base-driver\lib\protocol\errors.js:683:14)
    2021-04-22 15:40:36:654 [W3C (2ad6a7e7)] at JWProxy.getActualError [as command] (E:\nodejs\node_global\node_modules\appium\node_modules\appium-base-driver\lib\jsonwp-proxy\proxy.js:235:19)
    2021-04-22 15:40:36:656 [HTTP] <-- POST /wd/hub/session/2ad6a7e7-40a5-448e-8864-44b7e2d0b134/elements 404 49 ms - 7682
    2021-04-22 15:40:36:656 [HTTP]
    2021-04-22 15:40:36:689 [HTTP] --> POST /wd/hub/session/2ad6a7e7-40a5-448e-8864-44b7e2d0b134/element
    2021-04-22 15:40:36:689 [HTTP] {"using":"-android uiautomator","value":"new UiSelector().scrollable(true).instance(0)"}
    2021-04-22 15:40:36:690 [W3C (2ad6a7e7)] Calling AppiumDriver.findElement() with args: ["-android uiautomator","new UiSelector().scrollable(true).instance(0)","2ad6a7e7-40a5-448e-8864-44b7e2d0b134"]
    2021-04-22 15:40:36:690 [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
    2021-04-22 15:40:36:690 [BaseDriver] Waiting up to 0 ms for condition
    2021-04-22 15:40:36:691 [WD Proxy] Matched '/element' to command name 'findElement'
    2021-04-22 15:40:36:691 [WD Proxy] Proxying [POST /element] to [POST http://localhost:8211/wd/hub/session/7f052173-c168-4e64-80b8-f43d3aac3613/element] with body: {"strategy":"-android uiautomator","selector":"new UiSelector().scrollable(true).instance(0)","context":"","multiple":false}
    2021-04-22 15:40:36:750 [WD Proxy] Got an unexpected response: {"sessionId":"7f052173-c168-4e64-80b8-f43d3aac3613","status":6,"value":"io.appium.uiautomator2.common.exceptions.NoSuchDriverException: A session is either terminated or not started\n\tat io.appium.uiautomator2.model.AppiumUIA2Driver.getSessionOrThrow(AppiumUIA2Driver.java:54)\n\tat io.appium.uia...
    2021-04-22 15:40:36:750 [MJSONWP] Matched JSONWP error code 6 to NoSuchDriverError
    2021-04-22 15:40:36:751 [W3C (2ad6a7e7)] Encountered internal error running command: NoSuchDriverError: io.appium.uiautomator2.common.exceptions.NoSuchDriverException: A session is either terminated or not started
    2021-04-22 15:40:36:751 [W3C (2ad6a7e7)] at io.appium.uiautomator2.model.AppiumUIA2Driver.getSessionOrThrow(AppiumUIA2Driver.java:54)
    2021-04-22 15:40:36:751 [W3C (2ad6a7e7)] at io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:86)
    2021-04-22 15:40:36:752 [W3C (2ad6a7e7)] at io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:37)
    2021-04-22 15:40:36:752 [W3C (2ad6a7e7)] at io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:252)
    2021-04-22 15:40:36:752 [W3C (2ad6a7e7)] at io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:243)
    2021-04-22 15:40:36:752 [W3C (2ad6a7e7)] at io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:44)
    2021-04-22 15:40:36:752 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
    2021-04-22 15:40:36:752 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
    2021-04-22 15:40:36:752 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)
    2021-04-22 15:40:36:752 [W3C (2ad6a7e7)] at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:102)
    2021-04-22 15:40:36:752 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
    2021-04-22 15:40:36:752 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
    2021-04-22 15:40:36:754 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)
    2021-04-22 15:40:36:754 [W3C (2ad6a7e7)] at io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelRead(CombinedChannelDuplexHandler.java:435)
    2021-04-22 15:40:36:754 [W3C (2ad6a7e7)] at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:293)
    2021-04-22 15:40:36:754 [W3C (2ad6a7e7)] at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:267)
    2021-04-22 15:40:36:754 [W3C (2ad6a7e7)] at io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:250)
    2021-04-22 15:40:36:754 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
    2021-04-22 15:40:36:754 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
    2021-04-22 15:40:36:754 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)
    2021-04-22 15:40:36:754 [W3C (2ad6a7e7)] at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1294)
    2021-04-22 15:40:36:754 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
    2021-04-22 15:40:36:755 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
    2021-04-22 15:40:36:755 [W3C (2ad6a7e7)] at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:911)
    2021-04-22 15:40:36:755 [W3C (2ad6a7e7)] at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:131)
    2021-04-22 15:40:36:755 [W3C (2ad6a7e7)] at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:611)
    2021-04-22 15:40:36:755 [W3C (2ad6a7e7)] at io.netty.channel.nio.NioEventLoop.processSelectedKeysPlain(NioEventLoop.java:514)
    2021-04-22 15:40:36:755 [W3C (2ad6a7e7)] at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:468)
    2021-04-22 15:40:36:755 [W3C (2ad6a7e7)] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:438)
    2021-04-22 15:40:36:755 [W3C (2ad6a7e7)] at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:140)
    2021-04-22 15:40:36:755 [W3C (2ad6a7e7)] at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:144)
    2021-04-22 15:40:36:755 [W3C (2ad6a7e7)] at java.lang.Thread.run(Thread.java:818)
    2021-04-22 15:40:36:755 [W3C (2ad6a7e7)]
    2021-04-22 15:40:36:756 [W3C (2ad6a7e7)] at errorFromMJSONWPStatusCode (E:\nodejs\node_global\node_modules\appium\node_modules\appium-base-driver\lib\protocol\errors.js:786:12)
    2021-04-22 15:40:36:756 [W3C (2ad6a7e7)] at ProxyRequestError.errorFromMJSONWPStatusCode [as getActualError] (E:\nodejs\node_global\node_modules\appium\node_modules\appium-base-driver\lib\protocol\errors.js:683:14)
    2021-04-22 15:40:36:756 [W3C (2ad6a7e7)] at JWProxy.getActualError [as command] (E:\nodejs\node_global\node_modules\appium\node_modules\appium-base-driver\lib\jsonwp-proxy\proxy.js:235:19)
    2021-04-22 15:40:36:757 [HTTP] <-- POST /wd/hub/session/2ad6a7e7-40a5-448e-8864-44b7e2d0b134/element 404 67 ms - 7132
    2021-04-22 15:40:36:757 [HTTP]
    2021-04-22 15:40:37:623 [HTTP] --> POST /wd/hub/session/2ad6a7e7-40a5-448e-8864-44b7e2d0b134/elements
    2021-04-22 15:40:37:624 [HTTP] {"using":"-android uiautomator","value":"new UiSelector().text("Settings").instance(0)"}
    2021-04-22 15:40:37:624 [W3C (2ad6a7e7)] Calling AppiumDriver.findElements() with args: ["-android uiautomator","new UiSelector().text("Settings").instance(0)","2ad6a7e7-40a5-448e-8864-44b7e2d0b134"]
    2021-04-22 15:40:37:624 [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
    2021-04-22 15:40:37:625 [BaseDriver] Waiting up to 0 ms for condition
    2021-04-22 15:40:37:625 [WD Proxy] Matched '/elements' to command name 'findElements'
    2021-04-22 15:40:37:625 [WD Proxy] Proxying [POST /elements] to [POST http://localhost:8211/wd/hub/session/7f052173-c168-4e64-80b8-f43d3aac3613/elements] with body: {"strategy":"-android uiautomator","selector":"new UiSelector().text("Settings").instance(0)","context":"","multiple":true}
    2021-04-22 15:40:37:669 [WD Proxy] Got an unexpected response: {"sessionId":"7f052173-c168-4e64-80b8-f43d3aac3613","status":6,"value":"io.appium.uiautomator2.common.exceptions.NoSuchDriverException: A session is either terminated or not started\n\tat io.appium.uiautomator2.model.AppiumUIA2Driver.getSessionOrThrow(AppiumUIA2Driver.java:54)\n\tat io.appium.uia...
    2021-04-22 15:40:37:669 [MJSONWP] Matched JSONWP error code 6 to NoSuchDriverError
    2021-04-22 15:40:37:670 [W3C (2ad6a7e7)] Encountered internal error running command: NoSuchDriverError: io.appium.uiautomator2.common.exceptions.NoSuchDriverException: A session is either terminated or not started
    2021-04-22 15:40:37:670 [W3C (2ad6a7e7)] at io.appium.uiautomator2.model.AppiumUIA2Driver.getSessionOrThrow(AppiumUIA2Driver.java:54)
    2021-04-22 15:40:37:670 [W3C (2ad6a7e7)] at io.appium.uiautomator2.handler.FindElements.fetchElements(FindElements.java:190)
    2021-04-22 15:40:37:670 [W3C (2ad6a7e7)] at io.appium.uiautomator2.handler.FindElements.getUiObjectsUsingAutomator(FindElements.java:168)
    2021-04-22 15:40:37:670 [W3C (2ad6a7e7)] at io.appium.uiautomator2.handler.FindElements.findElements(FindElements.java:123)
    2021-04-22 15:40:37:670 [W3C (2ad6a7e7)] at io.appium.uiautomator2.handler.FindElements.safeHandle(FindElements.java:81)
    2021-04-22 15:40:37:671 [W3C (2ad6a7e7)] at io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:37)
    2021-04-22 15:40:37:671 [W3C (2ad6a7e7)] at io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:252)
    2021-04-22 15:40:37:671 [W3C (2ad6a7e7)] at io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:243)
    2021-04-22 15:40:37:671 [W3C (2ad6a7e7)] at io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:44)
    2021-04-22 15:40:37:671 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
    2021-04-22 15:40:37:671 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
    2021-04-22 15:40:37:671 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)
    2021-04-22 15:40:37:671 [W3C (2ad6a7e7)] at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:102)
    2021-04-22 15:40:37:671 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
    2021-04-22 15:40:37:671 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
    2021-04-22 15:40:37:671 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)
    2021-04-22 15:40:37:672 [W3C (2ad6a7e7)] at io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelRead(CombinedChannelDuplexHandler.java:435)
    2021-04-22 15:40:37:672 [W3C (2ad6a7e7)] at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:293)
    2021-04-22 15:40:37:672 [W3C (2ad6a7e7)] at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:267)
    2021-04-22 15:40:37:672 [W3C (2ad6a7e7)] at io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:250)
    2021-04-22 15:40:37:672 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
    2021-04-22 15:40:37:672 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
    2021-04-22 15:40:37:672 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)
    2021-04-22 15:40:37:672 [W3C (2ad6a7e7)] at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1294)
    2021-04-22 15:40:37:672 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
    2021-04-22 15:40:37:672 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
    2021-04-22 15:40:37:673 [W3C (2ad6a7e7)] at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:911)
    2021-04-22 15:40:37:673 [W3C (2ad6a7e7)] at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:131)
    2021-04-22 15:40:37:673 [W3C (2ad6a7e7)] at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:611)
    2021-04-22 15:40:37:673 [W3C (2ad6a7e7)] at io.netty.channel.nio.NioEventLoop.processSelectedKeysPlain(NioEventLoop.java:514)
    2021-04-22 15:40:37:673 [W3C (2ad6a7e7)] at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:468)
    2021-04-22 15:40:37:673 [W3C (2ad6a7e7)] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:438)
    2021-04-22 15:40:37:673 [W3C (2ad6a7e7)] at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:140)
    2021-04-22 15:40:37:673 [W3C (2ad6a7e7)] at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:144)
    2021-04-22 15:40:37:673 [W3C (2ad6a7e7)] at java.lang.Thread.run(Thread.java:818)
    2021-04-22 15:40:37:673 [W3C (2ad6a7e7)]
    2021-04-22 15:40:37:674 [W3C (2ad6a7e7)] at errorFromMJSONWPStatusCode (E:\nodejs\node_global\node_modules\appium\node_modules\appium-base-driver\lib\protocol\errors.js:786:12)
    2021-04-22 15:40:37:674 [W3C (2ad6a7e7)] at ProxyRequestError.errorFromMJSONWPStatusCode [as getActualError] (E:\nodejs\node_global\node_modules\appium\node_modules\appium-base-driver\lib\protocol\errors.js:683:14)
    2021-04-22 15:40:37:674 [W3C (2ad6a7e7)] at JWProxy.getActualError [as command] (E:\nodejs\node_global\node_modules\appium\node_modules\appium-base-driver\lib\jsonwp-proxy\proxy.js:235:19)
    2021-04-22 15:40:37:675 [HTTP] <-- POST /wd/hub/session/2ad6a7e7-40a5-448e-8864-44b7e2d0b134/elements 404 51 ms - 7682
    2021-04-22 15:40:37:675 [HTTP]
    2021-04-22 15:40:37:711 [HTTP] --> POST /wd/hub/session/2ad6a7e7-40a5-448e-8864-44b7e2d0b134/element
    2021-04-22 15:40:37:711 [HTTP] {"using":"-android uiautomator","value":"new UiSelector().scrollable(true).instance(0)"}
    2021-04-22 15:40:37:712 [W3C (2ad6a7e7)] Calling AppiumDriver.findElement() with args: ["-android uiautomator","new UiSelector().scrollable(true).instance(0)","2ad6a7e7-40a5-448e-8864-44b7e2d0b134"]
    2021-04-22 15:40:37:712 [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
    2021-04-22 15:40:37:712 [BaseDriver] Waiting up to 0 ms for condition
    2021-04-22 15:40:37:712 [WD Proxy] Matched '/element' to command name 'findElement'
    2021-04-22 15:40:37:713 [WD Proxy] Proxying [POST /element] to [POST http://localhost:8211/wd/hub/session/7f052173-c168-4e64-80b8-f43d3aac3613/element] with body: {"strategy":"-android uiautomator","selector":"new UiSelector().scrollable(true).instance(0)","context":"","multiple":false}
    2021-04-22 15:40:37:766 [WD Proxy] Got an unexpected response: {"sessionId":"7f052173-c168-4e64-80b8-f43d3aac3613","status":6,"value":"io.appium.uiautomator2.common.exceptions.NoSuchDriverException: A session is either terminated or not started\n\tat io.appium.uiautomator2.model.AppiumUIA2Driver.getSessionOrThrow(AppiumUIA2Driver.java:54)\n\tat io.appium.uia...
    2021-04-22 15:40:37:766 [MJSONWP] Matched JSONWP error code 6 to NoSuchDriverError
    2021-04-22 15:40:37:767 [W3C (2ad6a7e7)] Encountered internal error running command: NoSuchDriverError: io.appium.uiautomator2.common.exceptions.NoSuchDriverException: A session is either terminated or not started
    2021-04-22 15:40:37:767 [W3C (2ad6a7e7)] at io.appium.uiautomator2.model.AppiumUIA2Driver.getSessionOrThrow(AppiumUIA2Driver.java:54)
    2021-04-22 15:40:37:767 [W3C (2ad6a7e7)] at io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:86)
    2021-04-22 15:40:37:767 [W3C (2ad6a7e7)] at io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:37)
    2021-04-22 15:40:37:767 [W3C (2ad6a7e7)] at io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:252)
    2021-04-22 15:40:37:767 [W3C (2ad6a7e7)] at io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:243)
    2021-04-22 15:40:37:767 [W3C (2ad6a7e7)] at io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:44)
    2021-04-22 15:40:37:767 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
    2021-04-22 15:40:37:767 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
    2021-04-22 15:40:37:767 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)
    2021-04-22 15:40:37:767 [W3C (2ad6a7e7)] at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:102)
    2021-04-22 15:40:37:767 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
    2021-04-22 15:40:37:768 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
    2021-04-22 15:40:37:768 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)
    2021-04-22 15:40:37:768 [W3C (2ad6a7e7)] at io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelRead(CombinedChannelDuplexHandler.java:435)
    2021-04-22 15:40:37:768 [W3C (2ad6a7e7)] at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:293)
    2021-04-22 15:40:37:768 [W3C (2ad6a7e7)] at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:267)
    2021-04-22 15:40:37:768 [W3C (2ad6a7e7)] at io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:250)
    2021-04-22 15:40:37:768 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
    2021-04-22 15:40:37:768 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
    2021-04-22 15:40:37:768 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)
    2021-04-22 15:40:37:768 [W3C (2ad6a7e7)] at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1294)
    2021-04-22 15:40:37:768 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
    2021-04-22 15:40:37:769 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
    2021-04-22 15:40:37:769 [W3C (2ad6a7e7)] at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:911)
    2021-04-22 15:40:37:769 [W3C (2ad6a7e7)] at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:131)
    2021-04-22 15:40:37:769 [W3C (2ad6a7e7)] at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:611)
    2021-04-22 15:40:37:769 [W3C (2ad6a7e7)] at io.netty.channel.nio.NioEventLoop.processSelectedKeysPlain(NioEventLoop.java:514)
    2021-04-22 15:40:37:769 [W3C (2ad6a7e7)] at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:468)
    2021-04-22 15:40:37:769 [W3C (2ad6a7e7)] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:438)
    2021-04-22 15:40:37:769 [W3C (2ad6a7e7)] at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:140)
    2021-04-22 15:40:37:769 [W3C (2ad6a7e7)] at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:144)
    2021-04-22 15:40:37:769 [W3C (2ad6a7e7)] at java.lang.Thread.run(Thread.java:818)
    2021-04-22 15:40:37:769 [W3C (2ad6a7e7)]
    2021-04-22 15:40:37:769 [W3C (2ad6a7e7)] at errorFromMJSONWPStatusCode (E:\nodejs\node_global\node_modules\appium\node_modules\appium-base-driver\lib\protocol\errors.js:786:12)
    2021-04-22 15:40:37:770 [W3C (2ad6a7e7)] at ProxyRequestError.errorFromMJSONWPStatusCode [as getActualError] (E:\nodejs\node_global\node_modules\appium\node_modules\appium-base-driver\lib\protocol\errors.js:683:14)
    2021-04-22 15:40:37:770 [W3C (2ad6a7e7)] at JWProxy.getActualError [as command] (E:\nodejs\node_global\node_modules\appium\node_modules\appium-base-driver\lib\jsonwp-proxy\proxy.js:235:19)
    2021-04-22 15:40:37:770 [HTTP] <-- POST /wd/hub/session/2ad6a7e7-40a5-448e-8864-44b7e2d0b134/element 404 59 ms - 7132
    2021-04-22 15:40:37:770 [HTTP]
    2021-04-22 15:40:38:549 [HTTP] --> POST /wd/hub/session/2ad6a7e7-40a5-448e-8864-44b7e2d0b134/elements
    2021-04-22 15:40:38:549 [HTTP] {"using":"-android uiautomator","value":"new UiSelector().text("Settings").instance(0)"}
    2021-04-22 15:40:38:549 [W3C (2ad6a7e7)] Calling AppiumDriver.findElements() with args: ["-android uiautomator","new UiSelector().text("Settings").instance(0)","2ad6a7e7-40a5-448e-8864-44b7e2d0b134"]
    2021-04-22 15:40:38:550 [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
    2021-04-22 15:40:38:550 [BaseDriver] Waiting up to 0 ms for condition
    2021-04-22 15:40:38:550 [WD Proxy] Matched '/elements' to command name 'findElements'
    2021-04-22 15:40:38:550 [WD Proxy] Proxying [POST /elements] to [POST http://localhost:8211/wd/hub/session/7f052173-c168-4e64-80b8-f43d3aac3613/elements] with body: {"strategy":"-android uiautomator","selector":"new UiSelector().text("Settings").instance(0)","context":"","multiple":true}
    2021-04-22 15:40:38:588 [WD Proxy] Got an unexpected response: {"sessionId":"7f052173-c168-4e64-80b8-f43d3aac3613","status":6,"value":"io.appium.uiautomator2.common.exceptions.NoSuchDriverException: A session is either terminated or not started\n\tat io.appium.uiautomator2.model.AppiumUIA2Driver.getSessionOrThrow(AppiumUIA2Driver.java:54)\n\tat io.appium.uia...
    2021-04-22 15:40:38:588 [MJSONWP] Matched JSONWP error code 6 to NoSuchDriverError
    2021-04-22 15:40:38:589 [W3C (2ad6a7e7)] Encountered internal error running command: NoSuchDriverError: io.appium.uiautomator2.common.exceptions.NoSuchDriverException: A session is either terminated or not started
    2021-04-22 15:40:38:590 [W3C (2ad6a7e7)] at io.appium.uiautomator2.model.AppiumUIA2Driver.getSessionOrThrow(AppiumUIA2Driver.java:54)
    2021-04-22 15:40:38:590 [W3C (2ad6a7e7)] at io.appium.uiautomator2.handler.FindElements.fetchElements(FindElements.java:190)
    2021-04-22 15:40:38:590 [W3C (2ad6a7e7)] at io.appium.uiautomator2.handler.FindElements.getUiObjectsUsingAutomator(FindElements.java:168)
    2021-04-22 15:40:38:590 [W3C (2ad6a7e7)] at io.appium.uiautomator2.handler.FindElements.findElements(FindElements.java:123)
    2021-04-22 15:40:38:590 [W3C (2ad6a7e7)] at io.appium.uiautomator2.handler.FindElements.safeHandle(FindElements.java:81)
    2021-04-22 15:40:38:590 [W3C (2ad6a7e7)] at io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:37)
    2021-04-22 15:40:38:590 [W3C (2ad6a7e7)] at io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:252)
    2021-04-22 15:40:38:590 [W3C (2ad6a7e7)] at io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:243)
    2021-04-22 15:40:38:590 [W3C (2ad6a7e7)] at io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:44)
    2021-04-22 15:40:38:590 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
    2021-04-22 15:40:38:590 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
    2021-04-22 15:40:38:590 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)
    2021-04-22 15:40:38:590 [W3C (2ad6a7e7)] at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:102)
    2021-04-22 15:40:38:590 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
    2021-04-22 15:40:38:590 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
    2021-04-22 15:40:38:590 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)
    2021-04-22 15:40:38:590 [W3C (2ad6a7e7)] at io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelRead(CombinedChannelDuplexHandler.java:435)
    2021-04-22 15:40:38:591 [W3C (2ad6a7e7)] at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:293)
    2021-04-22 15:40:38:591 [W3C (2ad6a7e7)] at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:267)
    2021-04-22 15:40:38:591 [W3C (2ad6a7e7)] at io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:250)
    2021-04-22 15:40:38:591 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
    2021-04-22 15:40:38:591 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
    2021-04-22 15:40:38:591 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)
    2021-04-22 15:40:38:591 [W3C (2ad6a7e7)] at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1294)
    2021-04-22 15:40:38:591 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
    2021-04-22 15:40:38:591 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
    2021-04-22 15:40:38:591 [W3C (2ad6a7e7)] at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:911)
    2021-04-22 15:40:38:591 [W3C (2ad6a7e7)] at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:131)
    2021-04-22 15:40:38:591 [W3C (2ad6a7e7)] at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:611)
    2021-04-22 15:40:38:591 [W3C (2ad6a7e7)] at io.netty.channel.nio.NioEventLoop.processSelectedKeysPlain(NioEventLoop.java:514)
    2021-04-22 15:40:38:591 [W3C (2ad6a7e7)] at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:468)
    2021-04-22 15:40:38:591 [W3C (2ad6a7e7)] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:438)
    2021-04-22 15:40:38:591 [W3C (2ad6a7e7)] at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:140)
    2021-04-22 15:40:38:591 [W3C (2ad6a7e7)] at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:144)
    2021-04-22 15:40:38:591 [W3C (2ad6a7e7)] at java.lang.Thread.run(Thread.java:818)
    2021-04-22 15:40:38:592 [W3C (2ad6a7e7)]
    2021-04-22 15:40:38:592 [W3C (2ad6a7e7)] at errorFromMJSONWPStatusCode (E:\nodejs\node_global\node_modules\appium\node_modules\appium-base-driver\lib\protocol\errors.js:786:12)
    2021-04-22 15:40:38:592 [W3C (2ad6a7e7)] at ProxyRequestError.errorFromMJSONWPStatusCode [as getActualError] (E:\nodejs\node_global\node_modules\appium\node_modules\appium-base-driver\lib\protocol\errors.js:683:14)
    2021-04-22 15:40:38:592 [W3C (2ad6a7e7)] at JWProxy.getActualError [as command] (E:\nodejs\node_global\node_modules\appium\node_modules\appium-base-driver\lib\jsonwp-proxy\proxy.js:235:19)
    2021-04-22 15:40:38:592 [HTTP] <-- POST /wd/hub/session/2ad6a7e7-40a5-448e-8864-44b7e2d0b134/elements 404 43 ms - 7682
    2021-04-22 15:40:38:593 [HTTP]
    2021-04-22 15:40:38:612 [HTTP] --> POST /wd/hub/session/2ad6a7e7-40a5-448e-8864-44b7e2d0b134/element
    2021-04-22 15:40:38:612 [HTTP] {"using":"-android uiautomator","value":"new UiSelector().scrollable(true).instance(0)"}
    2021-04-22 15:40:38:612 [W3C (2ad6a7e7)] Calling AppiumDriver.findElement() with args: ["-android uiautomator","new UiSelector().scrollable(true).instance(0)","2ad6a7e7-40a5-448e-8864-44b7e2d0b134"]
    2021-04-22 15:40:38:612 [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
    2021-04-22 15:40:38:612 [BaseDriver] Waiting up to 0 ms for condition
    2021-04-22 15:40:38:613 [WD Proxy] Matched '/element' to command name 'findElement'
    2021-04-22 15:40:38:613 [WD Proxy] Proxying [POST /element] to [POST http://localhost:8211/wd/hub/session/7f052173-c168-4e64-80b8-f43d3aac3613/element] with body: {"strategy":"-android uiautomator","selector":"new UiSelector().scrollable(true).instance(0)","context":"","multiple":false}
    2021-04-22 15:40:38:667 [WD Proxy] Got an unexpected response: {"sessionId":"7f052173-c168-4e64-80b8-f43d3aac3613","status":6,"value":"io.appium.uiautomator2.common.exceptions.NoSuchDriverException: A session is either terminated or not started\n\tat io.appium.uiautomator2.model.AppiumUIA2Driver.getSessionOrThrow(AppiumUIA2Driver.java:54)\n\tat io.appium.uia...
    2021-04-22 15:40:38:667 [MJSONWP] Matched JSONWP error code 6 to NoSuchDriverError
    2021-04-22 15:40:38:668 [W3C (2ad6a7e7)] Encountered internal error running command: NoSuchDriverError: io.appium.uiautomator2.common.exceptions.NoSuchDriverException: A session is either terminated or not started
    2021-04-22 15:40:38:668 [W3C (2ad6a7e7)] at io.appium.uiautomator2.model.AppiumUIA2Driver.getSessionOrThrow(AppiumUIA2Driver.java:54)
    2021-04-22 15:40:38:668 [W3C (2ad6a7e7)] at io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:86)
    2021-04-22 15:40:38:668 [W3C (2ad6a7e7)] at io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:37)
    2021-04-22 15:40:38:668 [W3C (2ad6a7e7)] at io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:252)
    2021-04-22 15:40:38:668 [W3C (2ad6a7e7)] at io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:243)
    2021-04-22 15:40:38:668 [W3C (2ad6a7e7)] at io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:44)
    2021-04-22 15:40:38:668 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
    2021-04-22 15:40:38:668 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
    2021-04-22 15:40:38:668 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)
    2021-04-22 15:40:38:668 [W3C (2ad6a7e7)] at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:102)
    2021-04-22 15:40:38:669 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
    2021-04-22 15:40:38:669 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
    2021-04-22 15:40:38:669 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)
    2021-04-22 15:40:38:669 [W3C (2ad6a7e7)] at io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelRead(CombinedChannelDuplexHandler.java:435)
    2021-04-22 15:40:38:669 [W3C (2ad6a7e7)] at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:293)
    2021-04-22 15:40:38:669 [W3C (2ad6a7e7)] at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:267)
    2021-04-22 15:40:38:669 [W3C (2ad6a7e7)] at io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:250)
    2021-04-22 15:40:38:669 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
    2021-04-22 15:40:38:669 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
    2021-04-22 15:40:38:669 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)
    2021-04-22 15:40:38:669 [W3C (2ad6a7e7)] at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1294)
    2021-04-22 15:40:38:669 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
    2021-04-22 15:40:38:669 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
    2021-04-22 15:40:38:669 [W3C (2ad6a7e7)] at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:911)
    2021-04-22 15:40:38:669 [W3C (2ad6a7e7)] at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:131)
    2021-04-22 15:40:38:669 [W3C (2ad6a7e7)] at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:611)
    2021-04-22 15:40:38:669 [W3C (2ad6a7e7)] at io.netty.channel.nio.NioEventLoop.processSelectedKeysPlain(NioEventLoop.java:514)
    2021-04-22 15:40:38:669 [W3C (2ad6a7e7)] at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:468)
    2021-04-22 15:40:38:669 [W3C (2ad6a7e7)] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:438)
    2021-04-22 15:40:38:670 [W3C (2ad6a7e7)] at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:140)
    2021-04-22 15:40:38:670 [W3C (2ad6a7e7)] at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:144)
    2021-04-22 15:40:38:670 [W3C (2ad6a7e7)] at java.lang.Thread.run(Thread.java:818)
    2021-04-22 15:40:38:670 [W3C (2ad6a7e7)]
    2021-04-22 15:40:38:670 [W3C (2ad6a7e7)] at errorFromMJSONWPStatusCode (E:\nodejs\node_global\node_modules\appium\node_modules\appium-base-driver\lib\protocol\errors.js:786:12)
    2021-04-22 15:40:38:671 [W3C (2ad6a7e7)] at ProxyRequestError.errorFromMJSONWPStatusCode [as getActualError] (E:\nodejs\node_global\node_modules\appium\node_modules\appium-base-driver\lib\protocol\errors.js:683:14)
    2021-04-22 15:40:38:672 [W3C (2ad6a7e7)] at JWProxy.getActualError [as command] (E:\nodejs\node_global\node_modules\appium\node_modules\appium-base-driver\lib\jsonwp-proxy\proxy.js:235:19)
    2021-04-22 15:40:38:673 [HTTP] <-- POST /wd/hub/session/2ad6a7e7-40a5-448e-8864-44b7e2d0b134/element 404 60 ms - 7132
    2021-04-22 15:40:38:673 [HTTP]
    2021-04-22 15:40:39:458 [HTTP] --> POST /wd/hub/session/2ad6a7e7-40a5-448e-8864-44b7e2d0b134/elements
    2021-04-22 15:40:39:458 [HTTP] {"using":"-android uiautomator","value":"new UiSelector().text("Settings").instance(0)"}
    2021-04-22 15:40:39:458 [W3C (2ad6a7e7)] Calling AppiumDriver.findElements() with args: ["-android uiautomator","new UiSelector().text("Settings").instance(0)","2ad6a7e7-40a5-448e-8864-44b7e2d0b134"]
    2021-04-22 15:40:39:458 [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
    2021-04-22 15:40:39:458 [BaseDriver] Waiting up to 0 ms for condition
    2021-04-22 15:40:39:459 [WD Proxy] Matched '/elements' to command name 'findElements'
    2021-04-22 15:40:39:459 [WD Proxy] Proxying [POST /elements] to [POST http://localhost:8211/wd/hub/session/7f052173-c168-4e64-80b8-f43d3aac3613/elements] with body: {"strategy":"-android uiautomator","selector":"new UiSelector().text("Settings").instance(0)","context":"","multiple":true}
    2021-04-22 15:40:39:767 [WD Proxy] Got an unexpected response: {"sessionId":"7f052173-c168-4e64-80b8-f43d3aac3613","status":6,"value":"io.appium.uiautomator2.common.exceptions.NoSuchDriverException: A session is either terminated or not started\n\tat io.appium.uiautomator2.model.AppiumUIA2Driver.getSessionOrThrow(AppiumUIA2Driver.java:54)\n\tat io.appium.uia...
    2021-04-22 15:40:39:768 [MJSONWP] Matched JSONWP error code 6 to NoSuchDriverError
    2021-04-22 15:40:39:768 [W3C (2ad6a7e7)] Encountered internal error running command: NoSuchDriverError: io.appium.uiautomator2.common.exceptions.NoSuchDriverException: A session is either terminated or not started
    2021-04-22 15:40:39:768 [W3C (2ad6a7e7)] at io.appium.uiautomator2.model.AppiumUIA2Driver.getSessionOrThrow(AppiumUIA2Driver.java:54)
    2021-04-22 15:40:39:768 [W3C (2ad6a7e7)] at io.appium.uiautomator2.handler.FindElements.fetchElements(FindElements.java:190)
    2021-04-22 15:40:39:769 [W3C (2ad6a7e7)] at io.appium.uiautomator2.handler.FindElements.getUiObjectsUsingAutomator(FindElements.java:168)
    2021-04-22 15:40:39:769 [W3C (2ad6a7e7)] at io.appium.uiautomator2.handler.FindElements.findElements(FindElements.java:123)
    2021-04-22 15:40:39:769 [W3C (2ad6a7e7)] at io.appium.uiautomator2.handler.FindElements.safeHandle(FindElements.java:81)
    2021-04-22 15:40:39:769 [W3C (2ad6a7e7)] at io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:37)
    2021-04-22 15:40:39:769 [W3C (2ad6a7e7)] at io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:252)
    2021-04-22 15:40:39:769 [W3C (2ad6a7e7)] at io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:243)
    2021-04-22 15:40:39:769 [W3C (2ad6a7e7)] at io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:44)
    2021-04-22 15:40:39:769 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
    2021-04-22 15:40:39:769 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
    2021-04-22 15:40:39:769 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)
    2021-04-22 15:40:39:769 [W3C (2ad6a7e7)] at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:102)
    2021-04-22 15:40:39:769 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
    2021-04-22 15:40:39:769 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
    2021-04-22 15:40:39:769 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)
    2021-04-22 15:40:39:769 [W3C (2ad6a7e7)] at io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelRead(CombinedChannelDuplexHandler.java:435)
    2021-04-22 15:40:39:769 [W3C (2ad6a7e7)] at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:293)
    2021-04-22 15:40:39:769 [W3C (2ad6a7e7)] at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:267)
    2021-04-22 15:40:39:769 [W3C (2ad6a7e7)] at io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:250)
    2021-04-22 15:40:39:769 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
    2021-04-22 15:40:39:770 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
    2021-04-22 15:40:39:770 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)
    2021-04-22 15:40:39:770 [W3C (2ad6a7e7)] at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1294)
    2021-04-22 15:40:39:770 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
    2021-04-22 15:40:39:770 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
    2021-04-22 15:40:39:770 [W3C (2ad6a7e7)] at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:911)
    2021-04-22 15:40:39:770 [W3C (2ad6a7e7)] at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:131)
    2021-04-22 15:40:39:770 [W3C (2ad6a7e7)] at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:611)
    2021-04-22 15:40:39:770 [W3C (2ad6a7e7)] at io.netty.channel.nio.NioEventLoop.processSelectedKeysPlain(NioEventLoop.java:514)
    2021-04-22 15:40:39:770 [W3C (2ad6a7e7)] at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:468)
    2021-04-22 15:40:39:770 [W3C (2ad6a7e7)] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:438)
    2021-04-22 15:40:39:770 [W3C (2ad6a7e7)] at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:140)
    2021-04-22 15:40:39:770 [W3C (2ad6a7e7)] at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:144)
    2021-04-22 15:40:39:770 [W3C (2ad6a7e7)] at java.lang.Thread.run(Thread.java:818)
    2021-04-22 15:40:39:770 [W3C (2ad6a7e7)]
    2021-04-22 15:40:39:770 [W3C (2ad6a7e7)] at errorFromMJSONWPStatusCode (E:\nodejs\node_global\node_modules\appium\node_modules\appium-base-driver\lib\protocol\errors.js:786:12)
    2021-04-22 15:40:39:770 [W3C (2ad6a7e7)] at ProxyRequestError.errorFromMJSONWPStatusCode [as getActualError] (E:\nodejs\node_global\node_modules\appium\node_modules\appium-base-driver\lib\protocol\errors.js:683:14)
    2021-04-22 15:40:39:770 [W3C (2ad6a7e7)] at JWProxy.getActualError [as command] (E:\nodejs\node_global\node_modules\appium\node_modules\appium-base-driver\lib\jsonwp-proxy\proxy.js:235:19)
    2021-04-22 15:40:39:771 [HTTP] <-- POST /wd/hub/session/2ad6a7e7-40a5-448e-8864-44b7e2d0b134/elements 404 313 ms - 7682
    2021-04-22 15:40:39:771 [HTTP]
    2021-04-22 15:40:39:799 [HTTP] --> POST /wd/hub/session/2ad6a7e7-40a5-448e-8864-44b7e2d0b134/element
    2021-04-22 15:40:39:799 [HTTP] {"using":"-android uiautomator","value":"new UiSelector().scrollable(true).instance(0)"}
    2021-04-22 15:40:39:799 [W3C (2ad6a7e7)] Calling AppiumDriver.findElement() with args: ["-android uiautomator","new UiSelector().scrollable(true).instance(0)","2ad6a7e7-40a5-448e-8864-44b7e2d0b134"]
    2021-04-22 15:40:39:799 [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
    2021-04-22 15:40:39:799 [BaseDriver] Waiting up to 0 ms for condition
    2021-04-22 15:40:39:800 [WD Proxy] Matched '/element' to command name 'findElement'
    2021-04-22 15:40:39:800 [WD Proxy] Proxying [POST /element] to [POST http://localhost:8211/wd/hub/session/7f052173-c168-4e64-80b8-f43d3aac3613/element] with body: {"strategy":"-android uiautomator","selector":"new UiSelector().scrollable(true).instance(0)","context":"","multiple":false}
    2021-04-22 15:40:39:869 [WD Proxy] Got an unexpected response: {"sessionId":"7f052173-c168-4e64-80b8-f43d3aac3613","status":6,"value":"io.appium.uiautomator2.common.exceptions.NoSuchDriverException: A session is either terminated or not started\n\tat io.appium.uiautomator2.model.AppiumUIA2Driver.getSessionOrThrow(AppiumUIA2Driver.java:54)\n\tat io.appium.uia...
    2021-04-22 15:40:39:869 [MJSONWP] Matched JSONWP error code 6 to NoSuchDriverError
    2021-04-22 15:40:39:871 [W3C (2ad6a7e7)] Encountered internal error running command: NoSuchDriverError: io.appium.uiautomator2.common.exceptions.NoSuchDriverException: A session is either terminated or not started
    2021-04-22 15:40:39:871 [W3C (2ad6a7e7)] at io.appium.uiautomator2.model.AppiumUIA2Driver.getSessionOrThrow(AppiumUIA2Driver.java:54)
    2021-04-22 15:40:39:871 [W3C (2ad6a7e7)] at io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:86)
    2021-04-22 15:40:39:871 [W3C (2ad6a7e7)] at io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:37)
    2021-04-22 15:40:39:871 [W3C (2ad6a7e7)] at io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:252)
    2021-04-22 15:40:39:871 [W3C (2ad6a7e7)] at io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:243)
    2021-04-22 15:40:39:872 [W3C (2ad6a7e7)] at io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:44)
    2021-04-22 15:40:39:872 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
    2021-04-22 15:40:39:872 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
    2021-04-22 15:40:39:872 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)
    2021-04-22 15:40:39:872 [W3C (2ad6a7e7)] at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:102)
    2021-04-22 15:40:39:872 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
    2021-04-22 15:40:39:873 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
    2021-04-22 15:40:39:873 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)
    2021-04-22 15:40:39:873 [W3C (2ad6a7e7)] at io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelRead(CombinedChannelDuplexHandler.java:435)
    2021-04-22 15:40:39:873 [W3C (2ad6a7e7)] at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:293)
    2021-04-22 15:40:39:873 [W3C (2ad6a7e7)] at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:267)
    2021-04-22 15:40:39:873 [W3C (2ad6a7e7)] at io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:250)
    2021-04-22 15:40:39:873 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
    2021-04-22 15:40:39:874 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
    2021-04-22 15:40:39:874 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)
    2021-04-22 15:40:39:874 [W3C (2ad6a7e7)] at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1294)
    2021-04-22 15:40:39:874 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
    2021-04-22 15:40:39:874 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
    2021-04-22 15:40:39:874 [W3C (2ad6a7e7)] at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:911)
    2021-04-22 15:40:39:874 [W3C (2ad6a7e7)] at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:131)
    2021-04-22 15:40:39:875 [W3C (2ad6a7e7)] at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:611)
    2021-04-22 15:40:39:875 [W3C (2ad6a7e7)] at io.netty.channel.nio.NioEventLoop.processSelectedKeysPlain(NioEventLoop.java:514)
    2021-04-22 15:40:39:875 [W3C (2ad6a7e7)] at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:468)
    2021-04-22 15:40:39:875 [W3C (2ad6a7e7)] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:438)
    2021-04-22 15:40:39:875 [W3C (2ad6a7e7)] at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:140)
    2021-04-22 15:40:39:875 [W3C (2ad6a7e7)] at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:144)
    2021-04-22 15:40:39:875 [W3C (2ad6a7e7)] at java.lang.Thread.run(Thread.java:818)
    2021-04-22 15:40:39:876 [W3C (2ad6a7e7)]
    2021-04-22 15:40:39:876 [W3C (2ad6a7e7)] at errorFromMJSONWPStatusCode (E:\nodejs\node_global\node_modules\appium\node_modules\appium-base-driver\lib\protocol\errors.js:786:12)
    2021-04-22 15:40:39:881 [W3C (2ad6a7e7)] at ProxyRequestError.errorFromMJSONWPStatusCode [as getActualError] (E:\nodejs\node_global\node_modules\appium\node_modules\appium-base-driver\lib\protocol\errors.js:683:14)
    2021-04-22 15:40:39:881 [W3C (2ad6a7e7)] at JWProxy.getActualError [as command] (E:\nodejs\node_global\node_modules\appium\node_modules\appium-base-driver\lib\jsonwp-proxy\proxy.js:235:19)
    2021-04-22 15:40:39:882 [HTTP] <-- POST /wd/hub/session/2ad6a7e7-40a5-448e-8864-44b7e2d0b134/element 404 83 ms - 7132
    2021-04-22 15:40:39:882 [HTTP]
    2021-04-22 15:40:40:707 [HTTP] --> POST /wd/hub/session/2ad6a7e7-40a5-448e-8864-44b7e2d0b134/elements
    2021-04-22 15:40:40:708 [HTTP] {"using":"-android uiautomator","value":"new UiSelector().text("Settings").instance(0)"}
    2021-04-22 15:40:40:708 [W3C (2ad6a7e7)] Calling AppiumDriver.findElements() with args: ["-android uiautomator","new UiSelector().text("Settings").instance(0)","2ad6a7e7-40a5-448e-8864-44b7e2d0b134"]
    2021-04-22 15:40:40:708 [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
    2021-04-22 15:40:40:708 [BaseDriver] Waiting up to 0 ms for condition
    2021-04-22 15:40:40:708 [WD Proxy] Matched '/elements' to command name 'findElements'
    2021-04-22 15:40:40:709 [WD Proxy] Proxying [POST /elements] to [POST http://localhost:8211/wd/hub/session/7f052173-c168-4e64-80b8-f43d3aac3613/elements] with body: {"strategy":"-android uiautomator","selector":"new UiSelector().text("Settings").instance(0)","context":"","multiple":true}
    2021-04-22 15:40:40:763 [WD Proxy] Got an unexpected response: {"sessionId":"7f052173-c168-4e64-80b8-f43d3aac3613","status":6,"value":"io.appium.uiautomator2.common.exceptions.NoSuchDriverException: A session is either terminated or not started\n\tat io.appium.uiautomator2.model.AppiumUIA2Driver.getSessionOrThrow(AppiumUIA2Driver.java:54)\n\tat io.appium.uia...
    2021-04-22 15:40:40:763 [MJSONWP] Matched JSONWP error code 6 to NoSuchDriverError
    2021-04-22 15:40:40:764 [W3C (2ad6a7e7)] Encountered internal error running command: NoSuchDriverError: io.appium.uiautomator2.common.exceptions.NoSuchDriverException: A session is either terminated or not started
    2021-04-22 15:40:40:764 [W3C (2ad6a7e7)] at io.appium.uiautomator2.model.AppiumUIA2Driver.getSessionOrThrow(AppiumUIA2Driver.java:54)
    2021-04-22 15:40:40:764 [W3C (2ad6a7e7)] at io.appium.uiautomator2.handler.FindElements.fetchElements(FindElements.java:190)
    2021-04-22 15:40:40:764 [W3C (2ad6a7e7)] at io.appium.uiautomator2.handler.FindElements.getUiObjectsUsingAutomator(FindElements.java:168)
    2021-04-22 15:40:40:764 [W3C (2ad6a7e7)] at io.appium.uiautomator2.handler.FindElements.findElements(FindElements.java:123)
    2021-04-22 15:40:40:764 [W3C (2ad6a7e7)] at io.appium.uiautomator2.handler.FindElements.safeHandle(FindElements.java:81)
    2021-04-22 15:40:40:764 [W3C (2ad6a7e7)] at io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:37)
    2021-04-22 15:40:40:764 [W3C (2ad6a7e7)] at io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:252)
    2021-04-22 15:40:40:764 [W3C (2ad6a7e7)] at io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:243)
    2021-04-22 15:40:40:764 [W3C (2ad6a7e7)] at io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:44)
    2021-04-22 15:40:40:765 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
    2021-04-22 15:40:40:765 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
    2021-04-22 15:40:40:765 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)
    2021-04-22 15:40:40:765 [W3C (2ad6a7e7)] at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:102)
    2021-04-22 15:40:40:765 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
    2021-04-22 15:40:40:765 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
    2021-04-22 15:40:40:765 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)
    2021-04-22 15:40:40:765 [W3C (2ad6a7e7)] at io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelRead(CombinedChannelDuplexHandler.java:435)
    2021-04-22 15:40:40:765 [W3C (2ad6a7e7)] at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:293)
    2021-04-22 15:40:40:765 [W3C (2ad6a7e7)] at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:267)
    2021-04-22 15:40:40:765 [W3C (2ad6a7e7)] at io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:250)
    2021-04-22 15:40:40:765 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
    2021-04-22 15:40:40:765 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
    2021-04-22 15:40:40:765 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)
    2021-04-22 15:40:40:765 [W3C (2ad6a7e7)] at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1294)
    2021-04-22 15:40:40:765 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
    2021-04-22 15:40:40:765 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
    2021-04-22 15:40:40:765 [W3C (2ad6a7e7)] at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:911)
    2021-04-22 15:40:40:765 [W3C (2ad6a7e7)] at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:131)
    2021-04-22 15:40:40:765 [W3C (2ad6a7e7)] at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:611)
    2021-04-22 15:40:40:765 [W3C (2ad6a7e7)] at io.netty.channel.nio.NioEventLoop.processSelectedKeysPlain(NioEventLoop.java:514)
    2021-04-22 15:40:40:765 [W3C (2ad6a7e7)] at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:468)
    2021-04-22 15:40:40:766 [W3C (2ad6a7e7)] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:438)
    2021-04-22 15:40:40:766 [W3C (2ad6a7e7)] at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:140)
    2021-04-22 15:40:40:766 [W3C (2ad6a7e7)] at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:144)
    2021-04-22 15:40:40:766 [W3C (2ad6a7e7)] at java.lang.Thread.run(Thread.java:818)
    2021-04-22 15:40:40:766 [W3C (2ad6a7e7)]
    2021-04-22 15:40:40:766 [W3C (2ad6a7e7)] at errorFromMJSONWPStatusCode (E:\nodejs\node_global\node_modules\appium\node_modules\appium-base-driver\lib\protocol\errors.js:786:12)
    2021-04-22 15:40:40:766 [W3C (2ad6a7e7)] at ProxyRequestError.errorFromMJSONWPStatusCode [as getActualError] (E:\nodejs\node_global\node_modules\appium\node_modules\appium-base-driver\lib\protocol\errors.js:683:14)
    2021-04-22 15:40:40:766 [W3C (2ad6a7e7)] at JWProxy.getActualError [as command] (E:\nodejs\node_global\node_modules\appium\node_modules\appium-base-driver\lib\jsonwp-proxy\proxy.js:235:19)
    2021-04-22 15:40:40:767 [HTTP] <-- POST /wd/hub/session/2ad6a7e7-40a5-448e-8864-44b7e2d0b134/elements 404 59 ms - 7682
    2021-04-22 15:40:40:767 [HTTP]
    2021-04-22 15:40:40:783 [HTTP] --> POST /wd/hub/session/2ad6a7e7-40a5-448e-8864-44b7e2d0b134/element
    2021-04-22 15:40:40:783 [HTTP] {"using":"-android uiautomator","value":"new UiSelector().scrollable(true).instance(0)"}
    2021-04-22 15:40:40:784 [W3C (2ad6a7e7)] Calling AppiumDriver.findElement() with args: ["-android uiautomator","new UiSelector().scrollable(true).instance(0)","2ad6a7e7-40a5-448e-8864-44b7e2d0b134"]
    2021-04-22 15:40:40:784 [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
    2021-04-22 15:40:40:784 [BaseDriver] Waiting up to 0 ms for condition
    2021-04-22 15:40:40:786 [WD Proxy] Matched '/element' to command name 'findElement'
    2021-04-22 15:40:40:786 [WD Proxy] Proxying [POST /element] to [POST http://localhost:8211/wd/hub/session/7f052173-c168-4e64-80b8-f43d3aac3613/element] with body: {"strategy":"-android uiautomator","selector":"new UiSelector().scrollable(true).instance(0)","context":"","multiple":false}
    2021-04-22 15:40:40:841 [WD Proxy] Got an unexpected response: {"sessionId":"7f052173-c168-4e64-80b8-f43d3aac3613","status":6,"value":"io.appium.uiautomator2.common.exceptions.NoSuchDriverException: A session is either terminated or not started\n\tat io.appium.uiautomator2.model.AppiumUIA2Driver.getSessionOrThrow(AppiumUIA2Driver.java:54)\n\tat io.appium.uia...
    2021-04-22 15:40:40:841 [MJSONWP] Matched JSONWP error code 6 to NoSuchDriverError
    2021-04-22 15:40:40:842 [W3C (2ad6a7e7)] Encountered internal error running command: NoSuchDriverError: io.appium.uiautomator2.common.exceptions.NoSuchDriverException: A session is either terminated or not started
    2021-04-22 15:40:40:842 [W3C (2ad6a7e7)] at io.appium.uiautomator2.model.AppiumUIA2Driver.getSessionOrThrow(AppiumUIA2Driver.java:54)
    2021-04-22 15:40:40:842 [W3C (2ad6a7e7)] at io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:86)
    2021-04-22 15:40:40:842 [W3C (2ad6a7e7)] at io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:37)
    2021-04-22 15:40:40:842 [W3C (2ad6a7e7)] at io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:252)
    2021-04-22 15:40:40:842 [W3C (2ad6a7e7)] at io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:243)
    2021-04-22 15:40:40:842 [W3C (2ad6a7e7)] at io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:44)
    2021-04-22 15:40:40:842 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
    2021-04-22 15:40:40:842 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
    2021-04-22 15:40:40:842 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)
    2021-04-22 15:40:40:842 [W3C (2ad6a7e7)] at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:102)
    2021-04-22 15:40:40:842 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
    2021-04-22 15:40:40:842 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
    2021-04-22 15:40:40:842 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)
    2021-04-22 15:40:40:842 [W3C (2ad6a7e7)] at io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelRead(CombinedChannelDuplexHandler.java:435)
    2021-04-22 15:40:40:842 [W3C (2ad6a7e7)] at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:293)
    2021-04-22 15:40:40:842 [W3C (2ad6a7e7)] at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:267)
    2021-04-22 15:40:40:842 [W3C (2ad6a7e7)] at io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:250)
    2021-04-22 15:40:40:842 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
    2021-04-22 15:40:40:842 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
    2021-04-22 15:40:40:842 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)
    2021-04-22 15:40:40:843 [W3C (2ad6a7e7)] at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1294)
    2021-04-22 15:40:40:843 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
    2021-04-22 15:40:40:843 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
    2021-04-22 15:40:40:843 [W3C (2ad6a7e7)] at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:911)
    2021-04-22 15:40:40:843 [W3C (2ad6a7e7)] at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:131)
    2021-04-22 15:40:40:843 [W3C (2ad6a7e7)] at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:611)
    2021-04-22 15:40:40:843 [W3C (2ad6a7e7)] at io.netty.channel.nio.NioEventLoop.processSelectedKeysPlain(NioEventLoop.java:514)
    2021-04-22 15:40:40:843 [W3C (2ad6a7e7)] at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:468)
    2021-04-22 15:40:40:843 [W3C (2ad6a7e7)] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:438)
    2021-04-22 15:40:40:843 [W3C (2ad6a7e7)] at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:140)
    2021-04-22 15:40:40:843 [W3C (2ad6a7e7)] at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:144)
    2021-04-22 15:40:40:843 [W3C (2ad6a7e7)] at java.lang.Thread.run(Thread.java:818)
    2021-04-22 15:40:40:843 [W3C (2ad6a7e7)]
    2021-04-22 15:40:40:843 [W3C (2ad6a7e7)] at errorFromMJSONWPStatusCode (E:\nodejs\node_global\node_modules\appium\node_modules\appium-base-driver\lib\protocol\errors.js:786:12)
    2021-04-22 15:40:40:843 [W3C (2ad6a7e7)] at ProxyRequestError.errorFromMJSONWPStatusCode [as getActualError] (E:\nodejs\node_global\node_modules\appium\node_modules\appium-base-driver\lib\protocol\errors.js:683:14)
    2021-04-22 15:40:40:843 [W3C (2ad6a7e7)] at JWProxy.getActualError [as command] (E:\nodejs\node_global\node_modules\appium\node_modules\appium-base-driver\lib\jsonwp-proxy\proxy.js:235:19)
    2021-04-22 15:40:40:844 [HTTP] <-- POST /wd/hub/session/2ad6a7e7-40a5-448e-8864-44b7e2d0b134/element 404 60 ms - 7132
    2021-04-22 15:40:40:844 [HTTP]
    2021-04-22 15:40:41:643 [HTTP] --> POST /wd/hub/session/2ad6a7e7-40a5-448e-8864-44b7e2d0b134/elements
    2021-04-22 15:40:41:643 [HTTP] {"using":"-android uiautomator","value":"new UiSelector().text("Settings").instance(0)"}
    2021-04-22 15:40:41:643 [W3C (2ad6a7e7)] Calling AppiumDriver.findElements() with args: ["-android uiautomator","new UiSelector().text("Settings").instance(0)","2ad6a7e7-40a5-448e-8864-44b7e2d0b134"]
    2021-04-22 15:40:41:643 [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
    2021-04-22 15:40:41:643 [BaseDriver] Waiting up to 0 ms for condition
    2021-04-22 15:40:41:644 [WD Proxy] Matched '/elements' to command name 'findElements'
    2021-04-22 15:40:41:644 [WD Proxy] Proxying [POST /elements] to [POST http://localhost:8211/wd/hub/session/7f052173-c168-4e64-80b8-f43d3aac3613/elements] with body: {"strategy":"-android uiautomator","selector":"new UiSelector().text("Settings").instance(0)","context":"","multiple":true}
    2021-04-22 15:40:41:683 [WD Proxy] Got an unexpected response: {"sessionId":"7f052173-c168-4e64-80b8-f43d3aac3613","status":6,"value":"io.appium.uiautomator2.common.exceptions.NoSuchDriverException: A session is either terminated or not started\n\tat io.appium.uiautomator2.model.AppiumUIA2Driver.getSessionOrThrow(AppiumUIA2Driver.java:54)\n\tat io.appium.uia...
    2021-04-22 15:40:41:683 [MJSONWP] Matched JSONWP error code 6 to NoSuchDriverError
    2021-04-22 15:40:41:684 [W3C (2ad6a7e7)] Encountered internal error running command: NoSuchDriverError: io.appium.uiautomator2.common.exceptions.NoSuchDriverException: A session is either terminated or not started
    2021-04-22 15:40:41:684 [W3C (2ad6a7e7)] at io.appium.uiautomator2.model.AppiumUIA2Driver.getSessionOrThrow(AppiumUIA2Driver.java:54)
    2021-04-22 15:40:41:684 [W3C (2ad6a7e7)] at io.appium.uiautomator2.handler.FindElements.fetchElements(FindElements.java:190)
    2021-04-22 15:40:41:684 [W3C (2ad6a7e7)] at io.appium.uiautomator2.handler.FindElements.getUiObjectsUsingAutomator(FindElements.java:168)
    2021-04-22 15:40:41:684 [W3C (2ad6a7e7)] at io.appium.uiautomator2.handler.FindElements.findElements(FindElements.java:123)
    2021-04-22 15:40:41:684 [W3C (2ad6a7e7)] at io.appium.uiautomator2.handler.FindElements.safeHandle(FindElements.java:81)
    2021-04-22 15:40:41:684 [W3C (2ad6a7e7)] at io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:37)
    2021-04-22 15:40:41:684 [W3C (2ad6a7e7)] at io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:252)
    2021-04-22 15:40:41:684 [W3C (2ad6a7e7)] at io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:243)
    2021-04-22 15:40:41:684 [W3C (2ad6a7e7)] at io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:44)
    2021-04-22 15:40:41:684 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
    2021-04-22 15:40:41:684 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
    2021-04-22 15:40:41:684 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)
    2021-04-22 15:40:41:684 [W3C (2ad6a7e7)] at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:102)
    2021-04-22 15:40:41:684 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
    2021-04-22 15:40:41:684 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
    2021-04-22 15:40:41:684 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)
    2021-04-22 15:40:41:684 [W3C (2ad6a7e7)] at io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelRead(CombinedChannelDuplexHandler.java:435)
    2021-04-22 15:40:41:684 [W3C (2ad6a7e7)] at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:293)
    2021-04-22 15:40:41:684 [W3C (2ad6a7e7)] at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:267)
    2021-04-22 15:40:41:685 [W3C (2ad6a7e7)] at io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:250)
    2021-04-22 15:40:41:685 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
    2021-04-22 15:40:41:685 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
    2021-04-22 15:40:41:685 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)
    2021-04-22 15:40:41:685 [W3C (2ad6a7e7)] at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1294)
    2021-04-22 15:40:41:685 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
    2021-04-22 15:40:41:685 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
    2021-04-22 15:40:41:685 [W3C (2ad6a7e7)] at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:911)
    2021-04-22 15:40:41:685 [W3C (2ad6a7e7)] at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:131)
    2021-04-22 15:40:41:685 [W3C (2ad6a7e7)] at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:611)
    2021-04-22 15:40:41:685 [W3C (2ad6a7e7)] at io.netty.channel.nio.NioEventLoop.processSelectedKeysPlain(NioEventLoop.java:514)
    2021-04-22 15:40:41:685 [W3C (2ad6a7e7)] at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:468)
    2021-04-22 15:40:41:685 [W3C (2ad6a7e7)] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:438)
    2021-04-22 15:40:41:685 [W3C (2ad6a7e7)] at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:140)
    2021-04-22 15:40:41:685 [W3C (2ad6a7e7)] at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:144)
    2021-04-22 15:40:41:685 [W3C (2ad6a7e7)] at java.lang.Thread.run(Thread.java:818)
    2021-04-22 15:40:41:685 [W3C (2ad6a7e7)]
    2021-04-22 15:40:41:685 [W3C (2ad6a7e7)] at errorFromMJSONWPStatusCode (E:\nodejs\node_global\node_modules\appium\node_modules\appium-base-driver\lib\protocol\errors.js:786:12)
    2021-04-22 15:40:41:685 [W3C (2ad6a7e7)] at ProxyRequestError.errorFromMJSONWPStatusCode [as getActualError] (E:\nodejs\node_global\node_modules\appium\node_modules\appium-base-driver\lib\protocol\errors.js:683:14)
    2021-04-22 15:40:41:685 [W3C (2ad6a7e7)] at JWProxy.getActualError [as command] (E:\nodejs\node_global\node_modules\appium\node_modules\appium-base-driver\lib\jsonwp-proxy\proxy.js:235:19)
    2021-04-22 15:40:41:686 [HTTP] <-- POST /wd/hub/session/2ad6a7e7-40a5-448e-8864-44b7e2d0b134/elements 404 43 ms - 7682
    2021-04-22 15:40:41:686 [HTTP]
    2021-04-22 15:40:41:721 [HTTP] --> POST /wd/hub/session/2ad6a7e7-40a5-448e-8864-44b7e2d0b134/element
    2021-04-22 15:40:41:721 [HTTP] {"using":"-android uiautomator","value":"new UiSelector().scrollable(true).instance(0)"}
    2021-04-22 15:40:41:721 [W3C (2ad6a7e7)] Calling AppiumDriver.findElement() with args: ["-android uiautomator","new UiSelector().scrollable(true).instance(0)","2ad6a7e7-40a5-448e-8864-44b7e2d0b134"]
    2021-04-22 15:40:41:721 [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
    2021-04-22 15:40:41:721 [BaseDriver] Waiting up to 0 ms for condition
    2021-04-22 15:40:41:722 [WD Proxy] Matched '/element' to command name 'findElement'
    2021-04-22 15:40:41:722 [WD Proxy] Proxying [POST /element] to [POST http://localhost:8211/wd/hub/session/7f052173-c168-4e64-80b8-f43d3aac3613/element] with body: {"strategy":"-android uiautomator","selector":"new UiSelector().scrollable(true).instance(0)","context":"","multiple":false}
    2021-04-22 15:40:41:781 [WD Proxy] Got an unexpected response: {"sessionId":"7f052173-c168-4e64-80b8-f43d3aac3613","status":6,"value":"io.appium.uiautomator2.common.exceptions.NoSuchDriverException: A session is either terminated or not started\n\tat io.appium.uiautomator2.model.AppiumUIA2Driver.getSessionOrThrow(AppiumUIA2Driver.java:54)\n\tat io.appium.uia...
    2021-04-22 15:40:41:782 [MJSONWP] Matched JSONWP error code 6 to NoSuchDriverError
    2021-04-22 15:40:41:784 [W3C (2ad6a7e7)] Encountered internal error running command: NoSuchDriverError: io.appium.uiautomator2.common.exceptions.NoSuchDriverException: A session is either terminated or not started
    2021-04-22 15:40:41:784 [W3C (2ad6a7e7)] at io.appium.uiautomator2.model.AppiumUIA2Driver.getSessionOrThrow(AppiumUIA2Driver.java:54)
    2021-04-22 15:40:41:785 [W3C (2ad6a7e7)] at io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:86)
    2021-04-22 15:40:41:785 [W3C (2ad6a7e7)] at io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:37)
    2021-04-22 15:40:41:785 [W3C (2ad6a7e7)] at io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:252)
    2021-04-22 15:40:41:785 [W3C (2ad6a7e7)] at io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:243)
    2021-04-22 15:40:41:786 [W3C (2ad6a7e7)] at io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:44)
    2021-04-22 15:40:41:786 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
    2021-04-22 15:40:41:786 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
    2021-04-22 15:40:41:786 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)
    2021-04-22 15:40:41:786 [W3C (2ad6a7e7)] at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:102)
    2021-04-22 15:40:41:787 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
    2021-04-22 15:40:41:787 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
    2021-04-22 15:40:41:787 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)
    2021-04-22 15:40:41:787 [W3C (2ad6a7e7)] at io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelRead(CombinedChannelDuplexHandler.java:435)
    2021-04-22 15:40:41:787 [W3C (2ad6a7e7)] at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:293)
    2021-04-22 15:40:41:787 [W3C (2ad6a7e7)] at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:267)
    2021-04-22 15:40:41:787 [W3C (2ad6a7e7)] at io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:250)
    2021-04-22 15:40:41:787 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
    2021-04-22 15:40:41:787 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
    2021-04-22 15:40:41:787 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)
    2021-04-22 15:40:41:788 [W3C (2ad6a7e7)] at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1294)
    2021-04-22 15:40:41:788 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
    2021-04-22 15:40:41:788 [W3C (2ad6a7e7)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
    2021-04-22 15:40:41:788 [W3C (2ad6a7e7)] at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:911)
    2021-04-22 15:40:41:788 [W3C (2ad6a7e7)] at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:131)
    2021-04-22 15:40:41:788 [W3C (2ad6a7e7)] at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:611)
    2021-04-22 15:40:41:788 [W3C (2ad6a7e7)] at io.netty.channel.nio.NioEventLoop.processSelectedKeysPlain(NioEventLoop.java:514)
    2021-04-22 15:40:41:788 [W3C (2ad6a7e7)] at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:468)
    2021-04-22 15:40:41:788 [W3C (2ad6a7e7)] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:438)
    2021-04-22 15:40:41:788 [W3C (2ad6a7e7)] at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:140)
    2021-04-22 15:40:41:788 [W3C (2ad6a7e7)] at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:144)
    2021-04-22 15:40:41:789 [W3C (2ad6a7e7)] at java.lang.Thread.run(Thread.java:818)
    2021-04-22 15:40:41:789 [W3C (2ad6a7e7)]
    2021-04-22 15:40:41:789 [W3C (2ad6a7e7)] at errorFromMJSONWPStatusCode (E:\nodejs\node_global\node_modules\appium\node_modules\appium-base-driver\lib\protocol\errors.js:786:12)
    2021-04-22 15:40:41:789 [W3C (2ad6a7e7)] at ProxyRequestError.errorFromMJSONWPStatusCode [as getActualError] (E:\nodejs\node_global\node_modules\appium\node_modules\appium-base-driver\lib\protocol\errors.js:683:14)
    2021-04-22 15:40:41:789 [W3C (2ad6a7e7)] at JWProxy.getActualError [as command] (E:\nodejs\node_global\node_modules\appium\node_modules\appium-base-driver\lib\jsonwp-proxy\proxy.js:235:19)
    2021-04-22 15:40:41:790 [HTTP] <-- POST /wd/hub/session/2ad6a7e7-40a5-448e-8864-44b7e2d0b134/element 404 69 ms - 7132
    2021-04-22 15:40:41:790 [HTTP]
    2021-04-22 15:40:42:633 [HTTP] --> POST /wd/hub/session/2ad6a7e7-40a5-448e-8864-44b7e2d0b134/elements
    2021-04-22 15:40:42:633 [HTTP] {"using":"-android uiautomator","value":"new UiSelector().text("Settings").instance(0)"}
    2021-04-22 15:40:42:633 [W3C (2ad6a7e7)] Calling AppiumDriver.findElements() with args: ["-android uiautomator","new UiSelector().text("Settings").instance(0)","2ad6a7e7-40a5-448e-8864-44b7e2d0b134"]
    2021-04-22 15:40:42:635 [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
    2021-04-22 15:40:42:635 [BaseDriver] Waiting up to 0 ms for condition
    2021-04-22 15:40:42:635 [WD Proxy] Matched '/elements' to command name 'findElements'
    2021-04-22 15:40:42:635 [WD Proxy] Proxying [POST /elements] to [POST http://localhost:8211/wd/hub/session/7f052173-c168-4e64-80b8-f43d3aac3613/elements] with body: {"strategy":"-android uiautomator","selector":"new UiSelector().text("Settings").instance(0)","context":"","multiple":true}
    2021-04-22 15:40:42:655 [WD Proxy] Got an unexpected response: {"errno":"ECONNRESET","code":"ECONNRESET","syscall":"read"}
    2021-04-22 15:40:42:658 [W3C (2ad6a7e7)] Encountered internal error running command: UnknownError: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to remote server. Original error: Error: read ECONNRESET
    2021-04-22 15:40:42:658 [W3C (2ad6a7e7)] at JWProxy.command (E:\nodejs\node_global\node_modules\appium\node_modules\appium-base-driver\lib\jsonwp-proxy\proxy.js:237:13)
    2021-04-22 15:40:42:659 [HTTP] <-- POST /wd/hub/session/2ad6a7e7-40a5-448e-8864-44b7e2d0b134/elements 500 26 ms - 548
    2021-04-22 15:40:42:659 [HTTP]
    2021-04-22 15:40:42:661 [Logcat] Logcat terminated with code 0, signal null
    2021-04-22 15:40:42:679 [HTTP] --> POST /wd/hub/session/2ad6a7e7-40a5-448e-8864-44b7e2d0b134/element
    2021-04-22 15:40:42:679 [HTTP] {"using":"-android uiautomator","value":"new UiSelector().scrollable(true).instance(0)"}
    2021-04-22 15:40:42:679 [W3C (2ad6a7e7)] Calling AppiumDriver.findElement() with args: ["-android uiautomator","new UiSelector().scrollable(true).instance(0)","2ad6a7e7-40a5-448e-8864-44b7e2d0b134"]
    2021-04-22 15:40:42:680 [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
    2021-04-22 15:40:42:680 [BaseDriver] Waiting up to 0 ms for condition
    2021-04-22 15:40:42:680 [WD Proxy] Matched '/element' to command name 'findElement'
    2021-04-22 15:40:42:680 [WD Proxy] Proxying [POST /element] to [POST http://localhost:8211/wd/hub/session/7f052173-c168-4e64-80b8-f43d3aac3613/element] with body: {"strategy":"-android uiautomator","selector":"new UiSelector().scrollable(true).instance(0)","context":"","multiple":false}
    2021-04-22 15:40:42:681 [Instrumentation] The process has exited with code 0
    2021-04-22 15:40:44:710 [WD Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8211}
    2021-04-22 15:40:44:711 [W3C (2ad6a7e7)] Encountered internal error running command: UnknownError: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to remote server. Original error: Error: connect ECONNREFUSED 127.0.0.1:8211
    2021-04-22 15:40:44:711 [W3C (2ad6a7e7)] at JWProxy.command (E:\nodejs\node_global\node_modules\appium\node_modules\appium-base-driver\lib\jsonwp-proxy\proxy.js:237:13)
    2021-04-22 15:40:44:712 [HTTP] <-- POST /wd/hub/session/2ad6a7e7-40a5-448e-8864-44b7e2d0b134/element 500 2033 ms - 588
    2021-04-22 15:40:44:712 [HTTP]
    2021-04-22 15:40:47:518 [HTTP] --> POST /wd/hub/session/2ad6a7e7-40a5-448e-8864-44b7e2d0b134/elements
    2021-04-22 15:40:47:518 [HTTP] {"using":"-android uiautomator","value":"new UiSelector().text("Settings").instance(0)"}
    2021-04-22 15:40:47:518 [W3C (2ad6a7e7)] Calling AppiumDriver.findElements() with args: ["-android uiautomator","new UiSelector().text("Settings").instance(0)","2ad6a7e7-40a5-448e-8864-44b7e2d0b134"]
    2021-04-22 15:40:47:519 [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
    2021-04-22 15:40:47:520 [BaseDriver] Waiting up to 0 ms for condition
    2021-04-22 15:40:47:520 [WD Proxy] Matched '/elements' to command name 'findElements'
    2021-04-22 15:40:47:520 [WD Proxy] Proxying [POST /elements] to [POST http://localhost:8211/wd/hub/session/7f052173-c168-4e64-80b8-f43d3aac3613/elements] with body: {"strategy":"-android uiautomator","selector":"new UiSelector().text("Settings").instance(0)","context":"","multiple":true}
    2021-04-22 15:40:49:554 [WD Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8211}
    2021-04-22 15:40:49:554 [W3C (2ad6a7e7)] Encountered internal error running command: UnknownError: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to remote server. Original error: Error: connect ECONNREFUSED 127.0.0.1:8211
    2021-04-22 15:40:49:554 [W3C (2ad6a7e7)] at JWProxy.command (E:\nodejs\node_global\node_modules\appium\node_modules\appium-base-driver\lib\jsonwp-proxy\proxy.js:237:13)
    2021-04-22 15:40:49:555 [HTTP] <-- POST /wd/hub/session/2ad6a7e7-40a5-448e-8864-44b7e2d0b134/elements 500 2037 ms - 588
    2021-04-22 15:40:49:555 [HTTP]
    2021-04-22 15:40:49:581 [HTTP] --> POST /wd/hub/session/2ad6a7e7-40a5-448e-8864-44b7e2d0b134/element
    2021-04-22 15:40:49:581 [HTTP] {"using":"-android uiautomator","value":"new UiSelector().scrollable(true).instance(0)"}
    2021-04-22 15:40:49:581 [W3C (2ad6a7e7)] Calling AppiumDriver.findElement() with args: ["-android uiautomator","new UiSelector().scrollable(true).instance(0)","2ad6a7e7-40a5-448e-8864-44b7e2d0b134"]
    2021-04-22 15:40:49:582 [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
    2021-04-22 15:40:49:582 [BaseDriver] Waiting up to 0 ms for condition
    2021-04-22 15:40:49:583 [WD Proxy] Matched '/element' to command name 'findElement'
    2021-04-22 15:40:49:584 [WD Proxy] Proxying [POST /element] to [POST http://localhost:8211/wd/hub/session/7f052173-c168-4e64-80b8-f43d3aac3613/element] with body: {"strategy":"-android uiautomator","selector":"new UiSelector().scrollable(true).instance(0)","context":"","multiple":false}
    2021-04-22 15:40:51:636 [WD Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8211}
    2021-04-22 15:40:51:637 [W3C (2ad6a7e7)] Encountered internal error running command: UnknownError: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to remote server. Original error: Error: connect ECONNREFUSED 127.0.0.1:8211
    2021-04-22 15:40:51:638 [W3C (2ad6a7e7)] at JWProxy.command (E:\nodejs\node_global\node_modules\appium\node_modules\appium-base-driver\lib\jsonwp-proxy\proxy.js:237:13)
    2021-04-22 15:40:51:640 [HTTP] <-- POST /wd/hub/session/2ad6a7e7-40a5-448e-8864-44b7e2d0b134/element 500 2058 ms - 588
    2021-04-22 15:40:51:641 [HTTP]
    2021-04-22 15:40:52:362 [HTTP] --> POST /wd/hub/session/2ad6a7e7-40a5-448e-8864-44b7e2d0b134/elements
    2021-04-22 15:40:52:362 [HTTP] {"using":"-android uiautomator","value":"new UiSelector().text("Settings").instance(0)"}
    2021-04-22 15:40:52:362 [W3C (2ad6a7e7)] Calling AppiumDriver.findElements() with args: ["-android uiautomator","new UiSelector().text("Settings").instance(0)","2ad6a7e7-40a5-448e-8864-44b7e2d0b134"]
    2021-04-22 15:40:52:362 [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
    2021-04-22 15:40:52:362 [BaseDriver] Waiting up to 0 ms for condition
    2021-04-22 15:40:52:364 [WD Proxy] Matched '/elements' to command name 'findElements'
    2021-04-22 15:40:52:364 [WD Proxy] Proxying [POST /elements] to [POST http://localhost:8211/wd/hub/session/7f052173-c168-4e64-80b8-f43d3aac3613/elements] with body: {"strategy":"-android uiautomator","selector":"new UiSelector().text("Settings").instance(0)","context":"","multiple":true}
    2021-04-22 15:40:54:383 [WD Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8211}
    2021-04-22 15:40:54:385 [W3C (2ad6a7e7)] Encountered internal error running command: UnknownError: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to remote server. Original error: Error: connect ECONNREFUSED 127.0.0.1:8211
    2021-04-22 15:40:54:385 [W3C (2ad6a7e7)] at JWProxy.command (E:\nodejs\node_global\node_modules\appium\node_modules\appium-base-driver\lib\jsonwp-proxy\proxy.js:237:13)
    2021-04-22 15:40:54:388 [HTTP] <-- POST /wd/hub/session/2ad6a7e7-40a5-448e-8864-44b7e2d0b134/elements 500 2024 ms - 588
    2021-04-22 15:40:54:388 [HTTP]
    2021-04-22 15:40:54:437 [HTTP] --> POST /wd/hub/session/2ad6a7e7-40a5-448e-8864-44b7e2d0b134/element
    2021-04-22 15:40:54:437 [HTTP] {"using":"-android uiautomator","value":"new UiSelector().scrollable(true).instance(0)"}
    2021-04-22 15:40:54:438 [W3C (2ad6a7e7)] Calling AppiumDriver.findElement() with args: ["-android uiautomator","new UiSelector().scrollable(true).instance(0)","2ad6a7e7-40a5-448e-8864-44b7e2d0b134"]
    2021-04-22 15:40:54:438 [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
    2021-04-22 15:40:54:438 [BaseDriver] Waiting up to 0 ms for condition
    2021-04-22 15:40:54:439 [WD Proxy] Matched '/element' to command name 'findElement'
    2021-04-22 15:40:54:439 [WD Proxy] Proxying [POST /element] to [POST http://localhost:8211/wd/hub/session/7f052173-c168-4e64-80b8-f43d3aac3613/element] with body: {"strategy":"-android uiautomator","selector":"new UiSelector().scrollable(true).instance(0)","context":"","multiple":false}
    2021-04-22 15:40:56:475 [WD Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8211}
    2021-04-22 15:40:56:476 [W3C (2ad6a7e7)] Encountered internal error running command: UnknownError: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to remote server. Original error: Error: connect ECONNREFUSED 127.0.0.1:8211
    2021-04-22 15:40:56:476 [W3C (2ad6a7e7)] at JWProxy.command (E:\nodejs\node_global\node_modules\appium\node_modules\appium-base-driver\lib\jsonwp-proxy\proxy.js:237:13)
    2021-04-22 15:40:56:477 [HTTP] <-- POST /wd/hub/session/2ad6a7e7-40a5-448e-8864-44b7e2d0b134/element 500 2040 ms - 588
    2021-04-22 15:40:56:477 [HTTP]
    2021-04-22 15:40:57:191 [HTTP] --> POST /wd/hub/session/2ad6a7e7-40a5-448e-8864-44b7e2d0b134/elements
    2021-04-22 15:40:57:191 [HTTP] {"using":"-android uiautomator","value":"new UiSelector().text("Settings").instance(0)"}
    2021-04-22 15:40:57:191 [W3C (2ad6a7e7)] Calling AppiumDriver.findElements() with args: ["-android uiautomator","new UiSelector().text("Settings").instance(0)","2ad6a7e7-40a5-448e-8864-44b7e2d0b134"]
    2021-04-22 15:40:57:192 [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
    2021-04-22 15:40:57:192 [BaseDriver] Waiting up to 0 ms for condition
    2021-04-22 15:40:57:192 [WD Proxy] Matched '/elements' to command name 'findElements'
    2021-04-22 15:40:57:192 [WD Proxy] Proxying [POST /elements] to [POST http://localhost:8211/wd/hub/session/7f052173-c168-4e64-80b8-f43d3aac3613/elements] with body: {"strategy":"-android uiautomator","selector":"new UiSelector().text("Settings").instance(0)","context":"","multiple":true}
    2021-04-22 15:40:59:242 [WD Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8211}
    2021-04-22 15:40:59:244 [W3C (2ad6a7e7)] Encountered internal error running command: UnknownError: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to remote server. Original error: Error: connect ECONNREFUSED 127.0.0.1:8211
    2021-04-22 15:40:59:244 [W3C (2ad6a7e7)] at JWProxy.command (E:\nodejs\node_global\node_modules\appium\node_modules\appium-base-driver\lib\jsonwp-proxy\proxy.js:237:13)
    2021-04-22 15:40:59:247 [HTTP] <-- POST /wd/hub/session/2ad6a7e7-40a5-448e-8864-44b7e2d0b134/elements 500 2054 ms - 588
    2021-04-22 15:40:59:247 [HTTP]
    2021-04-22 15:40:59:308 [HTTP] --> POST /wd/hub/session/2ad6a7e7-40a5-448e-8864-44b7e2d0b134/element
    2021-04-22 15:40:59:308 [HTTP] {"using":"-android uiautomator","value":"new UiSelector().scrollable(true).instance(0)"}
    2021-04-22 15:40:59:309 [W3C (2ad6a7e7)] Calling AppiumDriver.findElement() with args: ["-android uiautomator","new UiSelector().scrollable(true).instance(0)","2ad6a7e7-40a5-448e-8864-44b7e2d0b134"]
    2021-04-22 15:40:59:309 [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
    2021-04-22 15:40:59:309 [BaseDriver] Waiting up to 0 ms for condition
    2021-04-22 15:40:59:310 [WD Proxy] Matched '/element' to command name 'findElement'
    2021-04-22 15:40:59:310 [WD Proxy] Proxying [POST /element] to [POST http://localhost:8211/wd/hub/session/7f052173-c168-4e64-80b8-f43d3aac3613/element] with body: {"strategy":"-android uiautomator","selector":"new UiSelector().scrollable(true).instance(0)","context":"","multiple":false}
    2021-04-22 15:41:01:366 [WD Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8211}
    2021-04-22 15:41:01:367 [W3C (2ad6a7e7)] Encountered internal error running command: UnknownError: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to remote server. Original error: Error: connect ECONNREFUSED 127.0.0.1:8211
    2021-04-22 15:41:01:367 [W3C (2ad6a7e7)] at JWProxy.command (E:\nodejs\node_global\node_modules\appium\node_modules\appium-base-driver\lib\jsonwp-proxy\proxy.js:237:13)
    2021-04-22 15:41:01:368 [HTTP] <-- POST /wd/hub/session/2ad6a7e7-40a5-448e-8864-44b7e2d0b134/element 500 2060 ms - 588
    2021-04-22 15:41:01:368 [HTTP]
    2021-04-22 15:41:02:080 [HTTP] --> POST /wd/hub/session/2ad6a7e7-40a5-448e-8864-44b7e2d0b134/elements
    2021-04-22 15:41:02:080 [HTTP] {"using":"-android uiautomator","value":"new UiSelector().text("Settings").instance(0)"}
    2021-04-22 15:41:02:080 [W3C (2ad6a7e7)] Calling AppiumDriver.findElements() with args: ["-android uiautomator","new UiSelector().text("Settings").instance(0)","2ad6a7e7-40a5-448e-8864-44b7e2d0b134"]
    2021-04-22 15:41:02:081 [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
    2021-04-22 15:41:02:081 [BaseDriver] Waiting up to 0 ms for condition
    2021-04-22 15:41:02:081 [WD Proxy] Matched '/elements' to command name 'findElements'
    2021-04-22 15:41:02:081 [WD Proxy] Proxying [POST /elements] to [POST http://localhost:8211/wd/hub/session/7f052173-c168-4e64-80b8-f43d3aac3613/elements] with body: {"strategy":"-android uiautomator","selector":"new UiSelector().text("Settings").instance(0)","context":"","multiple":true}
    2021-04-22 15:41:04:100 [WD Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8211}
    2021-04-22 15:41:04:101 [W3C (2ad6a7e7)] Encountered internal error running command: UnknownError: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to remote server. Original error: Error: connect ECONNREFUSED 127.0.0.1:8211
    2021-04-22 15:41:04:101 [W3C (2ad6a7e7)] at JWProxy.command (E:\nodejs\node_global\node_modules\appium\node_modules\appium-base-driver\lib\jsonwp-proxy\proxy.js:237:13)
    2021-04-22 15:41:04:102 [HTTP] <-- POST /wd/hub/session/2ad6a7e7-40a5-448e-8864-44b7e2d0b134/elements 500 2021 ms - 588
    2021-04-22 15:41:04:102 [HTTP]
    2021-04-22 15:41:04:145 [HTTP] --> POST /wd/hub/session/2ad6a7e7-40a5-448e-8864-44b7e2d0b134/element
    2021-04-22 15:41:04:145 [HTTP] {"using":"-android uiautomator","value":"new UiSelector().scrollable(true).instance(0)"}
    2021-04-22 15:41:04:146 [W3C (2ad6a7e7)] Calling AppiumDriver.findElement() with args: ["-android uiautomator","new UiSelector().scrollable(true).instance(0)","2ad6a7e7-40a5-448e-8864-44b7e2d0b134"]
    2021-04-22 15:41:04:147 [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
    2021-04-22 15:41:04:147 [BaseDriver] Waiting up to 0 ms for condition
    2021-04-22 15:41:04:147 [WD Proxy] Matched '/element' to command name 'findElement'
    2021-04-22 15:41:04:147 [WD Proxy] Proxying [POST /element] to [POST http://localhost:8211/wd/hub/session/7f052173-c168-4e64-80b8-f43d3aac3613/element] with body: {"strategy":"-android uiautomator","selector":"new UiSelector().scrollable(true).instance(0)","context":"","multiple":false}
    2021-04-22 15:41:06:182 [WD Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8211}
    2021-04-22 15:41:06:184 [W3C (2ad6a7e7)] Encountered internal error running command: UnknownError: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to remote server. Original error: Error: connect ECONNREFUSED 127.0.0.1:8211
    2021-04-22 15:41:06:184 [W3C (2ad6a7e7)] at JWProxy.command (E:\nodejs\node_global\node_modules\appium\node_modules\appium-base-driver\lib\jsonwp-proxy\proxy.js:237:13)
    2021-04-22 15:41:06:186 [HTTP] <-- POST /wd/hub/session/2ad6a7e7-40a5-448e-8864-44b7e2d0b134/element 500 2040 ms - 588
    2021-04-22 15:41:06:186 [HTTP]
    2021-04-22 15:41:06:924 [HTTP] --> POST /wd/hub/session/2ad6a7e7-40a5-448e-8864-44b7e2d0b134/elements
    2021-04-22 15:41:06:924 [HTTP] {"using":"-android uiautomator","value":"new UiSelector().text("Settings").instance(0)"}
    2021-04-22 15:41:06:924 [W3C (2ad6a7e7)] Calling AppiumDriver.findElements() with args: ["-android uiautomator","new UiSelector().text("Settings").instance(0)","2ad6a7e7-40a5-448e-8864-44b7e2d0b134"]
    2021-04-22 15:41:06:925 [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
    2021-04-22 15:41:06:925 [BaseDriver] Waiting up to 0 ms for condition
    2021-04-22 15:41:06:925 [WD Proxy] Matched '/elements' to command name 'findElements'
    2021-04-22 15:41:06:925 [WD Proxy] Proxying [POST /elements] to [POST http://localhost:8211/wd/hub/session/7f052173-c168-4e64-80b8-f43d3aac3613/elements] with body: {"strategy":"-android uiautomator","selector":"new UiSelector().text("Settings").instance(0)","context":"","multiple":true}
    2021-04-22 15:41:08:960 [WD Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8211}
    2021-04-22 15:41:08:960 [W3C (2ad6a7e7)] Encountered internal error running command: UnknownError: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to remote server. Original error: Error: connect ECONNREFUSED 127.0.0.1:8211
    2021-04-22 15:41:08:960 [W3C (2ad6a7e7)] at JWProxy.command (E:\nodejs\node_global\node_modules\appium\node_modules\appium-base-driver\lib\jsonwp-proxy\proxy.js:237:13)
    2021-04-22 15:41:08:961 [HTTP] <-- POST /wd/hub/session/2ad6a7e7-40a5-448e-8864-44b7e2d0b134/elements 500 2037 ms - 588
    2021-04-22 15:41:08:961 [HTTP]
    2021-04-22 15:41:08:996 [HTTP] --> POST /wd/hub/session/2ad6a7e7-40a5-448e-8864-44b7e2d0b134/element
    2021-04-22 15:41:08:996 [HTTP] {"using":"-android uiautomator","value":"new UiSelector().scrollable(true).instance(0)"}
    2021-04-22 15:41:08:998 [W3C (2ad6a7e7)] Calling AppiumDriver.findElement() with args: ["-android uiautomator","new UiSelector().scrollable(true).instance(0)","2ad6a7e7-40a5-448e-8864-44b7e2d0b134"]
    2021-04-22 15:41:08:999 [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
    2021-04-22 15:41:08:999 [BaseDriver] Waiting up to 0 ms for condition
    2021-04-22 15:41:08:999 [WD Proxy] Matched '/element' to command name 'findElement'
    2021-04-22 15:41:08:999 [WD Proxy] Proxying [POST /element] to [POST http://localhost:8211/wd/hub/session/7f052173-c168-4e64-80b8-f43d3aac3613/element] with body: {"strategy":"-android uiautomator","selector":"new UiSelector().scrollable(true).instance(0)","context":"","multiple":false}
    2021-04-22 15:41:11:031 [WD Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8211}
    2021-04-22 15:41:11:031 [W3C (2ad6a7e7)] Encountered internal error running command: UnknownError: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to remote server. Original error: Error: connect ECONNREFUSED 127.0.0.1:8211
    2021-04-22 15:41:11:031 [W3C (2ad6a7e7)] at JWProxy.command (E:\nodejs\node_global\node_modules\appium\node_modules\appium-base-driver\lib\jsonwp-proxy\proxy.js:237:13)
    2021-04-22 15:41:11:032 [HTTP] <-- POST /wd/hub/session/2ad6a7e7-40a5-448e-8864-44b7e2d0b134/element 500 2036 ms - 588
    2021-04-22 15:41:11:032 [HTTP]
    2021-04-22 15:41:11:738 [HTTP] --> POST /wd/hub/session/2ad6a7e7-40a5-448e-8864-44b7e2d0b134/elements
    2021-04-22 15:41:11:738 [HTTP] {"using":"-android uiautomator","value":"new UiSelector().text("Settings").instance(0)"}
    2021-04-22 15:41:11:739 [W3C (2ad6a7e7)] Calling AppiumDriver.findElements() with args: ["-android uiautomator","new UiSelector().text("Settings").instance(0)","2ad6a7e7-40a5-448e-8864-44b7e2d0b134"]
    2021-04-22 15:41:11:739 [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
    2021-04-22 15:41:11:739 [BaseDriver] Waiting up to 0 ms for condition
    2021-04-22 15:41:11:739 [WD Proxy] Matched '/elements' to command name 'findElements'
    2021-04-22 15:41:11:740 [WD Proxy] Proxying [POST /elements] to [POST http://localhost:8211/wd/hub/session/7f052173-c168-4e64-80b8-f43d3aac3613/elements] with body: {"strategy":"-android uiautomator","selector":"new UiSelector().text("Settings").instance(0)","context":"","multiple":true}
    2021-04-22 15:41:13:787 [WD Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8211}
    2021-04-22 15:41:13:788 [W3C (2ad6a7e7)] Encountered internal error running command: UnknownError: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to remote server. Original error: Error: connect ECONNREFUSED 127.0.0.1:8211
    2021-04-22 15:41:13:788 [W3C (2ad6a7e7)] at JWProxy.command (E:\nodejs\node_global\node_modules\appium\node_modules\appium-base-driver\lib\jsonwp-proxy\proxy.js:237:13)
    2021-04-22 15:41:13:789 [HTTP] <-- POST /wd/hub/session/2ad6a7e7-40a5-448e-8864-44b7e2d0b134/elements 500 2050 ms - 588
    2021-04-22 15:41:13:789 [HTTP]
    2021-04-22 15:41:13:814 [HTTP] --> POST /wd/hub/session/2ad6a7e7-40a5-448e-8864-44b7e2d0b134/element
    2021-04-22 15:41:13:814 [HTTP] {"using":"-android uiautomator","value":"new UiSelector().scrollable(true).instance(0)"}
    2021-04-22 15:41:13:815 [W3C (2ad6a7e7)] Calling AppiumDriver.findElement() with args: ["-android uiautomator","new UiSelector().scrollable(true).instance(0)","2ad6a7e7-40a5-448e-8864-44b7e2d0b134"]
    2021-04-22 15:41:13:815 [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
    2021-04-22 15:41:13:815 [BaseDriver] Waiting up to 0 ms for condition
    2021-04-22 15:41:13:815 [WD Proxy] Matched '/element' to command name 'findElement'
    2021-04-22 15:41:13:815 [WD Proxy] Proxying [POST /element] to [POST http://localhost:8211/wd/hub/session/7f052173-c168-4e64-80b8-f43d3aac3613/element] with body: {"strategy":"-android uiautomator","selector":"new UiSelector().scrollable(true).instance(0)","context":"","multiple":false}
    2021-04-22 15:41:15:850 [WD Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8211}
    2021-04-22 15:41:15:852 [W3C (2ad6a7e7)] Encountered internal error running command: UnknownError: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to remote server. Original error: Error: connect ECONNREFUSED 127.0.0.1:8211
    2021-04-22 15:41:15:852 [W3C (2ad6a7e7)] at JWProxy.command (E:\nodejs\node_global\node_modules\appium\node_modules\appium-base-driver\lib\jsonwp-proxy\proxy.js:237:13)
    2021-04-22 15:41:15:853 [HTTP] <-- POST /wd/hub/session/2ad6a7e7-40a5-448e-8864-44b7e2d0b134/element 500 2038 ms - 588
    2021-04-22 15:41:15:853 [HTTP]
    2021-04-22 15:41:16:564 [HTTP] --> POST /wd/hub/session/2ad6a7e7-40a5-448e-8864-44b7e2d0b134/elements
    2021-04-22 15:41:16:565 [HTTP] {"using":"-android uiautomator","value":"new UiSelector().text("Settings").instance(0)"}
    2021-04-22 15:41:16:565 [W3C (2ad6a7e7)] Calling AppiumDriver.findElements() with args: ["-android uiautomator","new UiSelector().text("Settings").instance(0)","2ad6a7e7-40a5-448e-8864-44b7e2d0b134"]
    2021-04-22 15:41:16:565 [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
    2021-04-22 15:41:16:565 [BaseDriver] Waiting up to 0 ms for condition
    2021-04-22 15:41:16:566 [WD Proxy] Matched '/elements' to command name 'findElements'
    2021-04-22 15:41:16:566 [WD Proxy] Proxying [POST /elements] to [POST http://localhost:8211/wd/hub/session/7f052173-c168-4e64-80b8-f43d3aac3613/elements] with body: {"strategy":"-android uiautomator","selector":"new UiSelector().text("Settings").instance(0)","context":"","multiple":true}
    2021-04-22 15:41:18:616 [WD Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8211}
    2021-04-22 15:41:18:617 [W3C (2ad6a7e7)] Encountered internal error running command: UnknownError: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to remote server. Original error: Error: connect ECONNREFUSED 127.0.0.1:8211
    2021-04-22 15:41:18:617 [W3C (2ad6a7e7)] at JWProxy.command (E:\nodejs\node_global\node_modules\appium\node_modules\appium-base-driver\lib\jsonwp-proxy\proxy.js:237:13)
    2021-04-22 15:41:18:618 [HTTP] <-- POST /wd/hub/session/2ad6a7e7-40a5-448e-8864-44b7e2d0b134/elements 500 2053 ms - 588
    2021-04-22 15:41:18:618 [HTTP]
    2021-04-22 15:41:18:650 [HTTP] --> POST /wd/hub/session/2ad6a7e7-40a5-448e-8864-44b7e2d0b134/element
    2021-04-22 15:41:18:651 [HTTP] {"using":"-android uiautomator","value":"new UiSelector().scrollable(true).instance(0)"}
    2021-04-22 15:41:18:651 [W3C (2ad6a7e7)] Calling AppiumDriver.findElement() with args: ["-android uiautomator","new UiSelector().scrollable(true).instance(0)","2ad6a7e7-40a5-448e-8864-44b7e2d0b134"]
    2021-04-22 15:41:18:651 [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
    2021-04-22 15:41:18:651 [BaseDriver] Waiting up to 0 ms for condition
    2021-04-22 15:41:18:652 [WD Proxy] Matched '/element' to command name 'findElement'
    2021-04-22 15:41:18:652 [WD Proxy] Proxying [POST /element] to [POST http://localhost:8211/wd/hub/session/7f052173-c168-4e64-80b8-f43d3aac3613/element] with body: {"strategy":"-android uiautomator","selector":"new UiSelector().scrollable(true).instance(0)","context":"","multiple":false}
    2021-04-22 15:41:20:679 [WD Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8211}
    2021-04-22 15:41:20:680 [W3C (2ad6a7e7)] Encountered internal error running command: UnknownError: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to remote server. Original error: Error: connect ECONNREFUSED 127.0.0.1:8211
    2021-04-22 15:41:20:680 [W3C (2ad6a7e7)] at JWProxy.command (E:\nodejs\node_global\node_modules\appium\node_modules\appium-base-driver\lib\jsonwp-proxy\proxy.js:237:13)
    2021-04-22 15:41:20:681 [HTTP] <-- POST /wd/hub/session/2ad6a7e7-40a5-448e-8864-44b7e2d0b134/element 500 2030 ms - 588
    2021-04-22 15:41:20:682 [HTTP]
    2021-04-22 15:41:21:471 [HTTP] --> POST /wd/hub/session/2ad6a7e7-40a5-448e-8864-44b7e2d0b134/elements
    2021-04-22 15:41:21:471 [HTTP] {"using":"-android uiautomator","value":"new UiSelector().text("Settings").instance(0)"}
    2021-04-22 15:41:21:471 [W3C (2ad6a7e7)] Calling AppiumDriver.findElements() with args: ["-android uiautomator","new UiSelector().text("Settings").instance(0)","2ad6a7e7-40a5-448e-8864-44b7e2d0b134"]
    2021-04-22 15:41:21:471 [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
    2021-04-22 15:41:21:471 [BaseDriver] Waiting up to 0 ms for condition
    2021-04-22 15:41:21:472 [WD Proxy] Matched '/elements' to command name 'findElements'
    2021-04-22 15:41:21:472 [WD Proxy] Proxying [POST /elements] to [POST http://localhost:8211/wd/hub/session/7f052173-c168-4e64-80b8-f43d3aac3613/elements] with body: {"strategy":"-android uiautomator","selector":"new UiSelector().text("Settings").instance(0)","context":"","multiple":true}
    2021-04-22 15:41:23:477 [WD Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8211}
    2021-04-22 15:41:23:478 [W3C (2ad6a7e7)] Encountered internal error running command: UnknownError: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to remote server. Original error: Error: connect ECONNREFUSED 127.0.0.1:8211
    2021-04-22 15:41:23:479 [W3C (2ad6a7e7)] at JWProxy.command (E:\nodejs\node_global\node_modules\appium\node_modules\appium-base-driver\lib\jsonwp-proxy\proxy.js:237:13)
    2021-04-22 15:41:23:480 [HTTP] <-- POST /wd/hub/session/2ad6a7e7-40a5-448e-8864-44b7e2d0b134/elements 500 2009 ms - 588
    2021-04-22 15:41:23:481 [HTTP]
    2021-04-22 15:41:23:519 [HTTP] --> POST /wd/hub/session/2ad6a7e7-40a5-448e-8864-44b7e2d0b134/element
    2021-04-22 15:41:23:519 [HTTP] {"using":"-android uiautomator","value":"new UiSelector().scrollable(true).instance(0)"}
    2021-04-22 15:41:23:520 [W3C (2ad6a7e7)] Calling AppiumDriver.findElement() with args: ["-android uiautomator","new UiSelector().scrollable(true).instance(0)","2ad6a7e7-40a5-448e-8864-44b7e2d0b134"]
    2021-04-22 15:41:23:520 [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
    2021-04-22 15:41:23:521 [BaseDriver] Waiting up to 0 ms for condition
    2021-04-22 15:41:23:521 [WD Proxy] Matched '/element' to command name 'findElement'
    2021-04-22 15:41:23:522 [WD Proxy] Proxying [POST /element] to [POST http://localhost:8211/wd/hub/session/7f052173-c168-4e64-80b8-f43d3aac3613/element] with body: {"strategy":"-android uiautomator","selector":"new UiSelector().scrollable(true).instance(0)","context":"","multiple":false}
    2021-04-22 15:41:25:569 [WD Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8211}
    2021-04-22 15:41:25:570 [W3C (2ad6a7e7)] Encountered internal error running command: UnknownError: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to remote server. Original error: Error: connect ECONNREFUSED 127.0.0.1:8211
    2021-04-22 15:41:25:570 [W3C (2ad6a7e7)] at JWProxy.command (E:\nodejs\node_global\node_modules\appium\node_modules\appium-base-driver\lib\jsonwp-proxy\proxy.js:237:13)
    2021-04-22 15:41:25:570 [HTTP] <-- POST /wd/hub/session/2ad6a7e7-40a5-448e-8864-44b7e2d0b134/element 500 2051 ms - 588
    2021-04-22 15:41:25:570 [HTTP]
    2021-04-22 15:41:26:314 [HTTP] --> POST /wd/hub/session/2ad6a7e7-40a5-448e-8864-44b7e2d0b134/elements
    2021-04-22 15:41:26:314 [HTTP] {"using":"-android uiautomator","value":"new UiSelector().text("Settings").instance(0)"}
    2021-04-22 15:41:26:314 [W3C (2ad6a7e7)] Calling AppiumDriver.findElements() with args: ["-android uiautomator","new UiSelector().text("Settings").instance(0)","2ad6a7e7-40a5-448e-8864-44b7e2d0b134"]
    2021-04-22 15:41:26:314 [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
    2021-04-22 15:41:26:314 [BaseDriver] Waiting up to 0 ms for condition
    2021-04-22 15:41:26:315 [WD Proxy] Matched '/elements' to command name 'findElements'
    2021-04-22 15:41:26:316 [WD Proxy] Proxying [POST /elements] to [POST http://localhost:8211/wd/hub/session/7f052173-c168-4e64-80b8-f43d3aac3613/elements] with body: {"strategy":"-android uiautomator","selector":"new UiSelector().text("Settings").instance(0)","context":"","multiple":true}
    2021-04-22 15:41:28:334 [WD Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8211}
    2021-04-22 15:41:28:335 [W3C (2ad6a7e7)] Encountered internal error running command: UnknownError: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to remote server. Original error: Error: connect ECONNREFUSED 127.0.0.1:8211
    2021-04-22 15:41:28:335 [W3C (2ad6a7e7)] at JWProxy.command (E:\nodejs\node_global\node_modules\appium\node_modules\appium-base-driver\lib\jsonwp-proxy\proxy.js:237:13)
    2021-04-22 15:41:28:335 [HTTP] <-- POST /wd/hub/session/2ad6a7e7-40a5-448e-8864-44b7e2d0b134/elements 500 2021 ms - 588
    2021-04-22 15:41:28:335 [HTTP]
    2021-04-22 15:41:28:362 [HTTP] --> POST /wd/hub/session/2ad6a7e7-40a5-448e-8864-44b7e2d0b134/element
    2021-04-22 15:41:28:362 [HTTP] {"using":"-android uiautomator","value":"new UiSelector().scrollable(true).instance(0)"}
    2021-04-22 15:41:28:362 [W3C (2ad6a7e7)] Calling AppiumDriver.findElement() with args: ["-android uiautomator","new UiSelector().scrollable(true).instance(0)","2ad6a7e7-40a5-448e-8864-44b7e2d0b134"]
    2021-04-22 15:41:28:363 [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
    2021-04-22 15:41:28:363 [BaseDriver] Waiting up to 0 ms for condition
    2021-04-22 15:41:28:363 [WD Proxy] Matched '/element' to command name 'findElement'
    2021-04-22 15:41:28:363 [WD Proxy] Proxying [POST /element] to [POST http://localhost:8211/wd/hub/session/7f052173-c168-4e64-80b8-f43d3aac3613/element] with body: {"strategy":"-android uiautomator","selector":"new UiSelector().scrollable(true).instance(0)","context":"","multiple":false}
    2021-04-22 15:41:30:398 [WD Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8211}
    2021-04-22 15:41:30:400 [W3C (2ad6a7e7)] Encountered internal error running command: UnknownError: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to remote server. Original error: Error: connect ECONNREFUSED 127.0.0.1:8211
    2021-04-22 15:41:30:400 [W3C (2ad6a7e7)] at JWProxy.command (E:\nodejs\node_global\node_modules\appium\node_modules\appium-base-driver\lib\jsonwp-proxy\proxy.js:237:13)
    2021-04-22 15:41:30:402 [HTTP] <-- POST /wd/hub/session/2ad6a7e7-40a5-448e-8864-44b7e2d0b134/element 500 2039 ms - 588
    2021-04-22 15:41:30:402 [HTTP]
    2021-04-22 15:41:31:127 [HTTP] --> POST /wd/hub/session/2ad6a7e7-40a5-448e-8864-44b7e2d0b134/elements
    2021-04-22 15:41:31:127 [HTTP] {"using":"-android uiautomator","value":"new UiSelector().text("Settings").instance(0)"}
    2021-04-22 15:41:31:128 [W3C (2ad6a7e7)] Calling AppiumDriver.findElements() with args: ["-android uiautomator","new UiSelector().text("Settings").instance(0)","2ad6a7e7-40a5-448e-8864-44b7e2d0b134"]
    2021-04-22 15:41:31:128 [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
    2021-04-22 15:41:31:128 [BaseDriver] Waiting up to 0 ms for condition
    2021-04-22 15:41:31:129 [WD Proxy] Matched '/elements' to command name 'findElements'
    2021-04-22 15:41:31:129 [WD Proxy] Proxying [POST /elements] to [POST http://localhost:8211/wd/hub/session/7f052173-c168-4e64-80b8-f43d3aac3613/elements] with body: {"strategy":"-android uiautomator","selector":"new UiSelector().text("Settings").instance(0)","context":"","multiple":true}
    2021-04-22 15:41:33:164 [WD Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8211}
    2021-04-22 15:41:33:166 [W3C (2ad6a7e7)] Encountered internal error running command: UnknownError: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to remote server. Original error: Error: connect ECONNREFUSED 127.0.0.1:8211
    2021-04-22 15:41:33:166 [W3C (2ad6a7e7)] at JWProxy.command (E:\nodejs\node_global\node_modules\appium\node_modules\appium-base-driver\lib\jsonwp-proxy\proxy.js:237:13)
    2021-04-22 15:41:33:168 [HTTP] <-- POST /wd/hub/session/2ad6a7e7-40a5-448e-8864-44b7e2d0b134/elements 500 2040 ms - 588
    2021-04-22 15:41:33:168 [HTTP]
    2021-04-22 15:41:33:225 [HTTP] --> POST /wd/hub/session/2ad6a7e7-40a5-448e-8864-44b7e2d0b134/element
    2021-04-22 15:41:33:225 [HTTP] {"using":"-android uiautomator","value":"new UiSelector().scrollable(true).instance(0)"}
    2021-04-22 15:41:33:226 [W3C (2ad6a7e7)] Calling AppiumDriver.findElement() with args: ["-android uiautomator","new UiSelector().scrollable(true).instance(0)","2ad6a7e7-40a5-448e-8864-44b7e2d0b134"]
    2021-04-22 15:41:33:226 [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
    2021-04-22 15:41:33:226 [BaseDriver] Waiting up to 0 ms for condition
    2021-04-22 15:41:33:227 [WD Proxy] Matched '/element' to command name 'findElement'
    2021-04-22 15:41:33:227 [WD Proxy] Proxying [POST /element] to [POST http://localhost:8211/wd/hub/session/7f052173-c168-4e64-80b8-f43d3aac3613/element] with body: {"strategy":"-android uiautomator","selector":"new UiSelector().scrollable(true).instance(0)","context":"","multiple":false}
    2021-04-22 15:41:35:258 [WD Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8211}
    2021-04-22 15:41:35:259 [W3C (2ad6a7e7)] Encountered internal error running command: UnknownError: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to remote server. Original error: Error: connect ECONNREFUSED 127.0.0.1:8211
    2021-04-22 15:41:35:260 [W3C (2ad6a7e7)] at JWProxy.command (E:\nodejs\node_global\node_modules\appium\node_modules\appium-base-driver\lib\jsonwp-proxy\proxy.js:237:13)
    2021-04-22 15:41:35:262 [HTTP] <-- POST /wd/hub/session/2ad6a7e7-40a5-448e-8864-44b7e2d0b134/element 500 2036 ms - 588
    2021-04-22 15:41:35:262 [HTTP]
    2021-04-22 15:41:35:311 [HTTP] --> POST /wd/hub/session/2ad6a7e7-40a5-448e-8864-44b7e2d0b134/element
    2021-04-22 15:41:35:311 [HTTP] {"using":"-android uiautomator","value":"new UiSelector().text("Settings").instance(0)"}
    2021-04-22 15:41:35:312 [W3C (2ad6a7e7)] Calling AppiumDriver.findElement() with args: ["-android uiautomator","new UiSelector().text("Settings").instance(0)","2ad6a7e7-40a5-448e-8864-44b7e2d0b134"]
    2021-04-22 15:41:35:312 [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
    2021-04-22 15:41:35:313 [BaseDriver] Waiting up to 0 ms for condition
    2021-04-22 15:41:35:315 [WD Proxy] Matched '/element' to command name 'findElement'
    2021-04-22 15:41:35:315 [WD Proxy] Proxying [POST /element] to [POST http://localhost:8211/wd/hub/session/7f052173-c168-4e64-80b8-f43d3aac3613/element] with body: {"strategy":"-android uiautomator","selector":"new UiSelector().text("Settings").instance(0)","context":"","multiple":false}
    2021-04-22 15:41:37:351 [WD Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8211}
    2021-04-22 15:41:37:351 [W3C (2ad6a7e7)] Encountered internal error running command: UnknownError: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to remote server. Original error: Error: connect ECONNREFUSED 127.0.0.1:8211
    2021-04-22 15:41:37:351 [W3C (2ad6a7e7)] at JWProxy.command (E:\nodejs\node_global\node_modules\appium\node_modules\appium-base-driver\lib\jsonwp-proxy\proxy.js:237:13)
    2021-04-22 15:41:37:352 [HTTP] <-- POST /wd/hub/session/2ad6a7e7-40a5-448e-8864-44b7e2d0b134/element 500 2041 ms - 588
    2021-04-22 15:41:37:352 [HTTP]
    2021-04-22 15:41:37:366 [HTTP] --> GET /wd/hub/session/2ad6a7e7-40a5-448e-8864-44b7e2d0b134/appium/device/current_activity
    2021-04-22 15:41:37:366 [HTTP] {}
    2021-04-22 15:41:37:366 [W3C (2ad6a7e7)] Calling AppiumDriver.getCurrentActivity() with args: ["2ad6a7e7-40a5-448e-8864-44b7e2d0b134"]
    2021-04-22 15:41:37:366 [ADB] Getting focused package and activity
    2021-04-22 15:41:37:367 [ADB] Running 'C:\Users\admin\AppData\Local\Android\sdk\platform-tools\adb.exe -P 4831 -s 172.25.77.142:49110 shell dumpsys window windows'
    2021-04-22 15:41:37:444 [ADB] Error sending command, reconnecting device and retrying: shell,dumpsys,window,windows
    2021-04-22 15:41:38:467 [ADB] Trying to find a connected android device
    2021-04-22 15:41:38:468 [ADB] Getting connected devices...
    2021-04-22 15:41:38:565 [ADB] 1 device(s) connected
    2021-04-22 15:41:38:576 [W3C (2ad6a7e7)] Encountered internal error running command: Error: Could not get focusPackageAndActivity. Original error: Error executing adbExec. Original error: 'Command 'C:\Users\admin\AppData\Local\Android\sdk\platform-tools\adb.exe -P 4831 -s 172.25.77.142:49110 shell dumpsys window windows' exited with code 1'; Stderr: 'error: device '172.25.77.142:49110' not found'; Code: '1'
    2021-04-22 15:41:38:576 [W3C (2ad6a7e7)] at ADB. (E:\nodejs\node_global\node_modules\appium\node_modules\appium-adb\lib\tools\apk-utils.js:214:11)
    2021-04-22 15:41:38:576 [W3C (2ad6a7e7)] at Generator.throw ()
    2021-04-22 15:41:38:576 [W3C (2ad6a7e7)] at asyncGeneratorStep (E:\nodejs\node_global\node_modules\appium\node_modules@babel\runtime\helpers\asyncToGenerator.js:3:24)
    2021-04-22 15:41:38:576 [W3C (2ad6a7e7)] at _throw (E:\nodejs\node_global\node_modules\appium\node_modules@babel\runtime\helpers\asyncToGenerator.js:29:9)
    2021-04-22 15:41:38:582 [HTTP] <-- GET /wd/hub/session/2ad6a7e7-40a5-448e-8864-44b7e2d0b134/appium/device/current_activity 500 1208 ms - 1221
    2021-04-22 15:41:38:582 [HTTP]

    ##LogCat

    04-22 14:39:32.582 I/appium (11856): find element command using '-android uiautomator' with selector 'new UiSelector().text("Settings").instance(0)'.

    04-22 14:39:32.587 W/ResourceType( 1034): No known package when getting name for resource number 0x9c030000

    04-22 14:39:32.588 W/ResourceType( 1034): No known package when getting name for resource number 0x9c030100

    04-22 14:39:32.588 W/ResourceType( 1034): No known package when getting name for resource number 0x9c030200

    04-22 14:39:32.588 W/ResourceType( 1034): No known package when getting name for resource number 0x9c030001

    04-22 14:39:32.588 W/ResourceType( 1034): No known package when getting name for resource number 0x9c030002

    04-22 14:39:32.589 W/ResourceType( 1034): No known package when getting name for resource number 0x9c020000

    04-22 14:39:32.589 W/ResourceType( 1034): No known package when getting name for resource number 0x9c020100

    04-22 14:39:32.590 W/ResourceType( 1034): No known package when getting name for resource number 0x9c020200

    04-22 14:39:32.590 W/ResourceType( 1034): No known package when getting name for resource number 0x9c020300

    04-22 14:39:32.590 W/ResourceType( 1034): No known package when getting name for resource number 0x9c020001

    04-22 14:39:32.591 W/ResourceType( 1034): No known package when getting name for resource number 0x9c020101

    04-22 14:39:32.591 W/ResourceType( 1034): No known package when getting name for resource number 0x9c020201

    04-22 14:39:32.591 W/ResourceType( 1034): No known package when getting name for resource number 0x9c020301

    04-22 14:39:32.592 W/ResourceType( 1034): No known package when getting name for resource number 0x9c020202

    04-22 14:39:32.592 W/ResourceType( 1034): No known package when getting name for resource number 0x9c020302

    04-22 14:39:32.605 I/appium (11856): AppiumResponse: {"sessionId":"7f052173-c168-4e64-80b8-f43d3aac3613","status":6,"value":"io.appium.uiautomator2.common.exceptions.NoSuchDriverException: A session is either terminated or not started\n\tat io.appium.uiautomator2.model.AppiumUIA2Driver.getSessionOrThrow(AppiumUIA2Driver.java:54)\n\tat io.appium.uiautomator2.handler.FindElements.fetchElements(FindElements.java:190)\n\tat io.appium.uiautomator2.handler.FindElements.getUiObjectsUsingAutomator(FindElements.java:168)\n\tat io.appium.uiautomator2.handler.FindElements.findElements(FindElements.java:123)\n\tat io.appium.uiautomator2.handler.FindElements.safeHandle(FindElements.java:81)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:37)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:252)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:243)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:44)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)\n\tat io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)\n\tat io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:102)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)\n\tat io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)\n\tat io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelRead(CombinedChannelDuplexHandler.java:435)\n\tat io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:293)\n\tat io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:267)\n\tat io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:250)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)\n\tat io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)\n\tat io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1294)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)\n\tat io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:911)\n\tat io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:131)\n\tat io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:611)\n\tat io.netty.channel.nio.NioEventLoop.processSelectedKeysPlain(NioEventLoop.java:514)\n\tat io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:468)\n\tat io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:438)\n\tat io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:140)\n\tat io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:144)\n\tat java.lang.Thread.run(Thread.java:818)\n"}

    04-22 14:39:32.658 I/appium (11856): channel read invoked!

    04-22 14:39:32.658 I/appium (11856): channel read: POST /wd/hub/session/7f052173-c168-4e64-80b8-f43d3aac3613/element

    04-22 14:39:32.658 I/appium (11856): Find element command

    04-22 14:39:32.659 I/appium (11856): find element command using '-android uiautomator' with selector 'new UiSelector().scrollable(true).instance(0)'.

    04-22 14:39:32.669 W/ResourceType( 1034): No known package when getting name for resource number 0x9c030000

    04-22 14:39:32.669 W/ResourceType( 1034): No known package when getting name for resource number 0x9c030100

    04-22 14:39:32.669 W/ResourceType( 1034): No known package when getting name for resource number 0x9c030200

    04-22 14:39:32.669 W/ResourceType( 1034): No known package when getting name for resource number 0x9c030001

    04-22 14:39:32.670 W/ResourceType( 1034): No known package when getting name for resource number 0x9c030002

    04-22 14:39:32.671 W/ResourceType( 1034): No known package when getting name for resource number 0x9c020000

    04-22 14:39:32.671 W/ResourceType( 1034): No known package when getting name for resource number 0x9c020100

    04-22 14:39:32.671 W/ResourceType( 1034): No known package when getting name for resource number 0x9c020200

    04-22 14:39:32.671 W/ResourceType( 1034): No known package when getting name for resource number 0x9c020300

    Sorry, but like I said we do not provide any patches to older Appium releases. This version is several years old. Nothing is going to be fixed there even if an issue exists. You could either upgrade to the latest or consider forking it and fixing everything you want.

    thanks for your reply. Can you confirm that there are no similar problems in the new version?

    Of course I cannot. It is open source - no guarantees.

    I updated appium to the latest version and also found this error

    ##Appium Log####
    2021-04-23 15:10:44:519 [Appium] Welcome to Appium v1.20.2
    2021-04-23 15:10:44:520 [Appium] Non-default server args:
    2021-04-23 15:10:44:520 [Appium] port: 4499
    2021-04-23 15:10:44:520 [Appium] sessionOverride: true
    2021-04-23 15:10:44:520 [Appium] logFile: ./appiumLog/appium_CheetahCase_DSFA.log
    2021-04-23 15:10:44:520 [Appium] loglevel: error:debug
    2021-04-23 15:10:44:520 [Appium] logTimestamp: true
    2021-04-23 15:10:44:521 [Appium] localTimezone: true
    2021-04-23 15:10:45:110 [Appium] Appium REST http interface listener started on 0.0.0.0:4499
    2021-04-23 15:11:13:208 [HTTP] --> POST /wd/hub/session
    2021-04-23 15:11:13:208 [HTTP] {"desiredCapabilities":{"allowInvisibleElements":true,"noSign":true,"adbPort":5090,"deviceName":"172.25.76.104:49110","ignoreUnimportantViews":false,"appWaitDuration":40000,"newCommandTimeout":864000,"adbExecTimeout":120000,"platformVersion":"6.0","automationName":"UiAutomator2","unicodeKeyboard":true,"platformName":"Android","udid":"172.25.76.104:49110","resetKeyboard":true,"systemPort":"8294"},"capabilities":{"firstMatch":[{"adbExecTimeout":120000,"appium:adbPort":5090,"allowInvisibleElements":true,"appium:appWaitDuration":40000,"appium:automationName":"UiAutomator2","appium:deviceName":"172.25.76.104:49110","appium:ignoreUnimportantViews":false,"appium:newCommandTimeout":864000,"appium:noSign":true,"platformName":"android","appium:platformVersion":"6.0","appium:resetKeyboard":true,"appium:systemPort":"8294","appium:udid":"172.25.76.104:49110","appium:unicodeKeyboard":true}]}}
    2021-04-23 15:11:13:210 [W3C] Calling AppiumDriver.createSession() with args: [{"allowInvisibleElements":true,"noSign":true,"adbPort":5090,"deviceName":"172.25.76.104:49110","ignoreUnimportantViews":false,"appWaitDuration":40000,"newCommandTimeout":864000,"adbExecTimeout":120000,"platformVersion":"6.0","automationName":"UiAutomator2","unicodeKeyboard":true,"platformName":"Android","udid":"172.25.76.104:49110","resetKeyboard":true,"systemPort":"8294"},null,{"firstMatch":[{"adbExecTimeout":120000,"appium:adbPort":5090,"allowInvisibleElements":true,"appium:appWaitDuration":40000,"appium:automationName":"UiAutomator2","appium:deviceName":"172.25.76.104:49110","appium:ignoreUnimportantViews":false,"appium:newCommandTimeout":864000,"appium:noSign":true,"platformName":"android","appium:platformVersion":"6.0","appium:resetKeyboard":true,"appium:systemPort":"8294","appium:udid":"172.25.76.104:49110","appium:unicodeKeyboard":true}]}]
    2021-04-23 15:11:13:210 [BaseDriver] Event 'newSessionRequested' logged at 1619161873210 (15:11:13 GMT+0800 (涓浗鏍囧噯鏃堕棿))
    2021-04-23 15:11:13:212 [BaseDriver] The following capabilities are not standard capabilities and should have an extension prefix:
    2021-04-23 15:11:13:212 [BaseDriver] adbExecTimeout
    2021-04-23 15:11:13:212 [BaseDriver] allowInvisibleElements
    2021-04-23 15:11:13:703 [Appium] Appium v1.20.2 creating new AndroidUiautomator2Driver (v1.61.2) session
    2021-04-23 15:11:13:703 [Appium] There are no active sessions for cleanup
    2021-04-23 15:11:13:706 [BaseDriver] W3C capabilities and MJSONWP desired capabilities were provided
    2021-04-23 15:11:13:706 [BaseDriver] Creating session with W3C capabilities: {
    2021-04-23 15:11:13:706 [BaseDriver] "alwaysMatch": {
    2021-04-23 15:11:13:706 [BaseDriver] "appium:adbExecTimeout": 120000,
    2021-04-23 15:11:13:706 [BaseDriver] "appium:allowInvisibleElements": true,
    2021-04-23 15:11:13:706 [BaseDriver] "platformName": "android",
    2021-04-23 15:11:13:706 [BaseDriver] "appium:adbPort": 5090,
    2021-04-23 15:11:13:706 [BaseDriver] "appium:appWaitDuration": 40000,
    2021-04-23 15:11:13:706 [BaseDriver] "appium:automationName": "UiAutomator2",
    2021-04-23 15:11:13:706 [BaseDriver] "appium:deviceName": "172.25.76.104:49110",
    2021-04-23 15:11:13:706 [BaseDriver] "appium:ignoreUnimportantViews": false,
    2021-04-23 15:11:13:706 [BaseDriver] "appium:newCommandTimeout": 864000,
    2021-04-23 15:11:13:706 [BaseDriver] "appium:noSign": true,
    2021-04-23 15:11:13:706 [BaseDriver] "appium:platformVersion": "6.0",
    2021-04-23 15:11:13:706 [BaseDriver] "appium:resetKeyboard": true,
    2021-04-23 15:11:13:707 [BaseDriver] "appium:systemPort": "8294",
    2021-04-23 15:11:13:707 [BaseDriver] "appium:udid": "172.25.76.104:49110",
    2021-04-23 15:11:13:707 [BaseDriver] "appium:unicodeKeyboard": true
    2021-04-23 15:11:13:707 [BaseDriver] },
    2021-04-23 15:11:13:707 [BaseDriver] "firstMatch": [
    2021-04-23 15:11:13:707 [BaseDriver] {}
    2021-04-23 15:11:13:707 [BaseDriver] ]
    2021-04-23 15:11:13:707 [BaseDriver] }
    2021-04-23 15:11:13:708 [BaseDriver] Number capability passed in as string. Functionality may be compromised.
    2021-04-23 15:11:13:710 [BaseDriver] Capability 'systemPort' changed from string ('8294') to integer (8294). This may cause unexpected behavior
    2021-04-23 15:11:13:711 [BaseDriver] The following capabilities were provided, but are not recognized by Appium:
    2021-04-23 15:11:13:711 [BaseDriver] allowInvisibleElements
    2021-04-23 15:11:13:712 [BaseDriver] ignoreUnimportantViews
    2021-04-23 15:11:13:712 [BaseDriver] Session created with session id: 4426039e-a9d3-425b-9dba-7ac2484d9576
    2021-04-23 15:11:13:712 [UiAutomator2] Neither 'app' nor 'appPackage' was set. Starting UiAutomator2 without the target application
    2021-04-23 15:11:13:728 [ADB] Found 2 'build-tools' folders under 'C:\Users\wuxiaojun\AppData\Local\Android\sdk' (newest first):
    2021-04-23 15:11:13:728 [ADB] C:/Users/wuxiaojun/AppData/Local/Android/sdk/build-tools/28.0.3
    2021-04-23 15:11:13:728 [ADB] C:/Users/wuxiaojun/AppData/Local/Android/sdk/build-tools/23.0.3
    2021-04-23 15:11:13:728 [ADB] Using 'adb.exe' from 'C:\Users\wuxiaojun\AppData\Local\Android\sdk\platform-tools\adb.exe'
    2021-04-23 15:11:13:728 [ADB] Running 'C:\Users\wuxiaojun\AppData\Local\Android\sdk\platform-tools\adb.exe -P 5090 start-server'
    2021-04-23 15:11:14:159 [AndroidDriver] Retrieving device list
    2021-04-23 15:11:14:159 [ADB] Trying to find a connected android device
    2021-04-23 15:11:14:160 [ADB] Getting connected devices
    2021-04-23 15:11:14:646 [ADB] Connected devices: [{"udid":"172.25.76.104:49110","state":"device"}]
    2021-04-23 15:11:14:646 [AndroidDriver] Using device: 172.25.76.104:49110
    2021-04-23 15:11:14:647 [ADB] Using 'adb.exe' from 'C:\Users\wuxiaojun\AppData\Local\Android\sdk\platform-tools\adb.exe'
    2021-04-23 15:11:14:647 [ADB] Running 'C:\Users\wuxiaojun\AppData\Local\Android\sdk\platform-tools\adb.exe -P 5090 start-server'
    2021-04-23 15:11:15:072 [ADB] Setting device id to 172.25.76.104:49110
    2021-04-23 15:11:15:072 [ADB] Running 'C:\Users\wuxiaojun\AppData\Local\Android\sdk\platform-tools\adb.exe -P 5090 -s 172.25.76.104:49110 shell getprop ro.build.version.sdk'
    2021-04-23 15:11:15:549 [ADB] Current device property 'ro.build.version.sdk': 23
    2021-04-23 15:11:15:549 [ADB] Device API level: 23
    2021-04-23 15:11:15:550 [AndroidDriver] No app sent in, not parsing package/activity
    2021-04-23 15:11:15:550 [ADB] Running 'C:\Users\wuxiaojun\AppData\Local\Android\sdk\platform-tools\adb.exe -P 5090 -s 172.25.76.104:49110 wait-for-device'
    2021-04-23 15:11:16:007 [ADB] Running 'C:\Users\wuxiaojun\AppData\Local\Android\sdk\platform-tools\adb.exe -P 5090 -s 172.25.76.104:49110 shell echo ping'
    2021-04-23 15:11:16:538 [AndroidDriver] Pushing settings apk to device...
    2021-04-23 15:11:16:538 [ADB] Getting install status for io.appium.settings
    2021-04-23 15:11:16:539 [ADB] Running 'C:\Users\wuxiaojun\AppData\Local\Android\sdk\platform-tools\adb.exe -P 5090 -s 172.25.76.104:49110 shell dumpsys package io.appium.settings'
    2021-04-23 15:11:17:034 [ADB] 'io.appium.settings' is installed
    2021-04-23 15:11:17:034 [ADB] Getting package info for 'io.appium.settings'
    2021-04-23 15:11:17:034 [ADB] Running 'C:\Users\wuxiaojun\AppData\Local\Android\sdk\platform-tools\adb.exe -P 5090 -s 172.25.76.104:49110 shell dumpsys package io.appium.settings'
    2021-04-23 15:11:17:778 [ADB] The version name of the installed 'io.appium.settings' is greater or equal to the application version name ('3.2.1' >= '3.2.1')
    2021-04-23 15:11:17:779 [ADB] There is no need to install/upgrade 'C:\Users\wuxiaojun\AppData\Roaming\npm\node_modules\appium\node_modules\io.appium.settings\apks\settings_apk-debug.apk'
    2021-04-23 15:11:17:779 [ADB] Getting IDs of all 'io.appium.settings' processes
    2021-04-23 15:11:17:779 [ADB] Running 'C:\Users\wuxiaojun\AppData\Local\Android\sdk\platform-tools\adb.exe -P 5090 -s 172.25.76.104:49110 shell 'pgrep --help; echo $?''
    2021-04-23 15:11:18:343 [ADB] Running 'C:\Users\wuxiaojun\AppData\Local\Android\sdk\platform-tools\adb.exe -P 5090 -s 172.25.76.104:49110 shell pgrep -f ([[:blank:]]|^)io.appium.settings([[:blank:]]|$)'
    2021-04-23 15:11:18:918 [AndroidDriver] io.appium.settings is already running. There is no need to reset its permissions.
    2021-04-23 15:11:18:920 [ADB] Running 'C:\Users\wuxiaojun\AppData\Local\Android\sdk\platform-tools\adb.exe -P 5090 -s 172.25.76.104:49110 shell appops set io.appium.settings android:mock_location allow'
    2021-04-23 15:11:20:766 [Logcat] Starting logs capture with command: C:\Users\wuxiaojun\AppData\Local\Android\sdk\platform-tools\adb.exe -P 5090 -s 172.25.76.104:49110 logcat -v threadtime
    2021-04-23 15:11:21:207 [AndroidDriver] Enabling Unicode keyboard support
    2021-04-23 15:11:21:207 [ADB] Running 'C:\Users\wuxiaojun\AppData\Local\Android\sdk\platform-tools\adb.exe -P 5090 -s 172.25.76.104:49110 shell settings get secure default_input_method'
    2021-04-23 15:11:23:239 [AndroidDriver] Unsetting previous IME io.appium.settings/.UnicodeIME
    2021-04-23 15:11:23:239 [AndroidDriver] Setting IME to 'io.appium.settings/.UnicodeIME'
    2021-04-23 15:11:23:239 [ADB] Running 'C:\Users\wuxiaojun\AppData\Local\Android\sdk\platform-tools\adb.exe -P 5090 -s 172.25.76.104:49110 shell ime enable io.appium.settings/.UnicodeIME'
    2021-04-23 15:11:25:070 [ADB] Running 'C:\Users\wuxiaojun\AppData\Local\Android\sdk\platform-tools\adb.exe -P 5090 -s 172.25.76.104:49110 shell ime set io.appium.settings/.UnicodeIME'
    2021-04-23 15:11:27:064 [UiAutomator2] Forwarding UiAutomator2 Server port 6790 to local port 8294
    2021-04-23 15:11:27:065 [ADB] Forwarding system: 8294 to device: 6790
    2021-04-23 15:11:27:065 [ADB] Running 'C:\Users\wuxiaojun\AppData\Local\Android\sdk\platform-tools\adb.exe -P 5090 -s 172.25.76.104:49110 forward tcp:8294 tcp:6790'
    2021-04-23 15:11:27:583 [ADB] Getting install status for io.appium.uiautomator2.server
    2021-04-23 15:11:27:584 [ADB] Running 'C:\Users\wuxiaojun\AppData\Local\Android\sdk\platform-tools\adb.exe -P 5090 -s 172.25.76.104:49110 shell dumpsys package io.appium.uiautomator2.server'
    2021-04-23 15:11:28:057 [ADB] 'io.appium.uiautomator2.server' is installed
    2021-04-23 15:11:28:057 [ADB] Getting package info for 'io.appium.uiautomator2.server'
    2021-04-23 15:11:28:057 [ADB] Running 'C:\Users\wuxiaojun\AppData\Local\Android\sdk\platform-tools\adb.exe -P 5090 -s 172.25.76.104:49110 shell dumpsys package io.appium.uiautomator2.server'
    2021-04-23 15:11:28:606 [ADB] The version name of the installed 'io.appium.uiautomator2.server' is greater or equal to the application version name ('4.17.4' >= '4.17.4')
    2021-04-23 15:11:28:607 [UiAutomator2] io.appium.uiautomator2.server installation state: sameVersionInstalled
    2021-04-23 15:11:28:607 [ADB] Checking app cert for C:\Users\wuxiaojun\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.17.4.apk
    2021-04-23 15:11:28:609 [ADB] Using 'apksigner.jar' from 'C:\Users\wuxiaojun\AppData\Local\Android\sdk\build-tools\28.0.3\lib\apksigner.jar'
    2021-04-23 15:11:28:610 [ADB] Starting apksigner: 'C:\Program Files\Java\jdk1.8.0_171\bin\java.exe' -Xmx1024M -Xss1m -jar C:\Users\wuxiaojun\AppData\Local\Android\sdk\build-tools\28.0.3\lib\apksigner.jar verify --print-certs C:\Users\wuxiaojun\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.17.4.apk
    2021-04-23 15:11:28:947 [ADB] apksigner stdout: Signer #1 certificate DN: EMAILADDRESS= [email protected] , CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US

    2021-04-23 15:11:28:947 [ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc

    2021-04-23 15:11:28:947 [ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81

    2021-04-23 15:11:28:947 [ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87

    2021-04-23 15:11:28:947 [ADB]
    2021-04-23 15:11:28:947 [ADB] sha256 hash did match for 'appium-uiautomator2-server-v4.17.4.apk'
    2021-04-23 15:11:28:948 [ADB] 'C:\Users\wuxiaojun\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.17.4.apk' is signed with the default certificate
    2021-04-23 15:11:28:948 [ADB] Getting install status for io.appium.uiautomator2.server.test
    2021-04-23 15:11:28:948 [ADB] Running 'C:\Users\wuxiaojun\AppData\Local\Android\sdk\platform-tools\adb.exe -P 5090 -s 172.25.76.104:49110 shell dumpsys package io.appium.uiautomator2.server.test'
    2021-04-23 15:11:29:421 [ADB] 'io.appium.uiautomator2.server.test' is installed
    2021-04-23 15:11:29:421 [ADB] Checking app cert for C:\Users\wuxiaojun\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk
    2021-04-23 15:11:29:422 [ADB] Starting apksigner: 'C:\Program Files\Java\jdk1.8.0_171\bin\java.exe' -Xmx1024M -Xss1m -jar C:\Users\wuxiaojun\AppData\Local\Android\sdk\build-tools\28.0.3\lib\apksigner.jar verify --print-certs C:\Users\wuxiaojun\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk
    2021-04-23 15:11:29:677 [ADB] apksigner stdout: Signer #1 certificate DN: EMAILADDRESS= [email protected] , CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US

    2021-04-23 15:11:29:677 [ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc

    2021-04-23 15:11:29:677 [ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81

    2021-04-23 15:11:29:677 [ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87

    2021-04-23 15:11:29:677 [ADB]
    2021-04-23 15:11:29:677 [ADB] sha256 hash did match for 'appium-uiautomator2-server-debug-androidTest.apk'
    2021-04-23 15:11:29:677 [ADB] 'C:\Users\wuxiaojun\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk' is signed with the default certificate
    2021-04-23 15:11:29:677 [UiAutomator2] Server packages are not going to be (re)installed
    2021-04-23 15:11:29:679 [UiAutomator2] Waiting up to 30000ms for services to be available
    2021-04-23 15:11:29:680 [ADB] Running 'C:\Users\wuxiaojun\AppData\Local\Android\sdk\platform-tools\adb.exe -P 5090 -s 172.25.76.104:49110 shell pm list instrumentation'
    2021-04-23 15:11:31:338 [UiAutomator2] Instrumentation target 'io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner' is available
    2021-04-23 15:11:31:340 [ADB] Adding packages ["io.appium.settings","io.appium.uiautomator2.server","io.appium.uiautomator2.server.test"] to Doze whitelist
    2021-04-23 15:11:31:340 [ADB] Got the following command chunks to execute: [["dumpsys","deviceidle","whitelist","+io.appium.settings",";","dumpsys","deviceidle","whitelist","+io.appium.uiautomator2.server",";","dumpsys","deviceidle","whitelist","+io.appium.uiautomator2.server.test",";"]]
    2021-04-23 15:11:31:340 [ADB] Running 'C:\Users\wuxiaojun\AppData\Local\Android\sdk\platform-tools\adb.exe -P 5090 -s 172.25.76.104:49110 shell dumpsys deviceidle whitelist +io.appium.settings ; dumpsys deviceidle whitelist +io.appium.uiautomator2.server ; dumpsys deviceidle whitelist +io.appium.uiautomator2.server.test ;'
    2021-04-23 15:11:31:839 [UiAutomator2] No app capability. Assuming it is already on the device
    2021-04-23 15:11:31:840 [UiAutomator2] Performing shallow cleanup of automation leftovers
    2021-04-23 15:11:31:847 [UiAutomator2] No obsolete sessions have been detected (socket hang up)
    2021-04-23 15:11:31:847 [ADB] Running 'C:\Users\wuxiaojun\AppData\Local\Android\sdk\platform-tools\adb.exe -P 5090 -s 172.25.76.104:49110 shell am force-stop io.appium.uiautomator2.server.test'
    2021-04-23 15:11:33:711 [UiAutomator2] Starting UIAutomator2 server 4.17.4
    2021-04-23 15:11:33:711 [UiAutomator2] Using UIAutomator2 server from 'C:\Users\wuxiaojun\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.17.4.apk' and test from 'C:\Users\wuxiaojun\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk'
    2021-04-23 15:11:33:711 [UiAutomator2] Waiting up to 30000ms for UiAutomator2 to be online...
    2021-04-23 15:11:33:711 [ADB] Creating ADB subprocess with args: ["-P",5090,"-s","172.25.76.104:49110","shell","am","instrument","-w","io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner"]
    2021-04-23 15:11:34:057 [WD Proxy] Matched '/status' to command name 'getStatus'
    2021-04-23 15:11:34:059 [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8294/wd/hub/status] with no body
    2021-04-23 15:11:34:065 [WD Proxy] socket hang up
    2021-04-23 15:11:35:067 [WD Proxy] Matched '/status' to command name 'getStatus'
    2021-04-23 15:11:35:067 [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8294/wd/hub/status] with no body
    2021-04-23 15:11:35:071 [WD Proxy] socket hang up
    2021-04-23 15:11:36:071 [WD Proxy] Matched '/status' to command name 'getStatus'
    2021-04-23 15:11:36:071 [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8294/wd/hub/status] with no body
    2021-04-23 15:11:36:080 [WD Proxy] socket hang up
    2021-04-23 15:11:36:390 [Instrumentation] io.appium.uiautomator2.server.test.AppiumUiAutomator2Server:
    2021-04-23 15:11:37:080 [WD Proxy] Matched '/status' to command name 'getStatus'
    2021-04-23 15:11:37:080 [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8294/wd/hub/status] with no body
    2021-04-23 15:11:37:084 [WD Proxy] socket hang up
    2021-04-23 15:11:38:083 [WD Proxy] Matched '/status' to command name 'getStatus'
    2021-04-23 15:11:38:084 [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8294/wd/hub/status] with no body
    2021-04-23 15:11:38:183 [WD Proxy] Got response with status 200: {"sessionId":"None","value":{"message":"UiAutomator2 Server is ready to accept commands","ready":true}}
    2021-04-23 15:11:38:185 [UiAutomator2] The initialization of the instrumentation process took 4474ms
    2021-04-23 15:11:38:186 [WD Proxy] Matched '/session' to command name 'createSession'
    2021-04-23 15:11:38:187 [WD Proxy] Proxying [POST /session] to [POST http://127.0.0.1:8294/wd/hub/session] with body: {"capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"android","adbExecTimeout":120000,"allowInvisibleElements":true,"adbPort":5090,"appWaitDuration":40000,"automationName":"UiAutomator2","deviceName":"172.25.76.104:49110","ignoreUnimportantViews":false,"newCommandTimeout":864000,"noSign":true,"platformVersion":"6.0","resetKeyboard":true,"systemPort":8294,"udid":"172.25.76.104:49110","unicodeKeyboard":true},"platformName":"android","adbExecTimeout":120000,"allowInvisibleElements":true,"adbPort":5090,"appWaitDuration":40000,"automationName":"UiAutomator2","deviceName":"172.25.76.104:49110","ignoreUnimportantViews":false,"newCommandTimeout":864000,"noSign":true,"platformVersion":"6.0","resetKeyboard":true,"systemPort":8294,"udid":"172.25.76.104:49110","unicodeKeyboard":true,"deviceUDID":"172.25.76.104:49110"}],"a...
    2021-04-23 15:11:38:231 [WD Proxy] Got response with status 500: {"sessionId":null,"value":{"error":"session not created","message":"io.appium.uiautomator2.common.exceptions.NoSuchDriverException: A session is either terminated or not started","stacktrace":"io.appium.uiautomator2.common.exceptions.SessionNotCreatedException: io.appium.uiautomator2.common.exceptions.NoSuchDriverException: A session is either terminated or not started\n\tat io.appium.uiautomator2.handler.NewSession.safeHandle(NewSession.java:57)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:41)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:261)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:255)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:68)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerCont...
    2021-04-23 15:11:38:231 [W3C] Matched W3C error code 'session not created' to SessionNotCreatedError
    2021-04-23 15:11:38:231 [UiAutomator2] Deleting UiAutomator2 session
    2021-04-23 15:11:38:232 [UiAutomator2] Deleting UiAutomator2 server session
    2021-04-23 15:11:38:232 [WD Proxy] Matched '/' to command name 'deleteSession'
    2021-04-23 15:11:38:232 [UiAutomator2] Did not get confirmation UiAutomator2 deleteSession worked; Error was: UnknownError: An unknown server-side error occurred while processing the command. Original error: Trying to proxy a session command without session id
    2021-04-23 15:11:38:232 [UiAutomator2] Resetting IME to 'io.appium.settings/.UnicodeIME'
    2021-04-23 15:11:38:232 [ADB] Running 'C:\Users\wuxiaojun\AppData\Local\Android\sdk\platform-tools\adb.exe -P 5090 -s 172.25.76.104:49110 shell ime set io.appium.settings/.UnicodeIME'
    2021-04-23 15:11:40:219 [Logcat] Stopping logcat capture
    2021-04-23 15:11:40:222 [ADB] Removing forwarded port socket connection: 8294
    2021-04-23 15:11:40:222 [ADB] Running 'C:\Users\wuxiaojun\AppData\Local\Android\sdk\platform-tools\adb.exe -P 5090 -s 172.25.76.104:49110 forward --remove tcp:8294'
    2021-04-23 15:11:40:788 [BaseDriver] Event 'newSessionStarted' logged at 1619161900788 (15:11:40 GMT+0800 (涓浗鏍囧噯鏃堕棿))
    2021-04-23 15:11:40:788 [W3C] Encountered internal error running command: A new session could not be created. Details: io.appium.uiautomator2.common.exceptions.NoSuchDriverException: A session is either terminated or not started
    2021-04-23 15:11:40:788 [W3C] io.appium.uiautomator2.common.exceptions.SessionNotCreatedException: io.appium.uiautomator2.common.exceptions.NoSuchDriverException: A session is either terminated or not started
    2021-04-23 15:11:40:788 [W3C] at io.appium.uiautomator2.handler.NewSession.safeHandle(NewSession.java:57)
    2021-04-23 15:11:40:788 [W3C] at io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:41)
    2021-04-23 15:11:40:788 [W3C] at io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:261)
    2021-04-23 15:11:40:788 [W3C] at io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:255)
    2021-04-23 15:11:40:788 [W3C] at io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:68)
    2021-04-23 15:11:40:788 [W3C] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
    2021-04-23 15:11:40:788 [W3C] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
    2021-04-23 15:11:40:788 [W3C] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)
    2021-04-23 15:11:40:788 [W3C] at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:102)
    2021-04-23 15:11:40:788 [W3C] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
    2021-04-23 15:11:40:788 [W3C] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
    2021-04-23 15:11:40:788 [W3C] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)
    2021-04-23 15:11:40:788 [W3C] at io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelRead(CombinedChannelDuplexHandler.java:435)
    2021-04-23 15:11:40:788 [W3C] at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:293)
    2021-04-23 15:11:40:788 [W3C] at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:267)
    2021-04-23 15:11:40:788 [W3C] at io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:250)
    2021-04-23 15:11:40:789 [W3C] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
    2021-04-23 15:11:40:789 [W3C] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
    2021-04-23 15:11:40:789 [W3C] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)
    2021-04-23 15:11:40:789 [W3C] at io.netty.handler.timeout.IdleStateHandler.channelRead(IdleStateHandler.java:266)
    2021-04-23 15:11:40:789 [W3C] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
    2021-04-23 15:11:40:789 [W3C] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
    2021-04-23 15:11:40:789 [W3C] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)
    2021-04-23 15:11:40:789 [W3C] at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1294)
    2021-04-23 15:11:40:789 [W3C] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
    2021-04-23 15:11:40:789 [W3C] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
    2021-04-23 15:11:40:789 [W3C] at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:911)
    2021-04-23 15:11:40:789 [W3C] at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:131)
    2021-04-23 15:11:40:789 [W3C] at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:611)
    2021-04-23 15:11:40:789 [W3C] at io.netty.channel.nio.NioEventLoop.processSelectedKeysPlain(NioEventLoop.java:514)
    2021-04-23 15:11:40:789 [W3C] at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:468)
    2021-04-23 15:11:40:789 [W3C] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:438)
    2021-04-23 15:11:40:789 [W3C] at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:140)
    2021-04-23 15:11:40:789 [W3C] at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:144)
    2021-04-23 15:11:40:789 [W3C] at java.lang.Thread.run(Thread.java:818)
    2021-04-23 15:11:40:789 [W3C] Caused by: io.appium.uiautomator2.common.exceptions.NoSuchDriverException: A session is either terminated or not started
    2021-04-23 15:11:40:789 [W3C] at io.appium.uiautomator2.model.AppiumUIA2Driver.getSessionOrThrow(AppiumUIA2Driver.java:55)
    2021-04-23 15:11:40:789 [W3C] at io.appium.uiautomator2.model.settings.AllowInvisibleElements.getValue(AllowInvisibleElements.java:33)
    2021-04-23 15:11:40:789 [W3C] at io.appium.uiautomator2.model.settings.AllowInvisibleElements.getValue(AllowInvisibleElements.java:21)
    2021-04-23 15:11:40:789 [W3C] at io.appium.uiautomator2.model.Session.(Session.java:49)
    2021-04-23 15:11:40:789 [W3C] at io.appium.uiautomator2.model.AppiumUIA2Driver.initializeSession(AppiumUIA2Driver.java:42)
    2021-04-23 15:11:40:789 [W3C] at io.appium.uiautomator2.handler.NewSession.safeHandle(NewSession.java:50)
    2021-04-23 15:11:40:789 [W3C] ... 34 more
    2021-04-23 15:11:40:789 [W3C]
    2021-04-23 15:11:40:793 [HTTP] <-- POST /wd/hub/session 500 27583 ms - 4576
    2021-04-23 15:11:40:793 [HTTP]
    2021-04-23 15:11:49:740 [Instrumentation] The process has exited with code 0

    Of course I cannot. It is open source - no guarantees.

    I updated appium to the latest version and also found this error

    ##Appium Log####
    2021-04-23 15:10:44:519 [Appium] Welcome to Appium v1.20.2
    2021-04-23 15:10:44:520 [Appium] Non-default server args:
    2021-04-23 15:10:44:520 [Appium] port: 4499
    2021-04-23 15:10:44:520 [Appium] sessionOverride: true
    2021-04-23 15:10:44:520 [Appium] logFile: ./appiumLog/appium_CheetahCase_DSFA.log
    2021-04-23 15:10:44:520 [Appium] loglevel: error:debug
    2021-04-23 15:10:44:520 [Appium] logTimestamp: true
    2021-04-23 15:10:44:521 [Appium] localTimezone: true
    2021-04-23 15:10:45:110 [Appium] Appium REST http interface listener started on 0.0.0.0:4499
    2021-04-23 15:11:13:208 [HTTP] --> POST /wd/hub/session
    2021-04-23 15:11:13:208 [HTTP] {"desiredCapabilities":{"allowInvisibleElements":true,"noSign":true,"adbPort":5090,"deviceName":"172.25.76.104:49110","ignoreUnimportantViews":false,"appWaitDuration":40000,"newCommandTimeout":864000,"adbExecTimeout":120000,"platformVersion":"6.0","automationName":"UiAutomator2","unicodeKeyboard":true,"platformName":"Android","udid":"172.25.76.104:49110","resetKeyboard":true,"systemPort":"8294"},"capabilities":{"firstMatch":[{"adbExecTimeout":120000,"appium:adbPort":5090,"allowInvisibleElements":true,"appium:appWaitDuration":40000,"appium:automationName":"UiAutomator2","appium:deviceName":"172.25.76.104:49110","appium:ignoreUnimportantViews":false,"appium:newCommandTimeout":864000,"appium:noSign":true,"platformName":"android","appium:platformVersion":"6.0","appium:resetKeyboard":true,"appium:systemPort":"8294","appium:udid":"172.25.76.104:49110","appium:unicodeKeyboard":true}]}}
    2021-04-23 15:11:13:210 [W3C] Calling AppiumDriver.createSession() with args: [{"allowInvisibleElements":true,"noSign":true,"adbPort":5090,"deviceName":"172.25.76.104:49110","ignoreUnimportantViews":false,"appWaitDuration":40000,"newCommandTimeout":864000,"adbExecTimeout":120000,"platformVersion":"6.0","automationName":"UiAutomator2","unicodeKeyboard":true,"platformName":"Android","udid":"172.25.76.104:49110","resetKeyboard":true,"systemPort":"8294"},null,{"firstMatch":[{"adbExecTimeout":120000,"appium:adbPort":5090,"allowInvisibleElements":true,"appium:appWaitDuration":40000,"appium:automationName":"UiAutomator2","appium:deviceName":"172.25.76.104:49110","appium:ignoreUnimportantViews":false,"appium:newCommandTimeout":864000,"appium:noSign":true,"platformName":"android","appium:platformVersion":"6.0","appium:resetKeyboard":true,"appium:systemPort":"8294","appium:udid":"172.25.76.104:49110","appium:unicodeKeyboard":true}]}]
    2021-04-23 15:11:13:210 [BaseDriver] Event 'newSessionRequested' logged at 1619161873210 (15:11:13 GMT+0800 (涓浗鏍囧噯鏃堕棿))
    2021-04-23 15:11:13:212 [BaseDriver] The following capabilities are not standard capabilities and should have an extension prefix:
    2021-04-23 15:11:13:212 [BaseDriver] adbExecTimeout
    2021-04-23 15:11:13:212 [BaseDriver] allowInvisibleElements
    2021-04-23 15:11:13:703 [Appium] Appium v1.20.2 creating new AndroidUiautomator2Driver (v1.61.2) session
    2021-04-23 15:11:13:703 [Appium] There are no active sessions for cleanup
    2021-04-23 15:11:13:706 [BaseDriver] W3C capabilities and MJSONWP desired capabilities were provided
    2021-04-23 15:11:13:706 [BaseDriver] Creating session with W3C capabilities: {
    2021-04-23 15:11:13:706 [BaseDriver] "alwaysMatch": {
    2021-04-23 15:11:13:706 [BaseDriver] "appium:adbExecTimeout": 120000,
    2021-04-23 15:11:13:706 [BaseDriver] "appium:allowInvisibleElements": true,
    2021-04-23 15:11:13:706 [BaseDriver] "platformName": "android",
    2021-04-23 15:11:13:706 [BaseDriver] "appium:adbPort": 5090,
    2021-04-23 15:11:13:706 [BaseDriver] "appium:appWaitDuration": 40000,
    2021-04-23 15:11:13:706 [BaseDriver] "appium:automationName": "UiAutomator2",
    2021-04-23 15:11:13:706 [BaseDriver] "appium:deviceName": "172.25.76.104:49110",
    2021-04-23 15:11:13:706 [BaseDriver] "appium:ignoreUnimportantViews": false,
    2021-04-23 15:11:13:706 [BaseDriver] "appium:newCommandTimeout": 864000,
    2021-04-23 15:11:13:706 [BaseDriver] "appium:noSign": true,
    2021-04-23 15:11:13:706 [BaseDriver] "appium:platformVersion": "6.0",
    2021-04-23 15:11:13:706 [BaseDriver] "appium:resetKeyboard": true,
    2021-04-23 15:11:13:707 [BaseDriver] "appium:systemPort": "8294",
    2021-04-23 15:11:13:707 [BaseDriver] "appium:udid": "172.25.76.104:49110",
    2021-04-23 15:11:13:707 [BaseDriver] "appium:unicodeKeyboard": true
    2021-04-23 15:11:13:707 [BaseDriver] },
    2021-04-23 15:11:13:707 [BaseDriver] "firstMatch": [
    2021-04-23 15:11:13:707 [BaseDriver] {}
    2021-04-23 15:11:13:707 [BaseDriver] ]
    2021-04-23 15:11:13:707 [BaseDriver] }
    2021-04-23 15:11:13:708 [BaseDriver] Number capability passed in as string. Functionality may be compromised.
    2021-04-23 15:11:13:710 [BaseDriver] Capability 'systemPort' changed from string ('8294') to integer (8294). This may cause unexpected behavior
    2021-04-23 15:11:13:711 [BaseDriver] The following capabilities were provided, but are not recognized by Appium:
    2021-04-23 15:11:13:711 [BaseDriver] allowInvisibleElements
    2021-04-23 15:11:13:712 [BaseDriver] ignoreUnimportantViews
    2021-04-23 15:11:13:712 [BaseDriver] Session created with session id: 4426039e-a9d3-425b-9dba-7ac2484d9576
    2021-04-23 15:11:13:712 [UiAutomator2] Neither 'app' nor 'appPackage' was set. Starting UiAutomator2 without the target application
    2021-04-23 15:11:13:728 [ADB] Found 2 'build-tools' folders under 'C:\Users\wuxiaojun\AppData\Local\Android\sdk' (newest first):
    2021-04-23 15:11:13:728 [ADB] C:/Users/wuxiaojun/AppData/Local/Android/sdk/build-tools/28.0.3
    2021-04-23 15:11:13:728 [ADB] C:/Users/wuxiaojun/AppData/Local/Android/sdk/build-tools/23.0.3
    2021-04-23 15:11:13:728 [ADB] Using 'adb.exe' from 'C:\Users\wuxiaojun\AppData\Local\Android\sdk\platform-tools\adb.exe'
    2021-04-23 15:11:13:728 [ADB] Running 'C:\Users\wuxiaojun\AppData\Local\Android\sdk\platform-tools\adb.exe -P 5090 start-server'
    2021-04-23 15:11:14:159 [AndroidDriver] Retrieving device list
    2021-04-23 15:11:14:159 [ADB] Trying to find a connected android device
    2021-04-23 15:11:14:160 [ADB] Getting connected devices
    2021-04-23 15:11:14:646 [ADB] Connected devices: [{"udid":"172.25.76.104:49110","state":"device"}]
    2021-04-23 15:11:14:646 [AndroidDriver] Using device: 172.25.76.104:49110
    2021-04-23 15:11:14:647 [ADB] Using 'adb.exe' from 'C:\Users\wuxiaojun\AppData\Local\Android\sdk\platform-tools\adb.exe'
    2021-04-23 15:11:14:647 [ADB] Running 'C:\Users\wuxiaojun\AppData\Local\Android\sdk\platform-tools\adb.exe -P 5090 start-server'
    2021-04-23 15:11:15:072 [ADB] Setting device id to 172.25.76.104:49110
    2021-04-23 15:11:15:072 [ADB] Running 'C:\Users\wuxiaojun\AppData\Local\Android\sdk\platform-tools\adb.exe -P 5090 -s 172.25.76.104:49110 shell getprop ro.build.version.sdk'
    2021-04-23 15:11:15:549 [ADB] Current device property 'ro.build.version.sdk': 23
    2021-04-23 15:11:15:549 [ADB] Device API level: 23
    2021-04-23 15:11:15:550 [AndroidDriver] No app sent in, not parsing package/activity
    2021-04-23 15:11:15:550 [ADB] Running 'C:\Users\wuxiaojun\AppData\Local\Android\sdk\platform-tools\adb.exe -P 5090 -s 172.25.76.104:49110 wait-for-device'
    2021-04-23 15:11:16:007 [ADB] Running 'C:\Users\wuxiaojun\AppData\Local\Android\sdk\platform-tools\adb.exe -P 5090 -s 172.25.76.104:49110 shell echo ping'
    2021-04-23 15:11:16:538 [AndroidDriver] Pushing settings apk to device...
    2021-04-23 15:11:16:538 [ADB] Getting install status for io.appium.settings
    2021-04-23 15:11:16:539 [ADB] Running 'C:\Users\wuxiaojun\AppData\Local\Android\sdk\platform-tools\adb.exe -P 5090 -s 172.25.76.104:49110 shell dumpsys package io.appium.settings'
    2021-04-23 15:11:17:034 [ADB] 'io.appium.settings' is installed
    2021-04-23 15:11:17:034 [ADB] Getting package info for 'io.appium.settings'
    2021-04-23 15:11:17:034 [ADB] Running 'C:\Users\wuxiaojun\AppData\Local\Android\sdk\platform-tools\adb.exe -P 5090 -s 172.25.76.104:49110 shell dumpsys package io.appium.settings'
    2021-04-23 15:11:17:778 [ADB] The version name of the installed 'io.appium.settings' is greater or equal to the application version name ('3.2.1' >= '3.2.1')
    2021-04-23 15:11:17:779 [ADB] There is no need to install/upgrade 'C:\Users\wuxiaojun\AppData\Roaming\npm\node_modules\appium\node_modules\io.appium.settings\apks\settings_apk-debug.apk'
    2021-04-23 15:11:17:779 [ADB] Getting IDs of all 'io.appium.settings' processes
    2021-04-23 15:11:17:779 [ADB] Running 'C:\Users\wuxiaojun\AppData\Local\Android\sdk\platform-tools\adb.exe -P 5090 -s 172.25.76.104:49110 shell 'pgrep --help; echo $?''
    2021-04-23 15:11:18:343 [ADB] Running 'C:\Users\wuxiaojun\AppData\Local\Android\sdk\platform-tools\adb.exe -P 5090 -s 172.25.76.104:49110 shell pgrep -f ([[:blank:]]|^)io.appium.settings([[:blank:]]|$)'
    2021-04-23 15:11:18:918 [AndroidDriver] io.appium.settings is already running. There is no need to reset its permissions.
    2021-04-23 15:11:18:920 [ADB] Running 'C:\Users\wuxiaojun\AppData\Local\Android\sdk\platform-tools\adb.exe -P 5090 -s 172.25.76.104:49110 shell appops set io.appium.settings android:mock_location allow'
    2021-04-23 15:11:20:766 [Logcat] Starting logs capture with command: C:\Users\wuxiaojun\AppData\Local\Android\sdk\platform-tools\adb.exe -P 5090 -s 172.25.76.104:49110 logcat -v threadtime
    2021-04-23 15:11:21:207 [AndroidDriver] Enabling Unicode keyboard support
    2021-04-23 15:11:21:207 [ADB] Running 'C:\Users\wuxiaojun\AppData\Local\Android\sdk\platform-tools\adb.exe -P 5090 -s 172.25.76.104:49110 shell settings get secure default_input_method'
    2021-04-23 15:11:23:239 [AndroidDriver] Unsetting previous IME io.appium.settings/.UnicodeIME
    2021-04-23 15:11:23:239 [AndroidDriver] Setting IME to 'io.appium.settings/.UnicodeIME'
    2021-04-23 15:11:23:239 [ADB] Running 'C:\Users\wuxiaojun\AppData\Local\Android\sdk\platform-tools\adb.exe -P 5090 -s 172.25.76.104:49110 shell ime enable io.appium.settings/.UnicodeIME'
    2021-04-23 15:11:25:070 [ADB] Running 'C:\Users\wuxiaojun\AppData\Local\Android\sdk\platform-tools\adb.exe -P 5090 -s 172.25.76.104:49110 shell ime set io.appium.settings/.UnicodeIME'
    2021-04-23 15:11:27:064 [UiAutomator2] Forwarding UiAutomator2 Server port 6790 to local port 8294
    2021-04-23 15:11:27:065 [ADB] Forwarding system: 8294 to device: 6790
    2021-04-23 15:11:27:065 [ADB] Running 'C:\Users\wuxiaojun\AppData\Local\Android\sdk\platform-tools\adb.exe -P 5090 -s 172.25.76.104:49110 forward tcp:8294 tcp:6790'
    2021-04-23 15:11:27:583 [ADB] Getting install status for io.appium.uiautomator2.server
    2021-04-23 15:11:27:584 [ADB] Running 'C:\Users\wuxiaojun\AppData\Local\Android\sdk\platform-tools\adb.exe -P 5090 -s 172.25.76.104:49110 shell dumpsys package io.appium.uiautomator2.server'
    2021-04-23 15:11:28:057 [ADB] 'io.appium.uiautomator2.server' is installed
    2021-04-23 15:11:28:057 [ADB] Getting package info for 'io.appium.uiautomator2.server'
    2021-04-23 15:11:28:057 [ADB] Running 'C:\Users\wuxiaojun\AppData\Local\Android\sdk\platform-tools\adb.exe -P 5090 -s 172.25.76.104:49110 shell dumpsys package io.appium.uiautomator2.server'
    2021-04-23 15:11:28:606 [ADB] The version name of the installed 'io.appium.uiautomator2.server' is greater or equal to the application version name ('4.17.4' >= '4.17.4')
    2021-04-23 15:11:28:607 [UiAutomator2] io.appium.uiautomator2.server installation state: sameVersionInstalled
    2021-04-23 15:11:28:607 [ADB] Checking app cert for C:\Users\wuxiaojun\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.17.4.apk
    2021-04-23 15:11:28:609 [ADB] Using 'apksigner.jar' from 'C:\Users\wuxiaojun\AppData\Local\Android\sdk\build-tools\28.0.3\lib\apksigner.jar'
    2021-04-23 15:11:28:610 [ADB] Starting apksigner: 'C:\Program Files\Java\jdk1.8.0_171\bin\java.exe' -Xmx1024M -Xss1m -jar C:\Users\wuxiaojun\AppData\Local\Android\sdk\build-tools\28.0.3\lib\apksigner.jar verify --print-certs C:\Users\wuxiaojun\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.17.4.apk
    2021-04-23 15:11:28:947 [ADB] apksigner stdout: Signer #1 certificate DN: EMAILADDRESS= [email protected] , CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US

    2021-04-23 15:11:28:947 [ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc

    2021-04-23 15:11:28:947 [ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81

    2021-04-23 15:11:28:947 [ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87

    2021-04-23 15:11:28:947 [ADB]
    2021-04-23 15:11:28:947 [ADB] sha256 hash did match for 'appium-uiautomator2-server-v4.17.4.apk'
    2021-04-23 15:11:28:948 [ADB] 'C:\Users\wuxiaojun\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.17.4.apk' is signed with the default certificate
    2021-04-23 15:11:28:948 [ADB] Getting install status for io.appium.uiautomator2.server.test
    2021-04-23 15:11:28:948 [ADB] Running 'C:\Users\wuxiaojun\AppData\Local\Android\sdk\platform-tools\adb.exe -P 5090 -s 172.25.76.104:49110 shell dumpsys package io.appium.uiautomator2.server.test'
    2021-04-23 15:11:29:421 [ADB] 'io.appium.uiautomator2.server.test' is installed
    2021-04-23 15:11:29:421 [ADB] Checking app cert for C:\Users\wuxiaojun\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk
    2021-04-23 15:11:29:422 [ADB] Starting apksigner: 'C:\Program Files\Java\jdk1.8.0_171\bin\java.exe' -Xmx1024M -Xss1m -jar C:\Users\wuxiaojun\AppData\Local\Android\sdk\build-tools\28.0.3\lib\apksigner.jar verify --print-certs C:\Users\wuxiaojun\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk
    2021-04-23 15:11:29:677 [ADB] apksigner stdout: Signer #1 certificate DN: EMAILADDRESS= [email protected] , CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US

    2021-04-23 15:11:29:677 [ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc

    2021-04-23 15:11:29:677 [ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81

    2021-04-23 15:11:29:677 [ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87

    2021-04-23 15:11:29:677 [ADB]
    2021-04-23 15:11:29:677 [ADB] sha256 hash did match for 'appium-uiautomator2-server-debug-androidTest.apk'
    2021-04-23 15:11:29:677 [ADB] 'C:\Users\wuxiaojun\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk' is signed with the default certificate
    2021-04-23 15:11:29:677 [UiAutomator2] Server packages are not going to be (re)installed
    2021-04-23 15:11:29:679 [UiAutomator2] Waiting up to 30000ms for services to be available
    2021-04-23 15:11:29:680 [ADB] Running 'C:\Users\wuxiaojun\AppData\Local\Android\sdk\platform-tools\adb.exe -P 5090 -s 172.25.76.104:49110 shell pm list instrumentation'
    2021-04-23 15:11:31:338 [UiAutomator2] Instrumentation target 'io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner' is available
    2021-04-23 15:11:31:340 [ADB] Adding packages ["io.appium.settings","io.appium.uiautomator2.server","io.appium.uiautomator2.server.test"] to Doze whitelist
    2021-04-23 15:11:31:340 [ADB] Got the following command chunks to execute: [["dumpsys","deviceidle","whitelist","+io.appium.settings",";","dumpsys","deviceidle","whitelist","+io.appium.uiautomator2.server",";","dumpsys","deviceidle","whitelist","+io.appium.uiautomator2.server.test",";"]]
    2021-04-23 15:11:31:340 [ADB] Running 'C:\Users\wuxiaojun\AppData\Local\Android\sdk\platform-tools\adb.exe -P 5090 -s 172.25.76.104:49110 shell dumpsys deviceidle whitelist +io.appium.settings ; dumpsys deviceidle whitelist +io.appium.uiautomator2.server ; dumpsys deviceidle whitelist +io.appium.uiautomator2.server.test ;'
    2021-04-23 15:11:31:839 [UiAutomator2] No app capability. Assuming it is already on the device
    2021-04-23 15:11:31:840 [UiAutomator2] Performing shallow cleanup of automation leftovers
    2021-04-23 15:11:31:847 [UiAutomator2] No obsolete sessions have been detected (socket hang up)
    2021-04-23 15:11:31:847 [ADB] Running 'C:\Users\wuxiaojun\AppData\Local\Android\sdk\platform-tools\adb.exe -P 5090 -s 172.25.76.104:49110 shell am force-stop io.appium.uiautomator2.server.test'
    2021-04-23 15:11:33:711 [UiAutomator2] Starting UIAutomator2 server 4.17.4
    2021-04-23 15:11:33:711 [UiAutomator2] Using UIAutomator2 server from 'C:\Users\wuxiaojun\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.17.4.apk' and test from 'C:\Users\wuxiaojun\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk'
    2021-04-23 15:11:33:711 [UiAutomator2] Waiting up to 30000ms for UiAutomator2 to be online...
    2021-04-23 15:11:33:711 [ADB] Creating ADB subprocess with args: ["-P",5090,"-s","172.25.76.104:49110","shell","am","instrument","-w","io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner"]
    2021-04-23 15:11:34:057 [WD Proxy] Matched '/status' to command name 'getStatus'
    2021-04-23 15:11:34:059 [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8294/wd/hub/status] with no body
    2021-04-23 15:11:34:065 [WD Proxy] socket hang up
    2021-04-23 15:11:35:067 [WD Proxy] Matched '/status' to command name 'getStatus'
    2021-04-23 15:11:35:067 [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8294/wd/hub/status] with no body
    2021-04-23 15:11:35:071 [WD Proxy] socket hang up
    2021-04-23 15:11:36:071 [WD Proxy] Matched '/status' to command name 'getStatus'
    2021-04-23 15:11:36:071 [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8294/wd/hub/status] with no body
    2021-04-23 15:11:36:080 [WD Proxy] socket hang up
    2021-04-23 15:11:36:390 [Instrumentation] io.appium.uiautomator2.server.test.AppiumUiAutomator2Server:
    2021-04-23 15:11:37:080 [WD Proxy] Matched '/status' to command name 'getStatus'
    2021-04-23 15:11:37:080 [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8294/wd/hub/status] with no body
    2021-04-23 15:11:37:084 [WD Proxy] socket hang up
    2021-04-23 15:11:38:083 [WD Proxy] Matched '/status' to command name 'getStatus'
    2021-04-23 15:11:38:084 [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8294/wd/hub/status] with no body
    2021-04-23 15:11:38:183 [WD Proxy] Got response with status 200: {"sessionId":"None","value":{"message":"UiAutomator2 Server is ready to accept commands","ready":true}}
    2021-04-23 15:11:38:185 [UiAutomator2] The initialization of the instrumentation process took 4474ms
    2021-04-23 15:11:38:186 [WD Proxy] Matched '/session' to command name 'createSession'
    2021-04-23 15:11:38:187 [WD Proxy] Proxying [POST /session] to [POST http://127.0.0.1:8294/wd/hub/session] with body: {"capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"android","adbExecTimeout":120000,"allowInvisibleElements":true,"adbPort":5090,"appWaitDuration":40000,"automationName":"UiAutomator2","deviceName":"172.25.76.104:49110","ignoreUnimportantViews":false,"newCommandTimeout":864000,"noSign":true,"platformVersion":"6.0","resetKeyboard":true,"systemPort":8294,"udid":"172.25.76.104:49110","unicodeKeyboard":true},"platformName":"android","adbExecTimeout":120000,"allowInvisibleElements":true,"adbPort":5090,"appWaitDuration":40000,"automationName":"UiAutomator2","deviceName":"172.25.76.104:49110","ignoreUnimportantViews":false,"newCommandTimeout":864000,"noSign":true,"platformVersion":"6.0","resetKeyboard":true,"systemPort":8294,"udid":"172.25.76.104:49110","unicodeKeyboard":true,"deviceUDID":"172.25.76.104:49110"}],"a...
    2021-04-23 15:11:38:231 [WD Proxy] Got response with status 500: {"sessionId":null,"value":{"error":"session not created","message":"io.appium.uiautomator2.common.exceptions.NoSuchDriverException: A session is either terminated or not started","stacktrace":"io.appium.uiautomator2.common.exceptions.SessionNotCreatedException: io.appium.uiautomator2.common.exceptions.NoSuchDriverException: A session is either terminated or not started\n\tat io.appium.uiautomator2.handler.NewSession.safeHandle(NewSession.java:57)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:41)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:261)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:255)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:68)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerCont...
    2021-04-23 15:11:38:231 [W3C] Matched W3C error code 'session not created' to SessionNotCreatedError
    2021-04-23 15:11:38:231 [UiAutomator2] Deleting UiAutomator2 session
    2021-04-23 15:11:38:232 [UiAutomator2] Deleting UiAutomator2 server session
    2021-04-23 15:11:38:232 [WD Proxy] Matched '/' to command name 'deleteSession'
    2021-04-23 15:11:38:232 [UiAutomator2] Did not get confirmation UiAutomator2 deleteSession worked; Error was: UnknownError: An unknown server-side error occurred while processing the command. Original error: Trying to proxy a session command without session id
    2021-04-23 15:11:38:232 [UiAutomator2] Resetting IME to 'io.appium.settings/.UnicodeIME'
    2021-04-23 15:11:38:232 [ADB] Running 'C:\Users\wuxiaojun\AppData\Local\Android\sdk\platform-tools\adb.exe -P 5090 -s 172.25.76.104:49110 shell ime set io.appium.settings/.UnicodeIME'
    2021-04-23 15:11:40:219 [Logcat] Stopping logcat capture
    2021-04-23 15:11:40:222 [ADB] Removing forwarded port socket connection: 8294
    2021-04-23 15:11:40:222 [ADB] Running 'C:\Users\wuxiaojun\AppData\Local\Android\sdk\platform-tools\adb.exe -P 5090 -s 172.25.76.104:49110 forward --remove tcp:8294'
    2021-04-23 15:11:40:788 [BaseDriver] Event 'newSessionStarted' logged at 1619161900788 (15:11:40 GMT+0800 (涓浗鏍囧噯鏃堕棿))
    2021-04-23 15:11:40:788 [W3C] Encountered internal error running command: A new session could not be created. Details: io.appium.uiautomator2.common.exceptions.NoSuchDriverException: A session is either terminated or not started
    2021-04-23 15:11:40:788 [W3C] io.appium.uiautomator2.common.exceptions.SessionNotCreatedException: io.appium.uiautomator2.common.exceptions.NoSuchDriverException: A session is either terminated or not started
    2021-04-23 15:11:40:788 [W3C] at io.appium.uiautomator2.handler.NewSession.safeHandle(NewSession.java:57)
    2021-04-23 15:11:40:788 [W3C] at io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:41)
    2021-04-23 15:11:40:788 [W3C] at io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:261)
    2021-04-23 15:11:40:788 [W3C] at io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:255)
    2021-04-23 15:11:40:788 [W3C] at io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:68)
    2021-04-23 15:11:40:788 [W3C] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
    2021-04-23 15:11:40:788 [W3C] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
    2021-04-23 15:11:40:788 [W3C] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)
    2021-04-23 15:11:40:788 [W3C] at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:102)
    2021-04-23 15:11:40:788 [W3C] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
    2021-04-23 15:11:40:788 [W3C] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
    2021-04-23 15:11:40:788 [W3C] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)
    2021-04-23 15:11:40:788 [W3C] at io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelRead(CombinedChannelDuplexHandler.java:435)
    2021-04-23 15:11:40:788 [W3C] at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:293)
    2021-04-23 15:11:40:788 [W3C] at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:267)
    2021-04-23 15:11:40:788 [W3C] at io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:250)
    2021-04-23 15:11:40:789 [W3C] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
    2021-04-23 15:11:40:789 [W3C] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
    2021-04-23 15:11:40:789 [W3C] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)
    2021-04-23 15:11:40:789 [W3C] at io.netty.handler.timeout.IdleStateHandler.channelRead(IdleStateHandler.java:266)
    2021-04-23 15:11:40:789 [W3C] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
    2021-04-23 15:11:40:789 [W3C] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
    2021-04-23 15:11:40:789 [W3C] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)
    2021-04-23 15:11:40:789 [W3C] at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1294)
    2021-04-23 15:11:40:789 [W3C] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
    2021-04-23 15:11:40:789 [W3C] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
    2021-04-23 15:11:40:789 [W3C] at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:911)
    2021-04-23 15:11:40:789 [W3C] at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:131)
    2021-04-23 15:11:40:789 [W3C] at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:611)
    2021-04-23 15:11:40:789 [W3C] at io.netty.channel.nio.NioEventLoop.processSelectedKeysPlain(NioEventLoop.java:514)
    2021-04-23 15:11:40:789 [W3C] at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:468)
    2021-04-23 15:11:40:789 [W3C] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:438)
    2021-04-23 15:11:40:789 [W3C] at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:140)
    2021-04-23 15:11:40:789 [W3C] at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:144)
    2021-04-23 15:11:40:789 [W3C] at java.lang.Thread.run(Thread.java:818)
    2021-04-23 15:11:40:789 [W3C] Caused by: io.appium.uiautomator2.common.exceptions.NoSuchDriverException: A session is either terminated or not started
    2021-04-23 15:11:40:789 [W3C] at io.appium.uiautomator2.model.AppiumUIA2Driver.getSessionOrThrow(AppiumUIA2Driver.java:55)
    2021-04-23 15:11:40:789 [W3C] at io.appium.uiautomator2.model.settings.AllowInvisibleElements.getValue(AllowInvisibleElements.java:33)
    2021-04-23 15:11:40:789 [W3C] at io.appium.uiautomator2.model.settings.AllowInvisibleElements.getValue(AllowInvisibleElements.java:21)
    2021-04-23 15:11:40:789 [W3C] at io.appium.uiautomator2.model.Session.(Session.java:49)
    2021-04-23 15:11:40:789 [W3C] at io.appium.uiautomator2.model.AppiumUIA2Driver.initializeSession(AppiumUIA2Driver.java:42)
    2021-04-23 15:11:40:789 [W3C] at io.appium.uiautomator2.handler.NewSession.safeHandle(NewSession.java:50)
    2021-04-23 15:11:40:789 [W3C] ... 34 more
    2021-04-23 15:11:40:789 [W3C]
    2021-04-23 15:11:40:793 [HTTP] <-- POST /wd/hub/session 500 27583 ms - 4576
    2021-04-23 15:11:40:793 [HTTP]
    2021-04-23 15:11:49:740 [Instrumentation] The process has exited with code 0

    ###LogCat####
    .04-23 15:08:47.147 3698 3726 I appium : AppiumResponse: {"sessionId":null,"value":{"error":"session not created","message":"io.appium.uiautomator2.common.exceptions.NoSuchDriverException: A session is either terminated or not started","stacktrace":"io.appium.uiautomator2.common.exceptions.SessionNotCreatedException: io.appium.uiautomator2.common.exceptions.NoSuchDriverException: A session is either terminated or not started\n\tat io.appium.uiautomator2.handler.NewSession.safeHandle(NewSession.java:57)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:41)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:261)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:255)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:68)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)\n\tat io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)\n\tat io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:102)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)\n\tat io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)\n\tat io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelRead(CombinedChannelDuplexHandler.java:435)\n\tat io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:293)\n\tat io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:267)\n\tat io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:250)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)\n\tat io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)\n\tat io.netty.handler.timeout.IdleStateHandler.channelRead(IdleStateHandler.java:266)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)\n\tat io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)\n\tat io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1294)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)\n\tat io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:911)\n\tat io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:131)\n\tat io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:611)\n\tat io.netty.channel.nio.NioEventLoop.processSelectedKeysPlain(NioEventLoop.java:514)\n\tat io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:468)\n\tat io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:438)\n\tat io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:140)\n\tat io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:144)\n\tat java.lang.Thread.run(Thread.java:818)\nCaused by: io.appium.uiautomator2.common.exceptions.NoSuchDriverException: A session is either terminated or not started\n\tat io.appium.uiautomator2.model.AppiumUIA2Driver.getSessioWRTE....2.......W.......HTTP/1.1 500 Internal Server Error
    Connection: keep-alive
    Pragma: no-cache
    Cache-Control: no-store
    Content-Encoding: identity
    Content-Type: application/json
    Content-Length: 4548

    {"sessionId":null,"value":{"error":"session not created","message":"io.appium.uiautomator2.common.exceptions.NoSuchDriverException: A session is either terminated or not started","stacktrace":"io.appium.uiautomator2.common.exceptions.SessionNotCreatedException: io.appium.uiautomator2.common.exceptions.NoSuchDriverException: A session is either terminated or not started\n\tat io.appium.uiautomator2.handler.NewSession.safeHandle(NewSession.java:57)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:41)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:261)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:255)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:68)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)\n\tat io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)\n\tat io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:102)\n\tat OKAY....
    ...............io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)\n\tat io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)\n\tat io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelRead(CombinedChannelDuplexHandler.java:435)\n\tat io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:293)\n\tat io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:267)\n\tat io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:250)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)\n\tat io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)\n\tat io.netty.handler.timeout.IdleStateHandler.channelRead(IdleStateHandler.java:266)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)\n\tat io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)\n\tat io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1294)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)\n\tat io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:911)\n\tat io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:131)\n\tat io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:611)\n\tat io.netty.channel.nio.NioEventLoop.processSelectedKeysPlain(NioEventLoop.java:514)\n\tat io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:468)\n\tat io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:438)\n\tat io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:140)\n\tat io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:144)\n\tat java.lang.Thread.run(Thread.java:818)\nCaused by: io.appium.uiautomator2.common.exceptions.NoSOKAY2...................WRTE
    ...................nOrThrow(Appium
    OKAY....
    ...............WRTE....2.......;.......uchDriverException: A session is either terminated or not started\n\tat io.appium.uiautomator2.model.AppiumUIA2Driver.getSessionOrThrow(AppiumUIA2Driver.java:55)\n\tat io.appium.uiautomator2.model.settings.AllowInvisibleElements.getValue(AllowInvisibleElements.java:33)\n\tat io.appium.uiautomator2.model.settings.AllowInvisibleElements.getValue(AllowInvisibleElements.java:21)\n\tat io.appium.uiautomator2.model.Session.(Session.java:49)\n\tat io.appium.uiautomator2.model.AppiumUIA2Driver.initializeSession(AppiumUIA2Driver.java:42)\n\tat io.appium.uiautomator2.handler.NewSession.safeHandle(NewSession.java:50)\n\t... 34 more\n"}}OKAY2...................WRTE
    .......S...........04-23 15:08:47.554 1169 1193 D MoniServ:MediaController: prop vold.state.udisk: