There's a ECONNRESET error when I launch Mobile Recorder

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

e[35m[Appium]e[39m Welcome to Appium v1.8.1

e[35m[Appium]e[39m Non-default server args:

e[35m[Appium]e[39m port: 56624

e[35m[Appium]e[39m loglevel: info

e[35m[Appium]e[39m chromeDriverPort: 56625

e[35m[Appium]e[39m tmpDir: C:\Users\IVAN_L~1\AppData\Local\Temp\\Katalon\Appium\Temp1539247715226

e[35m[Appium]e[39m Appium REST http interface listener started on 0.0.0.0:56624

e[35m[HTTP]e[39m e[37m–>e[39m e[37mGETe[39m e[37m/wd/hub/statuse[39m

e[35m[HTTP]e[39m e[90m{}e[39m

e[35m[HTTP]e[39m e[37m<-- GET /wd/hub/status e[39me[32m200e[39m e[90m54 ms - 83e[39m

e[35m[HTTP]e[39m e[90me[39m

e[35m[HTTP]e[39m e[37m–>e[39m e[37mGETe[39m e[37m/wd/hub/statuse[39m

e[35m[HTTP]e[39m e[90m{}e[39m

e[35m[HTTP]e[39m e[37m<-- GET /wd/hub/status e[39me[32m200e[39m e[90m48 ms - 83e[39m

e[35m[HTTP]e[39m e[90me[39m

e[35m[HTTP]e[39m e[37m–>e[39m e[37mPOSTe[39m e[37m/wd/hub/sessione[39m

e[35m[HTTP]e[39m e[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”}]}}e[39m

e[35m[Appium]e[39m Could not parse W3C capabilities: ‘deviceName’ can’t be blank. Falling back to JSONWP protocol.

e[35m[Appium]e[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.

e[35m[Appium]e[39m Creating new AndroidUiautomator2Driver (v1.22.0) session

e[35m[Appium]e[39m Capabilities:

e[35m[Appium]e[39m app: C:\Users\Ivan_Leandev\Downloads\preprod_3_6_1_release_100318.apk

e[35m[Appium]e[39m autoGrantPermissions: true

e[35m[Appium]e[39m automationName: uiautomator2

e[35m[Appium]e[39m deviceId:

e[35m[Appium]e[39m deviceName: emulator-5554 (Android SDK built for x86 - Android 8.1.0)

e[35m[Appium]e[39m fullReset: false

e[35m[Appium]e[39m newCommandTimeout: 1800

e[35m[Appium]e[39m noReset: true

e[35m[Appium]e[39m platform: ANDROID

e[35m[Appium]e[39m platformName: Android

e[35m[Appium]e[39m udid: emulator-5554

e[35m[BaseDriver]e[39m The following capabilities were provided, but are not recognized by appium: deviceId, platform.

e[35m[BaseDriver]e[39m Session created with session id: 3b2ab5bd-211b-4d7d-bbdc-f2a9e7e0a12a

e[35m[BaseDriver]e[39m Using local app ‘C:\Users\Ivan_Leandev\Downloads\preprod_3_6_1_release_100318.apk’

e[35m[AndroidDriver]e[39m Java version is: 1.8.0_102

e[35m[ADB]e[39m Checking whether adb is present

e[35m[ADB]e[39m Found 1 ‘build-tools’ folders under ‘C:\Users\Ivan_Leandev\.katalon\tools\android_sdk’ (newest first):

e[35m[ADB]e[39m C:/Users/Ivan_Leandev/.katalon/tools/android_sdk/build-tools/28.0.0

e[35m[ADB]e[39m Using adb.exe from C:\Users\Ivan_Leandev\.katalon\tools\android_sdk\platform-tools\adb.exe

e[35m[AndroidDriver]e[39m Retrieving device list

e[35m[AndroidDriver]e[39m Using device: emulator-5554

e[35m[ADB]e[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’?

e[35m[ADB]e[39m Checking whether aapt is present

e[35m[ADB]e[39m Using aapt.exe from C:\Users\Ivan_Leandev\.katalon\tools\android_sdk\build-tools\28.0.0\aapt.exe

e[35m[ADB]e[39m Extracting package and launch activity from manifest

e[35m[ADB]e[39m Package name: ‘com.leandiv.flyakeed’

e[35m[ADB]e[39m Main activity name: ‘com.leandiv.flyakeed.Activities.SplashScreenActivity’

e[35m[ADB]e[39m Using apksigner.bat from C:\Users\Ivan_Leandev\.katalon\tools\android_sdk\build-tools\28.0.0\apksigner.bat

e[35m[ADB]e[39m Checking whether zipalign is present

e[35m[ADB]e[39m Using zipalign.exe from C:\Users\Ivan_Leandev\.katalon\tools\android_sdk\build-tools\28.0.0\zipalign.exe

e[35m[ADB]e[39m io.appium.uiautomator2.server was successfully uninstalled

e[35m[ADB]e[39m io.appium.uiautomator2.server.test was successfully uninstalled

e[35m[AndroidDriver]e[39m setDeviceLanguageCountry requires language or country.

e[35m[AndroidDriver]e[39m Got language: ‘null’ and country: ‘null’

e[35m[UiAutomator2]e[39m Starting uiautomator2 server 2.0.0

e[35m[UiAutomator2]e[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’

e[35m[UiAutomator2]e[39m Running command: ‘adb -s emulator-5554 shell am instrument -w io.appium.uiautomator2.server.test/android.support.test.runner.AndroidJUnitRunner’

e[35m[UiAutomator2]e[39m Waiting up to 20000ms for UiAutomator2 to be online…

e[35m[JSONWP Proxy]e[39m Got an unexpected response: {“code”:“ECONNRESET”,“errno”:“ECONNRESET”,“syscall”:“read”}

e[35m[JSONWP Proxy]e[39m Got an unexpected response: {“code”:“ECONNRESET”,“errno”:“ECONNRESET”,“syscall”:“read”}

e[35m[JSONWP Proxy]e[39m Got an unexpected response: {“code”:“ECONNRESET”,“errno”:“ECONNRESET”,“syscall”:“read”}

And then after a while this error message appears:

image.png

Is there any solve for this problem? I have this problem too when I tried run the mobile test in my local. Waiting the problem solve.

Thanks

Hi All, Even i face this issue while running the application on ios device. Is there any solution to this . Any help will be appreciated.

Thanks in advance

I have the same problem. I tried to downgrade node,js from 10.15 back to 8.15 and it did not help.

Mickey

https://docs.katalon.com/katalon-studio/docs/mobile-on-windows.html#installing-dependencies

Downgrade appium back to @1.8.1 solved my problem !

i have tried this. downgrade the appium. and its does not work