> ```
> java.util.concurrent.ExecutionException: org.openqa.selenium.SessionNotCreatedException: Unable to create a new remote session. Please check the server log for more details. Original error: An unknown server-side error occurred while processing the command. Original error: Failed to receive any data within the timeout: 5000
>
> Build info: version: 'unknown', revision: 'unknown', time: 'unknown'
>
> System info: host: 'MacBook-Pro-2.local', ip: 'fe80:0:0:0:14be:a3f8:d0be:7b9%en0', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '13.5.1', java.version: '1.8.0_362'
>
> Driver info: driver.version: IOSDriver
>
> remote stacktrace: UnknownError: An unknown server-side error occurred while processing the command. Original error: Failed to receive any data within the timeout: 5000
>
> at getResponseForW3CError (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/lib/protocol/errors.js:804:9)
>
> at asyncHandler (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/lib/protocol/protocol.js:380:37)
>
> Build info: version: 'unknown', revision: 'unknown', time: 'unknown'
>
> System info: host: 'MacBook-Pro-2.local', ip: 'fe80:0:0:0:14be:a3f8:d0be:7b9%en0', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '13.5.1', java.version: '1.8.0_362'
>
> Driver info: driver.version: IOSDriver
>
> 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: org.openqa.selenium.SessionNotCreatedException: Unable to create a new remote session. Please check the server log for more details. Original error: An unknown server-side error occurred while processing the command. Original error: Failed to receive any data within the timeout: 5000
>
> Build info: version: 'unknown', revision: 'unknown', time: 'unknown'
>
> System info: host: 'MacBook-Pro-2.local', ip: 'fe80:0:0:0:14be:a3f8:d0be:7b9%en0', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '13.5.1', java.version: '1.8.0_362'
>
> Driver info: driver.version: IOSDriver
>
> remote stacktrace: UnknownError: An unknown server-side error occurred while processing the command. Original error: Failed to receive any data within the timeout: 5000
>
> at getResponseForW3CError (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/lib/protocol/errors.js:804:9)
>
> at asyncHandler (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/lib/protocol/protocol.js:380:37)
>
> Build info: version: 'unknown', revision: 'unknown', time: 'unknown'
>
> System info: host: 'MacBook-Pro-2.local', ip: 'fe80:0:0:0:14be:a3f8:d0be:7b9%en0', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '13.5.1', java.version: '1.8.0_362'
>
> Driver info: driver.version: IOSDriver
>
> at io.appium.java_client.remote.AppiumCommandExecutor$1.createSession(AppiumCommandExecutor.java:208)
>
> at io.appium.java_client.remote.AppiumCommandExecutor.createSession(AppiumCommandExecutor.java:217)
>
> 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:42)
>
> at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1)
>
> at io.appium.java_client.ios.IOSDriver.execute(IOSDriver.java:1)
>
> at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:213)
>
> at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:131)
>
> at io.appium.java_client.DefaultGenericMobileDriver.<init>(DefaultGenericMobileDriver.java:38)
>
> at io.appium.java_client.AppiumDriver.<init>(AppiumDriver.java:84)
>
> at io.appium.java_client.ios.IOSDriver.<init>(IOSDriver.java:85)
>
> at com.kms.katalon.core.appium.driver.AppiumDriverManager.createMobileDriver(AppiumDriverManager.java:508)
>
> at com.kms.katalon.core.appium.driver.AppiumDriverManager.createMobileDriver(AppiumDriverManager.java:492)
>
> at com.kms.katalon.core.mobile.keyword.internal.MobileDriverFactory.startLocalMobileDriver(MobileDriverFactory.java:568)
>
> at com.kms.katalon.composer.mobile.objectspy.dialog.MobileInspectorController.startMobileApp(MobileInspectorController.java:196)
>
> at com.kms.katalon.composer.mobile.objectspy.components.MobileLocalAppComposite.startLocalAppAsNormal(MobileLocalAppComposite.java:561)
>
> at com.kms.katalon.composer.mobile.objectspy.components.MobileLocalAppComposite$12$1.call(MobileLocalAppComposite.java:496)
>
> 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
>
> Caused by: java.lang.reflect.InvocationTargetException
>
> at io.appium.java_client.remote.AppiumCommandExecutor$1.createSession(AppiumCommandExecutor.java:186)
>
> ... 21 more
>
> Caused by: org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: Failed to receive any data within the timeout: 5000
>
> Build info: version: 'unknown', revision: 'unknown', time: 'unknown'
>
> System info: host: 'MacBook-Pro-2.local', ip: 'fe80:0:0:0:14be:a3f8:d0be:7b9%en0', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '13.5.1', java.version: '1.8.0_362'
>
> Driver info: driver.version: IOSDriver
>
> remote stacktrace: UnknownError: An unknown server-side error occurred while processing the command. Original error: Failed to receive any data within the timeout: 5000
>
> at getResponseForW3CError (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/lib/protocol/errors.js:804:9)
>
> at asyncHandler (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/lib/protocol/protocol.js:380:37)
>
> at org.openqa.selenium.remote.W3CHandshakeResponse.lambda$errorHandler$0(W3CHandshakeResponse.java:62)
>
> at org.openqa.selenium.remote.HandshakeResponse.lambda$getResponseFunction$0(HandshakeResponse.java:30)
>
> at org.openqa.selenium.remote.ProtocolHandshake.lambda$createSession$0(ProtocolHandshake.java:126)
>
> at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:128)
>
> ... 22 more
>
> `> * List item`
> ```
>
> > Blockquote
Can u give some specifics such us What application ios or android?
As a see in the reported evidence, you are using `MacBook-Pro-2,
This is a random issue or appear always.
I am using iOS device for testing, when i cilck the record button in katalon studio, iam getting this issue, but i able to record andriod device in my same laptop
please follow these steps and complete the set up for ios Mobile testing
i have done this, but also facing same issue
It seems to be an issue with creating a new remote session for your mobile application. This error message indicates that Appium is unable to establish a connection with the mobile device or simulator
Things you can do:
- Check Device/Simulator Connection
- Appium Server Configuration
- Check for Appium Server Logs
Try Adding this capability
CapabilityName: appWaitActivity
Value: *
i have done this also, i have sloving the the suggested things from past 5 days, but nothing workes for me, that is why i came here finally.