Hello,
how to solve the problem with selenium Grid4 and Appium:
Logs:
[debug] [Appium] Hub down or not responding: Request failed with status code 404
[Appium] An attempt to register with the grid was unsuccessful: Request failed with status code 404
use:
-java -jar selenium-server-4.12.1.jar hub
-appium --address 127.0.0.1 --nodeconfig Android13.json -p 4728 -cp 4728
{
“capabilities”: [
{
“deviceName”: “emulator-5556”,
“browserName”: “chrome”,
“platform”: “Android”,
“version”: “13.0”,
“maxInstances”: 2,
“systemPort”: “8213”
}
],
“configuration”: {
“cleanUpCycle”: 3000,
“timeout”: 30000,
“proxy”: “org.openqa.grid.selenium.proxy.DefaultRemoteProxy”,
“url”: “http://10.255.254.148:4728/wd/hub”,
“host”: “10.255.254.148”,
“port”: 4728,
“maxSession”: 2,
“register”: true,
“registerCycle”: 5000,
“hubPort”: 4444,
“hubHost”: “10.255.254.148”
}
}