The local appium server has not been started reason timed out

Hi I am facing this issue were the local Appium server is not getting started after updating the Appium to the v1.22.3 version .

This the code that i have written.

	@Step("Starting Appium server")
	public void globalSetup(ITestContext context) throws Exception {
		// Load Props

		// Load Secrets, Create the file
		loadSecrets(System.getProperty("user.home") + "/");

		// Get Suite name
		prop.setProperty("SuiteName", context.getName());

		if (getRestartDeviceProperty().equals("true")) {
			DeviceInteractions.rebootDevice(getPlatformData(), getDeviceUdidData(getDeviceNameData()));
		}"Building Appium Server...");
		AppiumServiceBuilder builder = new AppiumServiceBuilder()
				.withAppiumJS(new File("/usr/local/lib/node_modules/appium/build/lib/main.js"))
				.withArgument(GeneralServerFlag.LOG_LEVEL, "info").withArgument(GeneralServerFlag.RELAXED_SECURITY)
				.withLogFile(new File(System.getProperty("user.dir") + "/logs/appium.log")).usingAnyFreePort();

		service =;"Appium server is built.");"Starting appium server...");
		service.start();"Appium server started.");

		// Clean TestID file
		prop.setProperty(testRailRunIDProp, "");

The error that i am getting is

[Appium] Welcome to Appium v1.22.3
[Appium] Non-default server args:
[Appium] port: 47928
[Appium] logFile: /Users/subh/IdeaProjects/mobile_automation/logs/appium.log
[Appium] loglevel: info
[Appium] relaxedSecurityEnabled: true
[Appium] Appium REST http interface listener started on
[HTTP] → GET /status
[HTTP] {}
[HTTP] ← GET /status 404 12 ms - 211
[HTTP] → GET /status
[HTTP] {}
[HTTP] ← GET /status 404 9 ms - 211

This version is over 2 years out of support. You should really update to Appium 2.

I was able to resolve this issue by updating the Appium to Appium 2 and also downloading the Appium drivers and change my calling my driver like this

driver = new AndroidDriver(new URL(getServiceUrl(),“”), capabilities);

1 Like