Katalon Studio v5.8 - It's time for the all-new API testing experience
Mark Ivan S Berbenzana
Katalon Apprentice
10/11/2018
edited October 11

There's a ECONNRESET error when I launch Mobile Recorder

Here's the logs on the launcher when starting the app:


[35m[Appium][39m Welcome to Appium v1.8.1
[35m[Appium][39m Non-default server args:
[35m[Appium][39m   port: 56624
[35m[Appium][39m   loglevel: info
[35m[Appium][39m   chromeDriverPort: 56625
[35m[Appium][39m   tmpDir: C:\Users\IVAN_L~1\AppData\Local\Temp\\Katalon\Appium\Temp1539247715226
[35m[Appium][39m Appium REST http interface listener started on 0.0.0.0:56624
[35m[HTTP][39m [37m-->[39m [37mGET[39m [37m/wd/hub/status[39m
[35m[HTTP][39m [90m{}[39m
[35m[HTTP][39m [37m<-- GET /wd/hub/status [39m[32m200[39m [90m54 ms - 83[39m
[35m[HTTP][39m [90m[39m
[35m[HTTP][39m [37m-->[39m [37mGET[39m [37m/wd/hub/status[39m
[35m[HTTP][39m [90m{}[39m
[35m[HTTP][39m [37m<-- GET /wd/hub/status [39m[32m200[39m [90m48 ms - 83[39m
[35m[HTTP][39m [90m[39m
[35m[HTTP][39m [37m-->[39m [37mPOST[39m [37m/wd/hub/session[39m
[35m[HTTP][39m [90m{"desiredCapabilities":{"app":"C:\\Users\\Ivan_Leandev\\Downloads\\preprod_3_6_1_release_100318.apk","autoGrantPermissions":true,"automationName":"uiautomator2","deviceId":"","deviceName":"emulator-5554 (Android SDK built for x86 - Android 8.1.0)","fullReset":false,"newCommandTimeout":1800,"noReset":true,"platform":"ANDROID","platformName":"Android","udid":"emulator-5554"},"capabilities":{"desiredCapabilities":{"app":"C:\\Users\\Ivan_Leandev\\Downloads\\preprod_3_6_1_release_100318.apk","autoGrantPermissions":true,"automationName":"uiautomator2","deviceId":"","deviceName":"emulator-5554 (Android SDK built for x86 - Android 8.1.0)","fullReset":false,"newCommandTimeout":1800,"noReset":true,"platform":"ANDROID","platformName":"Android","udid":"emulator-5554"},"firstMatch":[{"platformName":"android"}]}}[39m
[35m[Appium][39m Could not parse W3C capabilities: 'deviceName' can't be blank. Falling back to JSONWP protocol.
[35m[Appium][39m The following capabilities were provided in the JSONWP desired capabilities that are missing in W3C capabilities: ["app","autoGrantPermissions","automationName","deviceId","deviceName","fullReset","newCommandTimeout","noReset","platform","platformName","udid"]. Falling back to JSONWP protocol.
[35m[Appium][39m Creating new AndroidUiautomator2Driver (v1.22.0) session
[35m[Appium][39m Capabilities:
[35m[Appium][39m   app: C:\Users\Ivan_Leandev\Downloads\preprod_3_6_1_release_100318.apk
[35m[Appium][39m   autoGrantPermissions: true
[35m[Appium][39m   automationName: uiautomator2
[35m[Appium][39m   deviceId: 
[35m[Appium][39m   deviceName: emulator-5554 (Android SDK built for x86 - Android 8.1.0)
[35m[Appium][39m   fullReset: false
[35m[Appium][39m   newCommandTimeout: 1800
[35m[Appium][39m   noReset: true
[35m[Appium][39m   platform: ANDROID
[35m[Appium][39m   platformName: Android
[35m[Appium][39m   udid: emulator-5554
[35m[BaseDriver][39m The following capabilities were provided, but are not recognized by appium: deviceId, platform.
[35m[BaseDriver][39m Session created with session id: 3b2ab5bd-211b-4d7d-bbdc-f2a9e7e0a12a
[35m[BaseDriver][39m Using local app 'C:\Users\Ivan_Leandev\Downloads\preprod_3_6_1_release_100318.apk'
[35m[AndroidDriver][39m Java version is: 1.8.0_102
[35m[ADB][39m Checking whether adb is present
[35m[ADB][39m Found 1 'build-tools' folders under 'C:\Users\Ivan_Leandev\.katalon\tools\android_sdk' (newest first):
[35m[ADB][39m     C:/Users/Ivan_Leandev/.katalon/tools/android_sdk/build-tools/28.0.0
[35m[ADB][39m Using adb.exe from C:\Users\Ivan_Leandev\.katalon\tools\android_sdk\platform-tools\adb.exe
[35m[AndroidDriver][39m Retrieving device list
[35m[AndroidDriver][39m Using device: emulator-5554
[35m[ADB][39m Using the alternative activity name detection method because of: Could not find apkanalyzer.bat in C:\Users\Ivan_Leandev\.katalon\tools\android_sdk\platform-tools\apkanalyzer.bat,C:\Users\Ivan_Leandev\.katalon\tools\android_sdk\emulator\apkanalyzer.bat,C:\Users\Ivan_Leandev\.katalon\tools\android_sdk\tools\apkanalyzer.bat,C:\Users\Ivan_Leandev\.katalon\tools\android_sdk\tools\bin\apkanalyzer.bat,C:\Users\Ivan_Leandev\.katalon\tools\android_sdk\build-tools\28.0.0\apkanalyzer.bat. Do you have the Android SDK installed at 'C:\Users\Ivan_Leandev\.katalon\tools\android_sdk'?
[35m[ADB][39m Checking whether aapt is present
[35m[ADB][39m Using aapt.exe from C:\Users\Ivan_Leandev\.katalon\tools\android_sdk\build-tools\28.0.0\aapt.exe
[35m[ADB][39m Extracting package and launch activity from manifest
[35m[ADB][39m Package name: 'com.leandiv.flyakeed'
[35m[ADB][39m Main activity name: 'com.leandiv.flyakeed.Activities.SplashScreenActivity'
[35m[ADB][39m Using apksigner.bat from C:\Users\Ivan_Leandev\.katalon\tools\android_sdk\build-tools\28.0.0\apksigner.bat
[35m[ADB][39m Checking whether zipalign is present
[35m[ADB][39m Using zipalign.exe from C:\Users\Ivan_Leandev\.katalon\tools\android_sdk\build-tools\28.0.0\zipalign.exe
[35m[ADB][39m io.appium.uiautomator2.server was successfully uninstalled
[35m[ADB][39m io.appium.uiautomator2.server.test was successfully uninstalled
[35m[AndroidDriver][39m setDeviceLanguageCountry requires language or country.
[35m[AndroidDriver][39m Got language: 'null' and country: 'null'
[35m[UiAutomator2][39m Starting uiautomator2 server 2.0.0
[35m[UiAutomator2][39m Using UIAutomator2 server from 'C:\Users\Ivan_Leandev\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v2.0.0.apk' and test from 'C:\Users\Ivan_Leandev\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk'
[35m[UiAutomator2][39m Running command: 'adb -s emulator-5554 shell am instrument -w io.appium.uiautomator2.server.test/android.support.test.runner.AndroidJUnitRunner'
[35m[UiAutomator2][39m Waiting up to 20000ms for UiAutomator2 to be online...
[35m[JSONWP Proxy][39m Got an unexpected response: {"code":"ECONNRESET","errno":"ECONNRESET","syscall":"read"}
[35m[JSONWP Proxy][39m Got an unexpected response: {"code":"ECONNRESET","errno":"ECONNRESET","syscall":"read"}
[35m[JSONWP Proxy][39m Got an unexpected response: {"code":"ECONNRESET","errno":"ECONNRESET","syscall":"read"}


And then after a while this error message appears:





Upvote
Quote
Sign In or Register to comment.