Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save MummanaSubramanya/9ebc61a8cd6e2e5adcf60a70a6df48d2 to your computer and use it in GitHub Desktop.
Save MummanaSubramanya/9ebc61a8cd6e2e5adcf60a70a6df48d2 to your computer and use it in GitHub Desktop.
An unknown server-side error occurred while processing the command. Original error: Could not proxy command to remote server.
[Appium] New AndroidUiautomator2Driver session created successfully, session e4db4bd8-1212-4eee-8890-d1f40abff721 added to master session list
[debug] [BaseDriver] Event 'newSessionStarted' logged at 1540292152712 (12:55:52 GMT+0200 (Romance Daylight Time))
[debug] [W3C] Cached the protocol value 'W3C' for the new session e4db4bd8-1212-4eee-8890-d1f40abff721
[debug] [W3C] 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","automationName":"UIAutomator2","platformVersion":"8.0","deviceName":"Galaxy S8","printPageSourceOnFindFailure":true,"appPackage":"com.xxx.xxx","appActivity":".MainActivity","autoWebview":true,"nativeWebScreenshot":true,"newCommandTimeout":500,"chromedriverUseSystemExecutable":false},"platformName":"Android","automationName":"UIAutomator2","platformVersion":"8.0.0","deviceName":"ce0718276bf16a2901","printPageSourceOnFindFailure":true,"appPackage":"com.xxx.xxx","appActivity":".MainActivity","autoWebview":true,"nativeWebScreenshot":true,"newCommandTimeout":500,"chromedriverUseSystemExecutable":false,"deviceUDID":"ce0718276bf16a2901","deviceScreenSize":"1440x2960","deviceScreenDensity":640,"deviceModel":"SM-G950F","deviceManufacturer":"samsung","deviceApiLeve...
[HTTP] <-- POST /wd/hub/session 200 33676 ms - 1187
[HTTP]
[HTTP] --> POST /wd/hub/session/e4db4bd8-1212-4eee-8890-d1f40abff721/element
[HTTP] {"using":"xpath","value":"//input[@ng-model='user.user']"}
[W3C] Driver proxy active, passing request on via HTTP proxy
[debug] [JSONWP Proxy] Matched '/wd/hub/session/e4db4bd8-1212-4eee-8890-d1f40abff721/element' to command name 'findElement'
[debug] [JSONWP Proxy] Proxying [POST /wd/hub/session/e4db4bd8-1212-4eee-8890-d1f40abff721/element] to [POST http://127.0.0.1:8000/wd/hub/session/735d1ab927f3b149bd6648c535199641/element] with body: {"using":"xpath","value":"//input[@ng-model='user.user']"}
[debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"735d1ab927f3b149bd6648c535199641","status":0,"value":{"ELEMENT":"0.062111065885706696-1"}}
[JSONWP Proxy] Replacing sessionId 735d1ab927f3b149bd6648c535199641 with e4db4bd8-1212-4eee-8890-d1f40abff721
[HTTP] <-- POST /wd/hub/session/e4db4bd8-1212-4eee-8890-d1f40abff721/element 200 184 ms - 108
[HTTP]
[HTTP] --> POST /wd/hub/session/e4db4bd8-1212-4eee-8890-d1f40abff721/element
[HTTP] {"using":"xpath","value":"//input[@ng-model='user.user']"}
[W3C] Driver proxy active, passing request on via HTTP proxy
[debug] [JSONWP Proxy] Matched '/wd/hub/session/e4db4bd8-1212-4eee-8890-d1f40abff721/element' to command name 'findElement'
[debug] [JSONWP Proxy] Proxying [POST /wd/hub/session/e4db4bd8-1212-4eee-8890-d1f40abff721/element] to [POST http://127.0.0.1:8000/wd/hub/session/735d1ab927f3b149bd6648c535199641/element] with body: {"using":"xpath","value":"//input[@ng-model='user.user']"}
[debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"735d1ab927f3b149bd6648c535199641","status":0,"value":{"ELEMENT":"0.062111065885706696-1"}}
[JSONWP Proxy] Replacing sessionId 735d1ab927f3b149bd6648c535199641 with e4db4bd8-1212-4eee-8890-d1f40abff721
[HTTP] <-- POST /wd/hub/session/e4db4bd8-1212-4eee-8890-d1f40abff721/element 200 83 ms - 108
[HTTP]
[HTTP] --> POST /wd/hub/session/e4db4bd8-1212-4eee-8890-d1f40abff721/element/0.062111065885706696-1/value
[HTTP] {"text":"test_xxx@xxxtl.be","value":["t","e","s","t","_","f","l","i","x","@","f","p","t","l",".","b","e"]}
[W3C] Driver proxy active, passing request on via HTTP proxy
[debug] [JSONWP Proxy] Matched '/wd/hub/session/e4db4bd8-1212-4eee-8890-d1f40abff721/element/0.062111065885706696-1/value' to command name 'setValue'
[debug] [JSONWP Proxy] Proxying [POST /wd/hub/session/e4db4bd8-1212-4eee-8890-d1f40abff721/element/0.062111065885706696-1/value] to [POST http://127.0.0.1:8000/wd/hub/session/735d1ab927f3b149bd6648c535199641/element/0.062111065885706696-1/value] with body: {"text":"test_xxx@xxxtl.be","value":["t","e","s","t","_","f","l","i","x","@","f","p","t","l",".","b","e"]}
[BaseDriver] Shutting down because we waited 500 seconds for a command
[debug] [UiAutomator2] Deleting UiAutomator2 session
[debug] [UiAutomator2] Deleting UiAutomator2 server session
[debug] [JSONWP Proxy] Matched '/' to command name 'deleteSession'
[debug] [JSONWP Proxy] Proxying [DELETE /] to [DELETE http://localhost:8208/wd/hub/session/48c47090-20e8-4c36-bf9f-15d9549c9aba] with no body
[Appium] Closing session, cause was 'New Command Timeout of 500 seconds expired. Try customizing the timeout using the 'newCommandTimeout' desired capability'
[Appium] Removing session 4fca0eb3-0b5e-423e-85ec-746f8f8144b3 from our master session list
[debug] [JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"48c47090-20e8-4c36-bf9f-15d9549c9aba\",\"status\":0,\"value\":\"Session deleted\"}"
[debug] [ADB] Running 'C:\AndroidSDK\platform-tools\adb.exe -P 5037 -s ce0718276bf16a2901 shell am force-stop com.xxx.xxx'
[debug] [Logcat] Stopping logcat capture
[debug] [ADB] Removing forwarded port socket connection: 8208
[debug] [ADB] Running 'C:\AndroidSDK\platform-tools\adb.exe -P 5037 -s ce0718276bf16a2901 forward --remove tcp\:8208'
[debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"735d1ab927f3b149bd6648c535199641","status":0,"value":null}
[JSONWP Proxy] Replacing sessionId 735d1ab927f3b149bd6648c535199641 with e4db4bd8-1212-4eee-8890-d1f40abff721
[HTTP] <-- POST /wd/hub/session/e4db4bd8-1212-4eee-8890-d1f40abff721/element/0.062111065885706696-1/value 200 1022 ms - 76
[HTTP]
[HTTP] --> POST /wd/hub/session/e4db4bd8-1212-4eee-8890-d1f40abff721/appium/device/hide_keyboard
[HTTP] {}
[debug] [W3C] Calling AppiumDriver.hideKeyboard() with args: [null,null,null,null,"e4db4bd8-1212-4eee-8890-d1f40abff721"]
[debug] [ADB] Running 'C:\AndroidSDK\platform-tools\adb.exe -P 5037 -s ce0718276bf16a2901 shell dumpsys input_method'
[debug] [UiAutomator2] [UIAutomator2] io.appium.uiautomator2.server.test.AppiumUiAutomator2Server:.
[debug] [UiAutomator2] [UIAutomator2] Time: 14.077
[debug] [UiAutomator2] [UIAutomator2] OK (1 test)
[debug] [W3C] Encountered internal error running command: Error: Soft keyboard not present, cannot hide keyboard
[debug] [W3C] at AndroidUiautomator2Driver.callee$0$0$ (C:\node_modules\appium\node_modules\appium-android-driver\lib\commands\general.js:72:11)
[debug] [W3C] at tryCatch (C:\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:67:40)
[debug] [W3C] at GeneratorFunctionPrototype.invoke [as _invoke] (C:\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:315:22)
[debug] [W3C] at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (C:\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:100:21)
[debug] [W3C] at GeneratorFunctionPrototype.invoke (C:\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:136:37)
[debug] [W3C] at <anonymous>
[HTTP] <-- POST /wd/hub/session/e4db4bd8-1212-4eee-8890-d1f40abff721/appium/device/hide_keyboard 500 1716 ms - 1143
[HTTP]
[HTTP] --> POST /wd/hub/session/e4db4bd8-1212-4eee-8890-d1f40abff721/element
[HTTP] {"using":"xpath","value":"//input[@ng-model='user.password']"}
[W3C] Driver proxy active, passing request on via HTTP proxy
[debug] [JSONWP Proxy] Matched '/wd/hub/session/e4db4bd8-1212-4eee-8890-d1f40abff721/element' to command name 'findElement'
[debug] [JSONWP Proxy] Proxying [POST /wd/hub/session/e4db4bd8-1212-4eee-8890-d1f40abff721/element] to [POST http://127.0.0.1:8000/wd/hub/session/735d1ab927f3b149bd6648c535199641/element] with body: {"using":"xpath","value":"//input[@ng-model='user.password']"}
[debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"735d1ab927f3b149bd6648c535199641","status":100,"value":{"message":"chrome not reachable\n (Session info: chrome=70.0.3538.64)\n (Driver info: chromedriver=2.42.591088 (7b2b2dca23cca0862f674758c9a3933e685c27d5),platform=Windows NT 10.0.17134 x86_64)"}}
[debug] [W3C] Encountered internal error running command: ProxyRequestError: Could not proxy command to remote server. Original error: The request to /wd/hub/session/e4db4bd8-1212-4eee-8890-d1f40abff721/element has failed
[debug] [W3C] at JWProxy.proxy$ (C:\node_modules\appium\node_modules\appium-base-driver\lib\jsonwp-proxy\proxy.js:182:13)
[debug] [W3C] at tryCatch (C:\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:67:40)
[debug] [W3C] at GeneratorFunctionPrototype.invoke [as _invoke] (C:\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:315:22)
[debug] [W3C] at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (C:\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:100:21)
[debug] [W3C] at GeneratorFunctionPrototype.invoke (C:\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:136:37)
[debug] [W3C] at <anonymous>
[debug] [MJSONWP] Matched JSONWP error code 100 to UnknownError
[HTTP] <-- POST /wd/hub/session/e4db4bd8-1212-4eee-8890-d1f40abff721/element 500 1366 ms - 1556
[HTTP]
[HTTP] --> GET /wd/hub/session/e4db4bd8-1212-4eee-8890-d1f40abff721/screenshot
[HTTP] {}
[debug] [W3C] Calling AppiumDriver.getScreenshot() with args: ["e4db4bd8-1212-4eee-8890-d1f40abff721"]
[debug] [JSONWP Proxy] Matched '/screenshot' to command name 'getScreenshot'
[debug] [JSONWP Proxy] Proxying [GET /screenshot] to [GET http://localhost:8205/wd/hub/session/af4d7487-49f5-4edf-978e-707803e7cf14/screenshot] with no body
[debug] [W3C] 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
[debug] [W3C] at JWProxy.command$ (C:\node_modules\appium\node_modules\appium-base-driver\lib\jsonwp-proxy\proxy.js:238:13)
[debug] [W3C] at tryCatch (C:\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:67:40)
[debug] [W3C] at GeneratorFunctionPrototype.invoke [as _invoke] (C:\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:315:22)
[debug] [W3C] at GeneratorFunctionPrototype.prototype.(anonymous function) [as throw] (C:\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:100:21)
[debug] [W3C] at GeneratorFunctionPrototype.invoke (C:\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:136:37)
[debug] [W3C] at <anonymous>
[HTTP] <-- GET /wd/hub/session/e4db4bd8-1212-4eee-8890-d1f40abff721/screenshot 500 44 ms - 1090
[HTTP]
[HTTP] --> POST /wd/hub/session/e4db4bd8-1212-4eee-8890-d1f40abff721/appium/app/close
[HTTP] {}
[debug] [W3C] Calling AppiumDriver.closeApp() with args: ["e4db4bd8-1212-4eee-8890-d1f40abff721"]
[debug] [ADB] Running 'C:\AndroidSDK\platform-tools\adb.exe -P 5037 -s ce0718276bf16a2901 shell am force-stop com.xxx.xxx'
[debug] [AndroidDriver] Stopping chromedriver for context WEBVIEW_com.xxx.xxx
[debug] [Chromedriver] Changed state to 'stopping'
[debug] [JSONWP Proxy] Proxying [DELETE /] to [DELETE http://127.0.0.1:8000/wd/hub/session/735d1ab927f3b149bd6648c535199641] with no body
[debug] [JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"735d1ab927f3b149bd6648c535199641\",\"status\":0,\"value\":null}"
[debug] [Chromedriver] Changed state to 'stopped'
[debug] [W3C] Responding to client with driver.closeApp() result: null
[HTTP] <-- POST /wd/hub/session/e4db4bd8-1212-4eee-8890-d1f40abff721/appium/app/close 200 278 ms - 14
[HTTP]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment