[Katalon 5.8.6] AppiumStartException: Fail to start Appium server in 30 seconds

Hello everyone,

I’m new to Katalon, just follow the guideline on Katalon site to setup Mobile Test project on Android.

At the last step, I try to run a Sample Android Project, but got the following error

Unable to start app at: ‘C:\Users\ADMIN\Katalon Studio\test.prj\androidapp\APIDemos.apk’ (Root cause: com.kms.katalon.core.appium.exception.AppiumStartException: Fail to start Appium server in 30 seconds)

Other info

- Katalon 5.6.8 Build 1

- node v10.13.0

- appium 1.8.1 (as recommendation on setup guideline)

- Device info

- Model: E5663 (Sony M5 Dual)

- Android version: 6.0

Please help to advice. Thank you.

fail_to_start_Appium_server.png

just give some update, I debug it myself and found that Katalon took a lot time to start Appium server, it’s a reason which lead to TimeOut issue, don’t know why it took a lot time yet

I attach the screen-recording for further investigation https://youtu.be/mcYPhjxWQlY

Other info

- Katalon 5.6.8 Build 1

- node v10.13.0

- appium 1.8.1 (as recommendation on setup guideline)

- java, javac version: 1.8.0_191

- Device info

- Model: E5663 (Sony M5 Dual)

- Android version: 6.0

Thank you.

I also have a question about modify the default TimeOut value, I’m looking around but don’t see where/how to change that value. Please help to advice.

UPDATE: increase timeout helps to run test successful but still got error when Record Mobile (will open another discussion

- ehttps://docs.katalon.com/katalon-studio/docs/troubleshooting-automated-mobile-testing.html

UPDATE: I did same thing on another laptop and it works, then I restore my laptop and did same thing again, it works now, maybe something wrong with my installation.

1 Like