appium-device-farm
appium-device-farm copied to clipboard
An unknow server-side error while processing this command. Orginal error : cannot read property 'caps' of undefined with hub ip
Describe the bug
Error : An unknow server-side error while processing this command. Orginal error : cannot read property 'caps' of undefined.
- Appium version (or git revision) that exhibits the issue: Appium 2.0 beta
- Last Appium version that did not exhibit the issue (if applicable):
- Node.js version (unless using Appium.app|exe): 14+
- Npm or Yarn package manager: 8+
- Mobile platform/version under test: Android 12
- Real device or emulator/simulator: Real device
- Appium CLI or Appium.app|exe: Appium CLI
Error : An unknow server-side error while processing this command. Orginal error : cannot read property 'caps' of undefined.
Note : It is happening when we are running from hub IP. if i try to run with normal ip with 4723 port it is working fine.
Please show us your hub and node config. Also your capabilities.
Which client are you using?
Appium device-farm version : 2.0.0-beta6 Appium version : 2.0.0-beta 44

Error : An unknow server-side error while processing this command. Orginal error : cannot read property 'caps' of undefined Please provide full server logs as gist.github.com
@SubbuLomada I'm unable to reproduce this issue. Can you give us steps to reproduce
@saikrishna321
[AppiumDriver@33ac] Command 'createSession' was not handled by the following behaviours or plugins, even though they were registered to handle it: ["default"1. The command was handled by these: ["device-farm"" appium-dashboard"].
[debug] [AppiumDriver@33ac] Encountered internal error running command: TypeError: Cannot read property
'caps' of undefined
[debug] [AppiumDriver@33ac]
at getMipegServerPort/Users/**/gppium/node_modules/gppium-
dashboard/lib/plugin/utils/plugin-utils.is:177:36)
[debug] [AppiumDriver@33ac]
at SessionManager.
@sudharsan-selvaraj I see the issue is coming from appium-dashboard. Can you help here