How do I solve the "Fail to start Appium server in 60 seconds" error?

Hi!
I’m getting this error, when I try to start recording a mobile test.
"java.util.concurrent.ExecutionException: com.kms.katalon.core.appium.exception.AppiumStartException: Fail to start Appium server in 60 seconds
at com.kms.katalon.composer.components.impl.dialogs.ProgressMonitorDialogWithThread.runAndWait(ProgressMonitorDialogWithThread.java:49)
at com.kms.katalon.composer.mobile.objectspy.components.MobileLocalAppComposite$12.run(MobileLocalAppComposite.java:488)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)
Caused by: com.kms.katalon.core.appium.exception.AppiumStartException: Fail to start Appium server in 60 seconds
at com.kms.katalon.core.appium.driver.AppiumDriverManager.startAppiumServerJS(AppiumDriverManager.java:275)
at com.kms.katalon.composer.mobile.objectspy.dialog.MobileInspectorController.startMobileApp(MobileInspectorController.java:194)
at com.kms.katalon.composer.mobile.objectspy.components.MobileLocalAppComposite.startLocalAppAsNormal(MobileLocalAppComposite.java:561)
at com.kms.katalon.composer.mobile.objectspy.components.MobileLocalAppComposite.smartStartAndroidApp(MobileLocalAppComposite.java:545)
at com.kms.katalon.composer.mobile.objectspy.components.MobileLocalAppComposite.smartStartApp(MobileLocalAppComposite.java:523)
at com.kms.katalon.composer.mobile.objectspy.components.MobileLocalAppComposite.access$18(MobileLocalAppComposite.java:517)
at com.kms.katalon.composer.mobile.objectspy.components.MobileLocalAppComposite$12$1.call(MobileLocalAppComposite.java:494)
at com.kms.katalon.composer.components.impl.dialogs.ProgressMonitorDialogWithThread.startThreadAndWait(ProgressMonitorDialogWithThread.java:36)
at com.kms.katalon.composer.components.impl.dialogs.ProgressMonitorDialogWithThread.runAndWait(ProgressMonitorDialogWithThread.java:48)
… 2 more
"
I’ve tried to follow the steps mentioned in other articles, but:

  • my appium.log is empty
  • I don’t get the option Execution-Mobile that is always being mentioned (please watch the image attached)

    Can you please help? I’m getting a little desperate, here…
    Thanks in advance, Mariana

Hi,

Please refer to this doc: Fail to start the Appium server in 60 seconds | Katalon Docs>%20Mobile%20>%20Android).

Hello! Thank you for your feedback.
I tried to follow the steps you told me, but I get some problems:

  • I set the Appium Log Level to Debug, I try to start the recording and I get the error, but the file appium.log in the project, still empty
  • I don’t have the option Project > Settings > Execution > default > Mobile > Android, but I went to Project->Settings->Desired Capabilities->Mobile->Android added appWaitActivity and when I try to start recording, I get the same error.

Have you got any other advice?
Thanks, Mariana

I solved my problem by installing appium 1.22.0 instead of appium 2.
Thanks anyway!

Hi Mariana, I have the same error as you, and I’ve tried to follow the steps mentioned in Fail to start the Appium server in 60 seconds articles, and have same confusion as you too.

I’ve installed the appium 1.22.0, and the error remains the same, can you please give me advice to fix the problem? thanks in advance.