Error displaying when recording iOS app on real device

Hi,

I’m observing that my application not started when recording IOS app on real device and getting below error. can you help me how to fix this.

java.util.concurrent.ExecutionException: org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to the remote server. Original error: timeout of 240000ms exceeded

Build info: version: ‘unknown’, revision: ‘unknown’, time: ‘unknown’

System info: host: ‘Dileep-Valgotes-MacBook-Pro.local’, ip: ‘2601:249:1581:be90:b89a:724b:ccbc:8a60%en0’, os.name: ‘Mac OS X’, os.arch: ‘x86_64’, os.version: ‘10.15.5’, java.version: ‘1.8.0_181’

Driver info: io.appium.java_client.ios.IOSDriver

Capabilities {app: /Users/dileepvalgote/Docume…, automationName: XCUITest, browserName: , chromedriverPort: 56481, databaseEnabled: false, deviceName: iPhone, fullReset: false, javascriptEnabled: true, locationContextEnabled: false, networkConnectionEnabled: false, newCommandTimeout: 1800, noReset: true, platform: MAC, platformName: iOS, platformVersion: 14.3, realDeviceLogger: /Applications/Katalon Studi…, takesScreenshot: true, udid: 239e075dcfb08599b91a9733c44…, waitForAppScript: true;, wdaLocalPort: 56494, webStorageEnabled: false}

Session ID: 9152862e-1c30-43f7-98c1-f3bec083fe23

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:474)

at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:119)

Caused by: org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to the remote server. Original error: timeout of 240000ms exceeded

Build info: version: ‘unknown’, revision: ‘unknown’, time: ‘unknown’

System info: host: ‘Dileep-Valgotes-MacBook-Pro.local’, ip: ‘2601:249:1581:be90:b89a:724b:ccbc:8a60%en0’, os.name: ‘Mac OS X’, os.arch: ‘x86_64’, os.version: ‘10.15.5’, java.version: ‘1.8.0_181’

Driver info: io.appium.java_client.ios.IOSDriver

Capabilities {app: /Users/dileepvalgote/Docume…, automationName: XCUITest, browserName: , chromedriverPort: 56481, databaseEnabled: false, deviceName: iPhone, fullReset: false, javascriptEnabled: true, locationContextEnabled: false, networkConnectionEnabled: false, newCommandTimeout: 1800, noReset: true, platform: MAC, platformName: iOS, platformVersion: 14.3, realDeviceLogger: /Applications/Katalon Studi…, takesScreenshot: true, udid: 239e075dcfb08599b91a9733c44…, waitForAppScript: true;, wdaLocalPort: 56494, webStorageEnabled: false}

Session ID: 9152862e-1c30-43f7-98c1-f3bec083fe23

at org.openqa.selenium.remote.http.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:187)

at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:122)

at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:49)

at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:158)

at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:239)

at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552)

at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:46)

at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1)

at io.appium.java_client.ios.IOSDriver.execute(IOSDriver.java:1)

at io.appium.java_client.HasSessionDetails.getSessionDetails(HasSessionDetails.java:39)

at io.appium.java_client.HasSessionDetails.getSessionDetail(HasSessionDetails.java:56)

at io.appium.java_client.HasSessionDetails.getPlatformName(HasSessionDetails.java:65)

at io.appium.java_client.internal.JsonToMobileElementConverter.(JsonToMobileElementConverter.java:49)

at io.appium.java_client.AppiumDriver.(AppiumDriver.java:89)

at io.appium.java_client.ios.IOSDriver.(IOSDriver.java:85)

at com.kms.katalon.core.appium.driver.AppiumDriverManager.createMobileDriver(AppiumDriverManager.java:496)

at com.kms.katalon.core.appium.driver.AppiumDriverManager.createMobileDriver(AppiumDriverManager.java:480)

at com.kms.katalon.core.mobile.keyword.internal.MobileDriverFactory.startLocalMobileDriver(MobileDriverFactory.java:539)

at com.kms.katalon.composer.mobile.objectspy.dialog.MobileInspectorController.startMobileApp(MobileInspectorController.java:195)

at com.kms.katalon.composer.mobile.objectspy.components.MobileLocalAppComposite$12$1.call(MobileLocalAppComposite.java:479)

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

Katalon Team, any update on this?

Hi davalgote,

May I ask how large is your app files?
You could try a smaller app or preinstall the app on your device and choose the application ID instead.
This will prevent the timeout error.