Had Appium working with an older 1.4.x version a few months back but hadn't used it in a few months and went to upgrade to newer versions. It has alas not worked since. The appium console/log is below. I'm running tests via robotframework-appiumlibrary. The tests launch, connect to the (native) app and things go ok until I try to switch context to the webview and then it all breaks down. I've had same or similar problems with both Appium 1.5.3 and 1.6.3 combined with Chromedrivers 2.14 through to 2.28 inclusive. Mostly the error is "chrome not reachable" but occasionally there's a "device not online" or "no such session" error - error depends on Chromedriver version in use. With recent versions (> 2.25) it's "chrome not reachable". I'm running on Fedora 23 x64 Linux and trying to test a xwalk hybrid app on a physical device (a 4.4.2-powered Android STB) I've read many pages regarding this error but I've just run out of options - I can't see anything relevant to my circumstances. I don't know what to do to get Appium running again. Relatively new to Appium so some help would be really appreciated. " [HTTP] --> POST /wd/hub/session {"requiredCapabilities":{},"desiredCapabilities":{"deviceName":"10.254.222.2:5555","automationName":"Appium","androidDeviceSocket":"com.companyname.ourappname_devtools_remote","browserName":"","platformVersion":"4.4.2","appPackage":"com.companyname.ourappname","platformName":"Android","appActivity":".OurAppName"}} [debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{"deviceName":"10.254.222.2:5555","automationName":"Appium","androidDeviceSocket":"com.companyname.ourappname_devtools_remote","browserName":"","platformVersion":"4.4.2","appPackage":"com.companyname.ourappname","platformName":"Android","appActivity":".OurAppName"},{},null,null,null,null,null,null,null] [Appium] Creating new AndroidDriver session [Appium] Capabilities: [Appium] deviceName: '10.254.222.2:5555' [Appium] automationName: 'Appium' [Appium] androidDeviceSocket: 'com.companyname.ourappname_devtools_remote' [Appium] browserName: '' [Appium] platformVersion: '4.4.2' [Appium] appPackage: 'com.companyname.ourappname' [Appium] platformName: 'Android' [Appium] appActivity: '.OurAppName' [debug] [AndroidDriver] AndroidDriver version: 1.10.38 [BaseDriver] Session created with session id: 9472c165-fbbe-4487-b198-0fef02eebef5 [debug] [AndroidDriver] Getting Java version [AndroidDriver] Java version is: 1.8.0_121 [ADB] Checking whether adb is present [ADB] Using adb from /home/pandabat/androidSDK/platform-tools/adb [AndroidDriver] Retrieving device list [debug] [ADB] Trying to find a connected android device [debug] [ADB] Getting connected devices... [debug] [ADB] 1 device(s) connected [AndroidDriver] Looking for a device with Android '4.4.2' [debug] [ADB] Setting device id to 10.254.222.2:5555 [ADB] Getting device platform version [debug] [ADB] Getting connected devices... [debug] [ADB] 1 device(s) connected [debug] [ADB] Running '/home/pandabat/androidSDK/platform-tools/adb' with args: ["-P",5037,"-s","10.254.222.2:5555","shell","getprop","ro.build.version.release"] [AndroidDriver] Using device: 10.254.222.2:5555 [ADB] Checking whether adb is present [ADB] Using adb from /home/pandabat/androidSDK/platform-tools/adb [debug] [ADB] Setting device id to 10.254.222.2:5555 [AndroidDriver] App file was not listed, instead we're going to run com.companyname.ourappname directly on the device [debug] [AndroidDriver] Checking whether package is present on the device [debug] [ADB] Getting connected devices... [debug] [ADB] 1 device(s) connected [debug] [ADB] Running '/home/pandabat/androidSDK/platform-tools/adb' with args: ["-P",5037,"-s","10.254.222.2:5555","shell","pm","list","packages","com.companyname.ourappname"] [AndroidDriver] Starting Android session [debug] [ADB] Running '/home/pandabat/androidSDK/platform-tools/adb' with args: ["-P",5037,"-s","10.254.222.2:5555","wait-for-device"] [debug] [ADB] Getting connected devices... [debug] [ADB] 1 device(s) connected [debug] [ADB] Running '/home/pandabat/androidSDK/platform-tools/adb' with args: ["-P",5037,"-s","10.254.222.2:5555","shell","echo","ping"] [debug] [Logcat] Starting logcat capture [debug] [AndroidDriver] Pushing settings apk to device... [debug] [ADB] Running '/home/pandabat/androidSDK/platform-tools/adb' with args: ["-P",5037,"-s","10.254.222.2:5555","install","/usr/lib/node_modules/appium/node_modules/io.appium.settings/bin/settings_apk-debug.apk"] [debug] [AndroidDriver] Pushing unlock helper app to device... [debug] [ADB] Running '/home/pandabat/androidSDK/platform-tools/adb' with args: ["-P",5037,"-s","10.254.222.2:5555","install","/usr/lib/node_modules/appium/node_modules/appium-unlock/bin/unlock_apk-debug.apk"] [ADB] Getting device platform version [debug] [ADB] Getting connected devices... [debug] [ADB] 1 device(s) connected [debug] [ADB] Running '/home/pandabat/androidSDK/platform-tools/adb' with args: ["-P",5037,"-s","10.254.222.2:5555","shell","getprop","ro.build.version.release"] [debug] [ADB] Getting connected devices... [debug] [ADB] 1 device(s) connected [debug] [ADB] Running '/home/pandabat/androidSDK/platform-tools/adb' with args: ["-P",5037,"-s","10.254.222.2:5555","shell","dumpsys","window"] [AndroidDriver] Screen already unlocked, doing nothing [AndroidDriver] No app sent in, not parsing package/activity [debug] [AndroidDriver] No app capability. Assuming it is already on the device [debug] [AndroidDriver] Running fast reset (stop and clear) [debug] [ADB] Getting connected devices... [debug] [ADB] 1 device(s) connected [debug] [ADB] Running '/home/pandabat/androidSDK/platform-tools/adb' with args: ["-P",5037,"-s","10.254.222.2:5555","shell","am","force-stop","com.companyname.ourappname"] [debug] [ADB] Getting connected devices... [debug] [ADB] 1 device(s) connected [debug] [ADB] Running '/home/pandabat/androidSDK/platform-tools/adb' with args: ["-P",5037,"-s","10.254.222.2:5555","shell","pm","clear","com.companyname.ourappname"] [debug] [AndroidBootstrap] Watching for bootstrap disconnect [debug] [ADB] Forwarding system: 4724 to device: 4724 [debug] [ADB] Running '/home/pandabat/androidSDK/platform-tools/adb' with args: ["-P",5037,"-s","10.254.222.2:5555","forward","tcp:4724","tcp:4724"] [debug] [UiAutomator] Starting UiAutomator [debug] [UiAutomator] Moving to state 'starting' [debug] [UiAutomator] Parsing uiautomator jar [debug] [UiAutomator] Found jar name: 'AppiumBootstrap.jar' [debug] [ADB] Running '/home/pandabat/androidSDK/platform-tools/adb' with args: ["-P",5037,"-s","10.254.222.2:5555","push","/usr/lib/node_modules/appium/node_modules/appium-android-bootstrap/bootstrap/bin/AppiumBootstrap.jar","/data/local/tmp/"] [debug] [ADB] Attempting to kill all uiautomator processes [debug] [ADB] Getting all processes with uiautomator [debug] [ADB] Getting connected devices... [debug] [ADB] 1 device(s) connected [debug] [ADB] Running '/home/pandabat/androidSDK/platform-tools/adb' with args: ["-P",5037,"-s","10.254.222.2:5555","shell","ps"] [ADB] No uiautomator process found to kill, continuing... [debug] [UiAutomator] Starting UIAutomator [debug] [ADB] Creating ADB subprocess with args: ["-P",5037,"-s","10.254.222.2:5555","shell","uiautomator","runtest","AppiumBootstrap.jar","-c","io.appium.android.bootstrap.Bootstrap","-e","pkg","com.companyname.ourappname","-e","disableAndroidWatchers",false,"-e","acceptSslCerts",false] [debug] [UiAutomator] Moving to state 'online' [AndroidBootstrap] Android bootstrap socket is now connected [debug] [ADB] Getting connected devices... [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Registered crash watchers. [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Client connected [debug] [ADB] 1 device(s) connected [debug] [ADB] Running '/home/pandabat/androidSDK/platform-tools/adb' with args: ["-P",5037,"-s","10.254.222.2:5555","shell","getprop","ro.build.version.sdk"] [debug] [ADB] Device API level: 19 [debug] [ADB] Getting connected devices... [debug] [ADB] 1 device(s) connected [debug] [ADB] Running '/home/pandabat/androidSDK/platform-tools/adb' with args: ["-P",5037,"-s","10.254.222.2:5555","shell","am","start","-W","-n","com.companyname.ourappname/.OurAppName","-S","-a","android.intent.action.MAIN","-c","android.intent.category.LAUNCHER","-f","0x10200000"] [Appium] New AndroidDriver session created successfully, session 9472c165-fbbe-4487-b198-0fef02eebef5 added to master session list [debug] [MJSONWP] Responding to client with driver.createSession() result: {"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"deviceName":"10.254.222.2:5555","automationName":"Appium","androidDeviceSocket":"com.companyname.ourappname_devtools_remote","browserName":"","platformVersion":"4.4.2","appPackage":"com.companyname.ourappname","platformName":"Android","appActivity":".OurAppName"},"deviceName":"10.254.222.2:5555","automationName":"Appium","androidDeviceSocket":"com.companyname.ourappname_devtools_remote","browserName":"","platformVersion":"4.4.2","appPackage":"com.companyname.ourappname","platformName":"Android","appActivity":".OurAppName","deviceUDID":"10.254.222.2:5555"} [HTTP] <-- POST /wd/hub/session 200 8946 ms - 814 [HTTP] --> GET /wd/hub/session/9472c165-fbbe-4487-b198-0fef02eebef5/contexts {} [debug] [MJSONWP] Calling AppiumDriver.getContexts() with args: ["9472c165-fbbe-4487-b198-0fef02eebef5"] [debug] [AndroidDriver] Getting a list of available webviews [debug] [ADB] Getting connected devices... [debug] [ADB] 1 device(s) connected [debug] [ADB] Running '/home/pandabat/androidSDK/platform-tools/adb' with args: ["-P",5037,"-s","10.254.222.2:5555","shell","cat","/proc/net/unix"] [debug] [AndroidDriver] Available contexts: ["NATIVE_APP","CHROMIUM"] [debug] [MJSONWP] Responding to client with driver.getContexts() result: ["NATIVE_APP","CHROMIUM"] [HTTP] <-- GET /wd/hub/session/9472c165-fbbe-4487-b198-0fef02eebef5/contexts 200 83 ms - 97 [HTTP] --> GET /wd/hub/session/9472c165-fbbe-4487-b198-0fef02eebef5/contexts {} [debug] [MJSONWP] Calling AppiumDriver.getContexts() with args: ["9472c165-fbbe-4487-b198-0fef02eebef5"] [debug] [AndroidDriver] Getting a list of available webviews [debug] [ADB] Getting connected devices... [debug] [ADB] 1 device(s) connected [debug] [ADB] Running '/home/pandabat/androidSDK/platform-tools/adb' with args: ["-P",5037,"-s","10.254.222.2:5555","shell","cat","/proc/net/unix"] [debug] [AndroidDriver] Available contexts: ["NATIVE_APP","CHROMIUM"] [debug] [MJSONWP] Responding to client with driver.getContexts() result: ["NATIVE_APP","CHROMIUM"] [HTTP] <-- GET /wd/hub/session/9472c165-fbbe-4487-b198-0fef02eebef5/contexts 200 100 ms - 97 [HTTP] --> POST /wd/hub/session/9472c165-fbbe-4487-b198-0fef02eebef5/appium/device/press_keycode {"sessionId":"9472c165-fbbe-4487-b198-0fef02eebef5","keycode":"22"} [debug] [MJSONWP] Calling AppiumDriver.pressKeyCode() with args: ["22",null,"9472c165-fbbe-4487-b198-0fef02eebef5",null,"9472c165-fbbe-4487-b198-0fef02eebef5",null,"9472c165-fbbe-4487-b198-0fef02eebef5",null,"9472c165-fbbe-4487-b198-0fef02eebef5",null,"9472c165-fbbe-4487-b198-0fef02eebef5",null,"9472c165-fbbe-4487-b198-0fef02eebef5"] [debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"pressKeyCode","params":{"keycode":"22","metastate":null}} [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"pressKeyCode","params":{"keycode":"22","metastate":null}} [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: pressKeyCode [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"value":true,"status":0} [debug] [AndroidBootstrap] Received command result from bootstrap [debug] [MJSONWP] Responding to client with driver.pressKeyCode() result: true [HTTP] <-- POST /wd/hub/session/9472c165-fbbe-4487-b198-0fef02eebef5/appium/device/press_keycode 200 18 ms - 76 [HTTP] --> POST /wd/hub/session/9472c165-fbbe-4487-b198-0fef02eebef5/appium/device/press_keycode {"sessionId":"9472c165-fbbe-4487-b198-0fef02eebef5","keycode":"21"} [debug] [MJSONWP] Calling AppiumDriver.pressKeyCode() with args: ["21",null,"9472c165-fbbe-4487-b198-0fef02eebef5",null,"9472c165-fbbe-4487-b198-0fef02eebef5",null,"9472c165-fbbe-4487-b198-0fef02eebef5",null,"9472c165-fbbe-4487-b198-0fef02eebef5",null,"9472c165-fbbe-4487-b198-0fef02eebef5",null,"9472c165-fbbe-4487-b198-0fef02eebef5",null,"9472c165-fbbe-4487-b198-0fef02eebef5"] [debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"pressKeyCode","params":{"keycode":"21","metastate":null}} [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"pressKeyCode","params":{"keycode":"21","metastate":null}} [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: pressKeyCode [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"value":true,"status":0} [debug] [AndroidBootstrap] Received command result from bootstrap [debug] [MJSONWP] Responding to client with driver.pressKeyCode() result: true [HTTP] <-- POST /wd/hub/session/9472c165-fbbe-4487-b198-0fef02eebef5/appium/device/press_keycode 200 28 ms - 76 [HTTP] --> POST /wd/hub/session/9472c165-fbbe-4487-b198-0fef02eebef5/context {"sessionId":"9472c165-fbbe-4487-b198-0fef02eebef5","name":"CHROMIUM"} [debug] [MJSONWP] Calling AppiumDriver.setContext() with args: ["CHROMIUM","9472c165-fbbe-4487-b198-0fef02eebef5"] [debug] [AndroidDriver] Getting a list of available webviews [debug] [ADB] Getting connected devices... [debug] [ADB] 1 device(s) connected [debug] [ADB] Running '/home/pandabat/androidSDK/platform-tools/adb' with args: ["-P",5037,"-s","10.254.222.2:5555","shell","cat","/proc/net/unix"] [debug] [AndroidDriver] Available contexts: ["NATIVE_APP","CHROMIUM"] [debug] [AndroidDriver] Connecting to chrome-backed webview context 'CHROMIUM' [debug] [AndroidDriver] A port was not given, using random port: 8001 [debug] [Chromedriver] Changed state to 'starting' [Chromedriver] Set chromedriver binary as: /usr/lib/node_modules/appium/node_modules/appium-chromedriver/chromedriver/linux/chromedriver_64 [Chromedriver] Killing any old chromedrivers, running: pkill -15 -f "/usr/lib/node_modules/appium/node_modules/appium-chromedriver/chromedriver/linux/chromedriver_64.*--port=8001" [Chromedriver] No old chromedrivers seemed to exist [Chromedriver] Spawning chromedriver with: /usr/lib/node_modules/appium/node_modules/appium-chromedriver/chromedriver/linux/chromedriver_64 --url-base=wd/hub --port=8001 --adb-port=5037 [Chromedriver] [STDOUT] Starting ChromeDriver 2.25.426924 (649f9b868f6783ec9de71c123212b908bf3b232e) on port 8001 Only local connections are allowed. [debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8001/wd/hub/status] with no body [debug] [JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"\",\"status\":0,\"value\":{\"build\":{\"version\":\"alpha\"},\"os\":{\"arch\":\"x86_64\",\"name\":\"Linux\",\"version\":\"4.9.13-101.fc24.x86_64\"}}}" [debug] [JSONWP Proxy] Proxying [POST /session] to [POST http://127.0.0.1:8001/wd/hub/session] with body: {"desiredCapabilities":{"chromeOptions":{"androidPackage":"com.companyname.ourappname","androidUseRunningApp":true,"androidDeviceSerial":"10.254.222.2:5555"}}} [debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"86ce8d7447f2163c169c77ccc269b5eb","status":100,"value":{"message":"chrome not reachable\n (Driver info: chromedriver=2.25.426924 (649f9b868f6783ec9de71c123212b908bf3b232e),platform=Linux 4.9.13-101.fc24.x86_64 x86_64)"}} [debug] [JSONWP Proxy] Proxying [POST /session] to [POST http://127.0.0.1:8000/wd/hub/session] with body: {"desiredCapabilities":{"chromeOptions":{"androidPackage":"com.companyname.ourappname","androidUseRunningApp":true,"androidDeviceSerial":"10.254.222.2:5555"}}} [debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"67fdb5639d1416eb3d74459acf2f982d","status":100,"value":{"message":"chrome not reachable\n (Driver info: chromedriver=2.25.426924 (649f9b868f6783ec9de71c123212b908bf3b232e),platform=Linux 4.9.13-101.fc24.x86_64 x86_64)"}} [debug] [JSONWP Proxy] Proxying [POST /session] to [POST http://127.0.0.1:8001/wd/hub/session] with body: {"desiredCapabilities":{"chromeOptions":{"androidPackage":"com.companyname.ourappname","androidUseRunningApp":true,"androidDeviceSerial":"10.254.222.2:5555"}}} [debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"04e062331d77f5662ca8064a86785782","status":100,"value":{"message":"chrome not reachable\n (Driver info: chromedriver=2.25.426924 (649f9b868f6783ec9de71c123212b908bf3b232e),platform=Linux 4.9.13-101.fc24.x86_64 x86_64)"}} [Chromedriver] Chromedriver exited unexpectedly with code null, signal SIGTERM [debug] [Chromedriver] Changed state to 'stopped' [Chromedriver] Error: chrome not reachable (Driver info: chromedriver=2.25.426924 (649f9b868f6783ec9de71c123212b908bf3b232e),platform=Linux 4.9.13-101.fc24.x86_64 x86_64) at Chromedriver.callee$2$0$ (../../lib/chromedriver.js:177:15) at tryCatch (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40) at GeneratorFunctionPrototype.invoke [as _invoke] (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22) at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21) at GeneratorFunctionPrototype.invoke (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37) at run (/usr/lib/node_modules/appium/node_modules/core-js/library/modules/es6.promise.js:108:47) at /usr/lib/node_modules/appium/node_modules/core-js/library/modules/es6.promise.js:119:28 at flush (/usr/lib/node_modules/appium/node_modules/core-js/library/modules/$.microtask.js:19:5) at nextTickCallbackWith0Args (node.js:436:9) at process._tickCallback (node.js:365:13) [Error: chrome not reachable (Driver info: chromedriver=2.25.426924 (649f9b868f6783ec9de71c123212b908bf3b232e),platform=Linux 4.9.13-101.fc24.x86_64 x86_64)] [debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"64295ac8d55ab902def05e2215e61594","status":100,"value":{"message":"chrome not reachable\n (Driver info: chromedriver=2.25.426924 (649f9b868f6783ec9de71c123212b908bf3b232e),platform=Linux 4.9.13-101.fc24.x86_64 x86_64)"}} [debug] [JSONWP Proxy] Proxying [POST /session] to [POST http://127.0.0.1:8001/wd/hub/session] with body: {"desiredCapabilities":{"chromeOptions":{"androidPackage":"com.companyname.ourappname","androidUseRunningApp":true,"androidDeviceSerial":"10.254.222.2:5555"}}} [debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"8c4c23c982c3559c20cb03f02d1658c8","status":100,"value":{"message":"chrome not reachable\n (Driver info: chromedriver=2.25.426924 (649f9b868f6783ec9de71c123212b908bf3b232e),platform=Linux 4.9.13-101.fc24.x86_64 x86_64)"}} [debug] [JSONWP Proxy] Proxying [POST /session] to [POST http://127.0.0.1:8001/wd/hub/session] with body: {"desiredCapabilities":{"chromeOptions":{"androidPackage":"com.companyname.ourappname","androidUseRunningApp":true,"androidDeviceSerial":"10.254.222.2:5555"}}} [debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"ea833d56adb9f31f4d1c776cf3e88823","status":100,"value":{"message":"chrome not reachable\n (Driver info: chromedriver=2.25.426924 (649f9b868f6783ec9de71c123212b908bf3b232e),platform=Linux 4.9.13-101.fc24.x86_64 x86_64)"}} [Chromedriver] Chromedriver exited unexpectedly with code null, signal SIGTERM [debug] [Chromedriver] Changed state to 'stopped' [Chromedriver] Error: chrome not reachable (Driver info: chromedriver=2.25.426924 (649f9b868f6783ec9de71c123212b908bf3b232e),platform=Linux 4.9.13-101.fc24.x86_64 x86_64) at Chromedriver.callee$2$0$ (../../lib/chromedriver.js:177:15) at tryCatch (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40) at GeneratorFunctionPrototype.invoke [as _invoke] (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22) at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21) at GeneratorFunctionPrototype.invoke (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37) at run (/usr/lib/node_modules/appium/node_modules/core-js/library/modules/es6.promise.js:108:47) at /usr/lib/node_modules/appium/node_modules/core-js/library/modules/es6.promise.js:119:28 at flush (/usr/lib/node_modules/appium/node_modules/core-js/library/modules/$.microtask.js:19:5) at nextTickCallbackWith0Args (node.js:436:9) at process._tickCallback (node.js:365:13) [Error: chrome not reachable (Driver info: chromedriver=2.25.426924 (649f9b868f6783ec9de71c123212b908bf3b232e),platform=Linux 4.9.13-101.fc24.x86_64 x86_64)] [MJSONWP] Encountered internal error running command: Error: chrome not reachable (Driver info: chromedriver=2.25.426924 (649f9b868f6783ec9de71c123212b908bf3b232e),platform=Linux 4.9.13-101.fc24.x86_64 x86_64) at Chromedriver.callee$2$0$ (../../lib/chromedriver.js:177:15) at tryCatch (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40) at GeneratorFunctionPrototype.invoke [as _invoke] (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22) at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21) at GeneratorFunctionPrototype.invoke (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37) at run (/usr/lib/node_modules/appium/node_modules/core-js/library/modules/es6.promise.js:108:47) at /usr/lib/node_modules/appium/node_modules/core-js/library/modules/es6.promise.js:119:28 at flush (/usr/lib/node_modules/appium/node_modules/core-js/library/modules/$.microtask.js:19:5) at nextTickCallbackWith0Args (node.js:436:9) at process._tickCallback (node.js:365:13) [HTTP] <-- POST /wd/hub/session/9472c165-fbbe-4487-b198-0fef02eebef5/context 500 245136 ms - 322 [HTTP] --> GET /wd/hub/session/9472c165-fbbe-4487-b198-0fef02eebef5/context {} [debug] [MJSONWP] Calling AppiumDriver.getCurrentContext() with args: ["9472c165-fbbe-4487-b198-0fef02eebef5"] [debug] [MJSONWP] Responding to client with driver.getCurrentContext() result: "NATIVE_APP" [HTTP] <-- GET /wd/hub/session/9472c165-fbbe-4487-b198-0fef02eebef5/context 200 4 ms - 84 [HTTP] --> POST /wd/hub/session/9472c165-fbbe-4487-b198-0fef02eebef5/context {"sessionId":"9472c165-fbbe-4487-b198-0fef02eebef5","name":"NATIVE_APP"} [debug] [MJSONWP] Calling AppiumDriver.setContext() with args: ["NATIVE_APP","9472c165-fbbe-4487-b198-0fef02eebef5"] [debug] [AndroidDriver] Getting a list of available webviews [debug] [ADB] Getting connected devices... [debug] [ADB] 1 device(s) connected [debug] [ADB] Running '/home/pandabat/androidSDK/platform-tools/adb' with args: ["-P",5037,"-s","10.254.222.2:5555","shell","cat","/proc/net/unix"] [debug] [AndroidDriver] Available contexts: ["NATIVE_APP","CHROMIUM"] [debug] [MJSONWP] Responding to client with driver.setContext() result: null [HTTP] <-- POST /wd/hub/session/9472c165-fbbe-4487-b198-0fef02eebef5/context 200 63 ms - 76 [HTTP] --> GET /wd/hub/session/9472c165-fbbe-4487-b198-0fef02eebef5/screenshot {} [debug] [MJSONWP] Calling AppiumDriver.getScreenshot() with args: ["9472c165-fbbe-4487-b198-0fef02eebef5"] [debug] [ADB] Getting connected devices... [debug] [ADB] 1 device(s) connected [debug] [ADB] Running '/home/pandabat/androidSDK/platform-tools/adb' with args: ["-P",5037,"-s","10.254.222.2:5555","shell","/system/bin/rm","/data/local/tmp/screenshot.png;","/system/bin/screencap","-p","/data/local/tmp/screenshot.png"] [debug] [ADB] Running '/home/pandabat/androidSDK/platform-tools/adb' with args: ["-P",5037,"-s","10.254.222.2:5555","pull","/data/local/tmp/screenshot.png","/tmp/appium117216-4383-eymrbc.png"] [debug] [ADB] Device API level: 19 [debug] [ADB] Getting connected devices... [debug] [ADB] 1 device(s) connected [debug] [ADB] Running '/home/pandabat/androidSDK/platform-tools/adb' with args: ["-P",5037,"-s","10.254.222.2:5555","shell","dumpsys","input"] [debug] [MJSONWP] Responding to client with driver.getScreenshot() result: "iVBORw0KGgoAAAANSUhEUgAAB4AAAAQ4CAYAAADo08FDAACAAElEQVR4AezBCbDfdX3w+/f7+z/nZN8OIQsJ+5bIoigiQVsEpa0ULOJadRSZXocKlrq0dTpXhio6VapTLM/QYYrLqHXtjNdaUZCOCy64QVs2IRB2kkAg+zkn5/y/n5vfif+T34khCYr3uU/7eb0EgpRSSimllFJKKaWUUkoppZRSSv/HK6SUUkoppZRSSimllFJKKaWUUvpvoZBSSimllFJKKaWUUkoppZRSSum/hUJKKaWUUkoppZRSSimllFJKKaX/FjrApaSUUkoppd/IjBkzOP744znjjDPYtGkTtVZOPfVULrzwQk455RT6+/vZunUrW7ZsIaWUUkoppZRSSimllH5b+kgppZRSSr+RFStWcNlll7Fo0SLe+ta3UkrhK1/5CqeccgoDAwM0xsbGWLlyJVdffTVXXHEFtVZSSimllFJKKaWUUkrpmdYBLiWllFJKKT1t06ZN4+KLL+azn/0sBxxwAH/6p3/K2rVrufHGG1m+fDmdToeIoNZKrZW5c+dyxhlncMYZZ/Dtb3+b9evXk1JKKaWUUkoppZRSSs+kPlJKKaWU0q/lfe97HxdddBGdTofLLruMn//851x77bUMDg4SETzwwAN8/vOf58Ybb2TdunU0Op0OJ5xwAh/4wAe45JJLWLlyJSmllFJKKaWUUkoppfRM6SOllFJKKT1tr3zlK3n3u99N48EHH+Sf//mfOf/88znmmGO46667+OhHP8qXvvQlDjnkEA444ACWLVtGf38/a9as4aabbuLTn/40pRRUIoLd+eAHP0in0+GJJ57gqquuYuPGjezO4OAgb3vb25gzZw5f+9rX+M53vkPjnHPO4UUvehHXXXcd119/PRHB7px77rmccsopfPzjH+f222+nrb+/n2OPPZYXvvCFnHrqqSxZsoStW7eyevVqfvzjH3P99ddzxx130LNw4UJOOukkTjvtNJYtW8bs2bN59NFH+f73... [HTTP] <-- GET /wd/hub/session/9472c165-fbbe-4487-b198-0fef02eebef5/screenshot 200 5664 ms - 1989662 [HTTP] --> POST /wd/hub/session/9472c165-fbbe-4487-b198-0fef02eebef5/context {"sessionId":"9472c165-fbbe-4487-b198-0fef02eebef5","name":"NATIVE_APP"} [debug] [MJSONWP] Calling AppiumDriver.setContext() with args: ["NATIVE_APP","9472c165-fbbe-4487-b198-0fef02eebef5"] [debug] [AndroidDriver] Getting a list of available webviews [debug] [ADB] Getting connected devices... [debug] [ADB] 1 device(s) connected [debug] [ADB] Running '/home/pandabat/androidSDK/platform-tools/adb' with args: ["-P",5037,"-s","10.254.222.2:5555","shell","cat","/proc/net/unix"] [debug] [AndroidDriver] Available contexts: ["NATIVE_APP","CHROMIUM"] [debug] [MJSONWP] Responding to client with driver.setContext() result: null [HTTP] <-- POST /wd/hub/session/9472c165-fbbe-4487-b198-0fef02eebef5/context 200 73 ms - 76 [HTTP] --> POST /wd/hub/session/9472c165-fbbe-4487-b198-0fef02eebef5/context {"sessionId":"9472c165-fbbe-4487-b198-0fef02eebef5","name":"CHROMIUM"} [debug] [MJSONWP] Calling AppiumDriver.setContext() with args: ["CHROMIUM","9472c165-fbbe-4487-b198-0fef02eebef5"] [debug] [AndroidDriver] Getting a list of available webviews [debug] [ADB] Getting connected devices... [debug] [ADB] 1 device(s) connected [debug] [ADB] Running '/home/pandabat/androidSDK/platform-tools/adb' with args: ["-P",5037,"-s","10.254.222.2:5555","shell","cat","/proc/net/unix"] [debug] [AndroidDriver] Available contexts: ["NATIVE_APP","CHROMIUM"] [debug] [AndroidDriver] Connecting to chrome-backed webview context 'CHROMIUM' [debug] [AndroidDriver] A port was not given, using random port: 8000 [debug] [Chromedriver] Changed state to 'starting' [Chromedriver] Set chromedriver binary as: /usr/lib/node_modules/appium/node_modules/appium-chromedriver/chromedriver/linux/chromedriver_64 [Chromedriver] Killing any old chromedrivers, running: pkill -15 -f "/usr/lib/node_modules/appium/node_modules/appium-chromedriver/chromedriver/linux/chromedriver_64.*--port=8000" [Chromedriver] No old chromedrivers seemed to exist [Chromedriver] Spawning chromedriver with: /usr/lib/node_modules/appium/node_modules/appium-chromedriver/chromedriver/linux/chromedriver_64 --url-base=wd/hub --port=8000 --adb-port=5037 [Chromedriver] [STDOUT] Starting ChromeDriver 2.25.426924 (649f9b868f6783ec9de71c123212b908bf3b232e) on port 8000 Only local connections are allowed. [debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8000/wd/hub/status] with no body [debug] [JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"\",\"status\":0,\"value\":{\"build\":{\"version\":\"alpha\"},\"os\":{\"arch\":\"x86_64\",\"name\":\"Linux\",\"version\":\"4.9.13-101.fc24.x86_64\"}}}" [debug] [JSONWP Proxy] Proxying [POST /session] to [POST http://127.0.0.1:8000/wd/hub/session] with body: {"desiredCapabilities":{"chromeOptions":{"androidPackage":"com.companyname.ourappname","androidUseRunningApp":true,"androidDeviceSerial":"10.254.222.2:5555"}}} [debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"c0e121d16e19cdb9df1ba2ce708a9287","status":100,"value":{"message":"chrome not reachable\n (Driver info: chromedriver=2.25.426924 (649f9b868f6783ec9de71c123212b908bf3b232e),platform=Linux 4.9.13-101.fc24.x86_64 x86_64)"}} [debug] [JSONWP Proxy] Proxying [POST /session] to [POST http://127.0.0.1:8000/wd/hub/session] with body: {"desiredCapabilities":{"chromeOptions":{"androidPackage":"com.companyname.ourappname","androidUseRunningApp":true,"androidDeviceSerial":"10.254.222.2:5555"}}} [debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"e8df15db3ec041be86bc83ce16d9a3cc","status":100,"value":{"message":"chrome not reachable\n (Driver info: chromedriver=2.25.426924 (649f9b868f6783ec9de71c123212b908bf3b232e),platform=Linux 4.9.13-101.fc24.x86_64 x86_64)"}} [debug] [JSONWP Proxy] Proxying [POST /session] to [POST http://127.0.0.1:8000/wd/hub/session] with body: {"desiredCapabilities":{"chromeOptions":{"androidPackage":"com.companyname.ourappname","androidUseRunningApp":true,"androidDeviceSerial":"10.254.222.2:5555"}}} "