Skip to content

Instantly share code, notes, and snippets.

@roddymunro
Created November 5, 2019 16:09
Show Gist options
  • Save roddymunro/1778d2a0c98d1eddb5b0d52225d64dd8 to your computer and use it in GitHub Desktop.
Save roddymunro/1778d2a0c98d1eddb5b0d52225d64dd8 to your computer and use it in GitHub Desktop.
appium chrome custom tab log
[HTTP] {}
[W3C (148f8c38)] Calling AppiumDriver.getContexts() with args: ["148f8c38-96c5-493c-bd46-54631443d67f"]
[AndroidDriver] Getting a list of available webviews
[ADB] Running '/Users/roddymunro/Library/Android/sdk/platform-tools/adb -P 5037 -s RF8M13B5AGR shell cat /proc/net/unix'
[AndroidDriver] Not checking whether webviews have active pages; use the 'ensureWebviewsHavePages' cap to turn this check on
[AndroidDriver] Found webviews: ["WEBVIEW_Terrace"]
[AndroidDriver] Available contexts: ["NATIVE_APP","WEBVIEW_Terrace"]
[W3C (148f8c38)] Responding to client with driver.getContexts() result: ["NATIVE_APP","WEBVIEW_Terrace"]
[HTTP] <-- GET /wd/hub/session/148f8c38-96c5-493c-bd46-54631443d67f/contexts 200 60 ms - 42
[HTTP]
[HTTP] --> POST /wd/hub/session/148f8c38-96c5-493c-bd46-54631443d67f/context
[HTTP] {"name":"WEBVIEW_Terrace"}
[W3C (148f8c38)] Calling AppiumDriver.setContext() with args: ["WEBVIEW_Terrace","148f8c38-96c5-493c-bd46-54631443d67f"]
[AndroidDriver] Getting a list of available webviews
[ADB] Running '/Users/roddymunro/Library/Android/sdk/platform-tools/adb -P 5037 -s RF8M13B5AGR shell cat /proc/net/unix'
[AndroidDriver] Not checking whether webviews have active pages; use the 'ensureWebviewsHavePages' cap to turn this check on
[AndroidDriver] Found webviews: ["WEBVIEW_Terrace"]
[AndroidDriver] Available contexts: ["NATIVE_APP","WEBVIEW_Terrace"]
[AndroidDriver] Connecting to chrome-backed webview context 'WEBVIEW_Terrace'
[AndroidDriver] A port was not given, using random free port: 8000
[AndroidDriver] Automated Chromedriver download is disabled. Use 'chromedriver_autodownload' server feature to enable it
[AndroidDriver] Before starting chromedriver, androidPackage is '###'
[Chromedriver] Changed state to 'starting'
[Chromedriver] Set chromedriver binary as: /Users/roddymunro/Library/Chromedriver/chromedriver
[Chromedriver] Killing any old chromedrivers, running: pkill -15 -f "/Users/roddymunro/Library/Chromedriver/chromedriver.*--port=8000"
[Chromedriver] No old chromedrivers seem to exist
[Chromedriver] Cleaning any old adb forwarded port socket connections
[ADB] List forwarding ports
[ADB] Running '/Users/roddymunro/Library/Android/sdk/platform-tools/adb -P 5037 -s RF8M13B5AGR forward --list'
[Chromedriver] Spawning chromedriver with: /Users/roddymunro/Library/Chromedriver/chromedriver --url-base=wd/hub --port=8000 --adb-port=5037 --verbose
[Chromedriver] Chromedriver version: '77.0.3865.40'
[WD Proxy] Matched '/status' to command name 'getStatus'
[WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8000/wd/hub/status] with no body
[WD Proxy] Got an unexpected response with status undefined: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8000}
[WD Proxy] Matched '/status' to command name 'getStatus'
[WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8000/wd/hub/status] with no body
[WD Proxy] Got response with status 200: {"value":{"build":{"version":"77.0.3865.40 (f484704e052e0b556f8030b65b953dce96503217-refs/branch-heads/3865@{#442})"},"message":"ChromeDriver ready for new sessions.","os":{"arch":"x86_64","name":"Mac OS X","version":"10.15.0"},"ready":true}}
[Chromedriver] Starting W3C Chromedriver session with capabilities: {
[Chromedriver] "capabilities": {
[Chromedriver] "alwaysMatch": {
[Chromedriver] "goog:chromeOptions": {
[Chromedriver] "androidPackage": "###",
[Chromedriver] "androidUseRunningApp": true,
[Chromedriver] "androidDeviceSerial": "RF8M13B5AGR"
[Chromedriver] },
[Chromedriver] "goog:loggingPrefs": {
[Chromedriver] "browser": "ALL"
[Chromedriver] }
[Chromedriver] }
[Chromedriver] }
[Chromedriver] }
[WD Proxy] Matched '/session' to command name 'createSession'
[WD Proxy] Proxying [POST /session] to [POST http://127.0.0.1:8000/wd/hub/session] with body: {"capabilities":{"alwaysMatch":{"goog:chromeOptions":{"androidPackage":"###","androidUseRunningApp":true,"androidDeviceSerial":"RF8M13B5AGR"},"goog:loggingPrefs":{"browser":"ALL"}}}}
[WD Proxy] Got an unexpected response with status 500: {"value":{"error":"unknown error","message":"unknown error: Failed to get sockets matching: @webview_devtools_remote_.*21896\n (make sure the app has its WebView configured for debugging)","stacktrace":"0 chromedriver 0x0000000107714f09 chromedriver + 3694345\n1 chromedriver 0x00000001076a1fd3 chromedriver + 3223507\n2 chromedriver 0x000000010744158f chromedriver + 730511\n3 chromedriver 0x000000010742932b chromedriver + 631595\n4 chromedriver 0x0000000107431ded chromedriver + 667117\n5 chromedriver 0x0000000107431bd7 chromedriver + 666583\n6 chromedriver 0x00000001073a12ed chromedriver + 74477\n7 chromedriver 0x00000001073d0b71 chromedriver + 269169\n8 chromedriver 0x00000001073cde83 chromedriver + 257667\n9 chromedriver 0x00000001073a923d chromedriver + 1070...
[W3C] Matched W3C error code 'unknown error' to UnknownError
[Chromedriver] Failed to start Chromedriver session: An unknown server-side error occurred while processing the command. Original error: unknown error: Failed to get sockets matching: @webview_devtools_remote_.*21896
[Chromedriver] (make sure the app has its WebView configured for debugging)
[WD Proxy] Matched '/session' to command name 'createSession'
[WD Proxy] Proxying [POST /session] to [POST http://127.0.0.1:8000/wd/hub/session] with body: {"capabilities":{"alwaysMatch":{"goog:chromeOptions":{"androidPackage":"###","androidUseRunningApp":true,"androidDeviceSerial":"RF8M13B5AGR"},"goog:loggingPrefs":{"browser":"ALL"}}}}
[WD Proxy] Got an unexpected response with status 500: {"value":{"error":"unknown error","message":"unknown error: Failed to get sockets matching: @webview_devtools_remote_.*21896\n (make sure the app has its WebView configured for debugging)","stacktrace":"0 chromedriver 0x0000000107714f09 chromedriver + 3694345\n1 chromedriver 0x00000001076a1fd3 chromedriver + 3223507\n2 chromedriver 0x000000010744158f chromedriver + 730511\n3 chromedriver 0x000000010742932b chromedriver + 631595\n4 chromedriver 0x0000000107431ded chromedriver + 667117\n5 chromedriver 0x0000000107431bd7 chromedriver + 666583\n6 chromedriver 0x00000001073a12ed chromedriver + 74477\n7 chromedriver 0x00000001073d0b71 chromedriver + 269169\n8 chromedriver 0x00000001073cde83 chromedriver + 257667\n9 chromedriver 0x00000001073a923d chromedriver + 1070...
[W3C] Matched W3C error code 'unknown error' to UnknownError
[Chromedriver] Failed to start Chromedriver session: An unknown server-side error occurred while processing the command. Original error: unknown error: Failed to get sockets matching: @webview_devtools_remote_.*21896
[Chromedriver] (make sure the app has its WebView configured for debugging)
[WD Proxy] Matched '/session' to command name 'createSession'
[WD Proxy] Proxying [POST /session] to [POST http://127.0.0.1:8000/wd/hub/session] with body: {"capabilities":{"alwaysMatch":{"goog:chromeOptions":{"androidPackage":"###","androidUseRunningApp":true,"androidDeviceSerial":"RF8M13B5AGR"},"goog:loggingPrefs":{"browser":"ALL"}}}}
[WD Proxy] Got an unexpected response with status 500: {"value":{"error":"unknown error","message":"unknown error: Failed to get sockets matching: @webview_devtools_remote_.*21896\n (make sure the app has its WebView configured for debugging)","stacktrace":"0 chromedriver 0x0000000107714f09 chromedriver + 3694345\n1 chromedriver 0x00000001076a1fd3 chromedriver + 3223507\n2 chromedriver 0x000000010744158f chromedriver + 730511\n3 chromedriver 0x000000010742932b chromedriver + 631595\n4 chromedriver 0x0000000107431ded chromedriver + 667117\n5 chromedriver 0x0000000107431bd7 chromedriver + 666583\n6 chromedriver 0x00000001073a12ed chromedriver + 74477\n7 chromedriver 0x00000001073d0b71 chromedriver + 269169\n8 chromedriver 0x00000001073cde83 chromedriver + 257667\n9 chromedriver 0x00000001073a923d chromedriver + 1070...
[W3C] Matched W3C error code 'unknown error' to UnknownError
[Chromedriver] Failed to start Chromedriver session: An unknown server-side error occurred while processing the command. Original error: unknown error: Failed to get sockets matching: @webview_devtools_remote_.*21896
[Chromedriver] (make sure the app has its WebView configured for debugging)
[WD Proxy] Matched '/session' to command name 'createSession'
[WD Proxy] Proxying [POST /session] to [POST http://127.0.0.1:8000/wd/hub/session] with body: {"capabilities":{"alwaysMatch":{"goog:chromeOptions":{"androidPackage":"###","androidUseRunningApp":true,"androidDeviceSerial":"RF8M13B5AGR"},"goog:loggingPrefs":{"browser":"ALL"}}}}
[WD Proxy] Got an unexpected response with status 500: {"value":{"error":"unknown error","message":"unknown error: Failed to get sockets matching: @webview_devtools_remote_.*21896\n (make sure the app has its WebView configured for debugging)","stacktrace":"0 chromedriver 0x0000000107714f09 chromedriver + 3694345\n1 chromedriver 0x00000001076a1fd3 chromedriver + 3223507\n2 chromedriver 0x000000010744158f chromedriver + 730511\n3 chromedriver 0x000000010742932b chromedriver + 631595\n4 chromedriver 0x0000000107431ded chromedriver + 667117\n5 chromedriver 0x0000000107431bd7 chromedriver + 666583\n6 chromedriver 0x00000001073a12ed chromedriver + 74477\n7 chromedriver 0x00000001073d0b71 chromedriver + 269169\n8 chromedriver 0x00000001073cde83 chromedriver + 257667\n9 chromedriver 0x00000001073a923d chromedriver + 1070...
[W3C] Matched W3C error code 'unknown error' to UnknownError
[Chromedriver] Failed to start Chromedriver session: An unknown server-side error occurred while processing the command. Original error: unknown error: Failed to get sockets matching: @webview_devtools_remote_.*21896
[Chromedriver] (make sure the app has its WebView configured for debugging)
[Chromedriver] Chromedriver exited unexpectedly with code null, signal SIGTERM
[Chromedriver] Changed state to 'stopped'
[Chromedriver] Error: An unknown server-side error occurred while processing the command. Original error: unknown error: Failed to get sockets matching: @webview_devtools_remote_.*21896
[Chromedriver] (make sure the app has its WebView configured for debugging)
[Chromedriver] at Object.wrappedLogger.errorAndThrow (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-support/lib/logging.js:79:13)
[Chromedriver] at Chromedriver.errorAndThrow [as start] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-chromedriver/lib/chromedriver.js:540:11)
[W3C (148f8c38)] Encountered internal error running command: Error: An unknown server-side error occurred while processing the command. Original error: unknown error: Failed to get sockets matching: @webview_devtools_remote_.*21896
[W3C (148f8c38)] (make sure the app has its WebView configured for debugging)
[W3C (148f8c38)] at Object.wrappedLogger.errorAndThrow (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-support/lib/logging.js:79:13)
[W3C (148f8c38)] at Chromedriver.errorAndThrow [as start] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-chromedriver/lib/chromedriver.js:540:11)
[HTTP] <-- POST /wd/hub/session/148f8c38-96c5-493c-bd46-54631443d67f/context 500 2030 ms - 1017
[HTTP]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment