Unsure if anyone else has seen this. But it looks like a disconnect has occurred recently between ADB and chromedriver (That we use in appium). It appears as though chromedriver creates the session correctly, but then adb returns “OKAYOKAY” at some point setting up port forwarding and it then decides the setup didn’t work. I have chrome 77.0.3865.92 on the phone, and am using ChromeDriver 77.0.3865.40. The end of the chromedriver log is as follows:
[1633551056.610][DEBUG]: Sending adb command: host:transport:accf5280|shell:grep -a '@webview_devtools_remote_.*15297' /proc/net/unix
[1633551056.638][DEBUG]: Received adb response: 0000000000000000: 00000002 00000000 00010000 0001 01 16666183 @webview_devtools_remote_15297
[1633551056.638][DEBUG]: Sending adb command: host-serial:accf5280:forward:tcp:0;localabstract:webview_devtools_remote_15297
[1633551056.639][DEBUG]: ADB server responded with "OKAYOKAY" instead of "OKAY".
[1633551056.639][DEBUG]: Received adb response: 50185
[1633551056.639][DEBUG]: DevTools HTTP Request: http://localhost:50185/json/version
[1633551056.645][DEBUG]: DevTools HTTP Response: {
"Android-Package": "com.testapp.package",
"Browser": "Chrome/77.0.3865.92",
"Protocol-Version": "1.3",
"User-Agent": "Mozilla/5.0 (Linux; Android 8.0.0; SM-G935V Build/R16NW; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/77.0.3865.92 Mobile Safari/537.36",
"V8-Version": "7.7.299.11",
"WebKit-Version": "537.36 (@293f9bc46ce2af24bdbc1f632a37e87fa5247385)",
"webSocketDebuggerUrl": "ws://localhost:50185/devtools/browser"
}
[1633551056.645][INFO]: [c3e257ce5d46e12b3bacc6f43dc1395d] RESPONSE InitSession ERROR session not created: please close 'com.tripadvisor.tripadvisor.prerelease' and try again
The issue seems to be the disconnect between expecting “OKAY” but receiving “OKAYOKAY”. Any assistance here would be much appreciated. Thanks!