I'm getting an ECONNRESET error when launching 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:

@Mark_Ivan_S_Berbenza Hey, I too recently started android testing using katalon and faced this same error. Did you found the solution for this? Is it because of wrong installation of node js? I have installed version
11.4.0

Please let me know if you got the solution?

I had same error, I “Fixed” this installing appium version 1.8.1

Now the application is connected to cellphone, but is capturing objects for a long time, showing an error:

It is referring to Webdriver, as you too would see, although I did not encountered this issue, I guess it could be related to slow internet, as I saw happening with some other people.

I am still seeing this issue in current Katalon Studio tool. I am using Appium 1.10.0 tool for that. Any comments on this please?

2018-12-20_11h53_25 Can you try with the version same as below
Node 10.13.0
NPM 6.4.1
Appium 1.8.1

Thanks,
Hariprasad.