AppiumTestDistribution / appium-device-farm

This is an Appium 2.0 plugin designed to manage and create driver sessions on available devices.
https://devicefarm.org
Other
324 stars 101 forks source link

Appium device farm fails to register device to device farm very intermittently #1132

Open sankethsunkad opened 4 months ago

sankethsunkad commented 4 months ago

Discussed in https://github.com/AppiumTestDistribution/appium-device-farm/discussions/1131

Originally posted by **sankethsunkad** May 27, 2024 MAC M1 : appium driver list installed : - xcuitest@4.30.3 [installed (npm)] - uiautomator2@2.25.2 [installed (npm)] 2. execution platfporm : happens intermittently for both platforms 3. Node version :- v20.12.2 appium version :- 2.5.4 appium-device-farm version :- 8.4.7-rc.19 4. it starts working automatically after sometime without any change in config nor any system level changes [device_farm.log](https://github.com/AppiumTestDistribution/appium-device-farm/files/15452773/device_farm.log) this is my server config πŸ‘‡ , same config has worked many times but frequently it fails to regsiter device { "server": { "keep-alive-timeout": 800, "use-plugins": ["device-farm"], "port": 4444, "plugin": { "element-wait": { "timeout": 20000, "intervalBetweenAttempts": 500 }, "device-farm": { "platform": "android" }, "appium-dashboard": { "dashboard:enableLiveVideo": false, "dashboard:enableVideoRecording": false } }, "driver": { "xcuitest": { }, "uiautomator2": { } } } } device farm logs πŸ‘‡
saikrishna321 commented 4 months ago

@sankethsunkad Original error: listen EADDRINUSE: address already in use 0.0.0.0:4444 Can you use available port

Try with latest rc please