Connection issue Selenium 4 with Appium 1.22.3

136 views
Skip to first unread message

Mario Thome

unread,
May 8, 2023, 7:35:54 AM5/8/23
to Selenium Users
Hello,
I am in the process of upgrading our Selenium 3 grid to Selenium 4. We use Appium server for running android emulator tests.
I have created a hub with Selenium version 4 and would like to connect 3 Selenium nodes to each of which an Appium server is connected.
However, after starting the system, Appium constantly reports the following on the console.

[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

The Selenium hub UI shows me the node. However, it cannot be used because Appium has some kind of problem. I hope someone can help me.

System info

Selenium version: 4.9.0
Appium version: 1.22.3
OS: Mac Ventura 13.3.1

Appium Config
{
"capabilities": [
{
"browserName": "Android",
"deviceName": "Android-11.0",
"platformVersion": "11",
"platformName": "ANDROID",
"maxInstances": 1,
"automationName": "Appium"
}
],
"configuration": {
"cleanUpCycle": 2000,
"timeout": 30000,
"proxy": "org.openqa.grid.selenium.proxy.DefaultRemoteProxy",
"maxSession": 1,
"register": true,
"registerCycle": 5000,
"hubPort": 5555,
"hubHost": "127.0.0.1",
"hubProtocol": "http",
"role": "node"
}
}

Selenium Node Config

[server]
port = 5555

[node]
detect-drivers = false

[relay]
url = "http://127.0.0.1:4723/wd/hub"
status-endpoint = "/status"
configs = [
    "1", "{\"platformName\": \"Android\", \"appium:platformVersion\": \"11\", \"appium:deviceName\": \"emulator-5558\", \"appium:automationName\": \"UiAutomator2\"}"
]

Mahsum Akbaş

unread,
May 9, 2023, 8:20:07 AM5/9/23
to seleniu...@googlegroups.com
AFAIK, there is not /wd/hub path anymore. server address is just http://localhost:4723

can you try that?

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/94b32dec-cee8-4e9b-a9bd-8a1bc6bf3640n%40googlegroups.com.


--

Mahsum Akbaş
www.mahsumakbas.net

Mario Thome

unread,
May 11, 2023, 1:59:02 AM5/11/23
to Selenium Users
Removing the /wd/hub path did not change the behavior 
Reply all
Reply to author
Forward
0 new messages