No route found for /wd/hub/status- I am getting this error while connecting to selenium grid

Hello ,
I am trying to run parallel testing. I am getting below error while registering node at Selenium Grid (selenium-server-standalone-3.141.59).

C:\Users\OnilVakharia\Desktop\APPIUM-UTIL>appium -p 4725 --nodeconfig C:\Users\OnilVakharia\Desktop\APPIUM-UTIL\node1.json
[Appium] Welcome to Appium v2.0.0-beta.40
[Appium] Non-default server args:
[Appium] {
[Appium] port: 4725
[Appium] }
[Appium] Attempting to load driver uiautomator2…
[debug] [Appium] Requiring driver at C:\Users\OnilVakharia.appium\node_modules\appium-uiautomator2-driver
[debug] [Appium] Starting auto register thread for the grid. Will try to register every 5000 ms.
[Appium] Appium REST http interface listener started on
[Appium] Available drivers:
[Appium] - [email protected] (automationName ‘UiAutomator2’)
[Appium] No plugins have been installed. Use the “appium plugin” command to install the one(s) you want to use.
[debug] [Appium] Appium successfully registered with the the grid on
[HTTP] --> GET /wd/hub/status
[HTTP] {}
[debug] [HTTP] No route found for /wd/hub/status
[HTTP] <-- GET /wd/hub/status 404 142 ms - 211
[HTTP] --> GET /wd/hub/status
[HTTP] {}
[debug] [HTTP] No route found for /wd/hub/status
[HTTP] <-- GET /wd/hub/status 404 11 ms - 211

Appium 2’s default prefix is ‘/’. You should change the command that starts your Appium server to include ‘/wd/hub’ as in the example below:

# Start the server on the given port, host and use the base path prefix (the default prefix is /)
appium server -p 9000 -a -pa /wd/hub

See the section Server Command Line Interface here:

1 Like