Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EADDRINUSE ERROR #2470

Open
erdncyz opened this issue Sep 16, 2024 · 0 comments
Open

EADDRINUSE ERROR #2470

erdncyz opened this issue Sep 16, 2024 · 0 comments

Comments

@erdncyz
Copy link

erdncyz commented Sep 16, 2024

Hi Team,

when my automation script is runnning or ı start session with appium inspector. ı encounter EADDRINUSE message.

Appium -v : 2.11.3
appium driver list :

  • uiautomator2@3.7.11 [installed (npm)]
  • xcuitest@7.26.3 [installed (npm)]
  • espresso@3.3.1 [installed (npm)]

My gist :
https://gist.github.com/erdncyz/c707fb88f3eb1c08ae21b7021a50e383

Short error message :
[eae8da1f][XCUITestDriver@963f] Using WDA agent: '/Users/techqaautomation2/.appium/node_modules/appium-xcuitest-driver/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj'
[eae8da1f][XCUITestDriver@963f] The pyidevice tool is not present in PATH. Skipping crash logs collection for real devices.
[eae8da1f][XCUITestDriver@963f] Event 'logCaptureStarted' logged at 1726310994702 (13:49:54 GMT+0300 (GMT+03:00))
[eae8da1f][XCUITestDriver@963f] Setting up real device
[eae8da1f][XCUITestDriver@963f] No obsolete cached processes from previous WDA sessions listening on port 64886 have been found
[eae8da1f][DevCon Factory] Requesting connection for device 00008030-000425EC1E04802E on local port 64886, device port 64886
[eae8da1f][DevCon Factory] Cached connections count: 0
[eae8da1f][XCUITestDriver@963f] {"code":"EADDRINUSE","errno":-48,"syscall":"listen","address":"::","port":64886}
[eae8da1f][DevCon Factory] Releasing connections for 00008030-000425EC1E04802E device on any port number
[eae8da1f][DevCon Factory] No cached connections have been found
[eae8da1f][AppiumDriver@ea3e] Event 'newSessionStarted' logged at 1726310994933 (13:49:54 GMT+0300 (GMT+03:00))
[eae8da1f][device-farm-main] 📱 b38e30a0-282e-443e-b59a-45b39e4b3986 Session response: {"protocol":"W3C","error":{"code":"EADDRINUSE","errno":-48,"syscall":"listen","address":"::","port":64886}}
[eae8da1f][device-farm-main] 📱 Removing pending session with capability_id: b38e30a0-282e-443e-b59a-45b39e4b3986
[eae8da1f][device-farm-main] b38e30a0-282e-443e-b59a-45b39e4b3986 📱 Device UDID 00008030-000425EC1E04802E unblocked. Reason: Failed to create session
[eae8da1f][AppiumDriver@ea3e] Encountered internal error running command: Error: Error: listen EADDRINUSE: address already in use :::64886
at lI.this (/Users/techqaautomation2/.appium/node_modules/appium-device-farm/lib/webpack:/appium-device-farm/lib/src/plugin.js:346:23)
at lI.generator (/Users/techqaautomation2/.appium/node_modules/appium-device-farm/lib/webpack:/appium-device-farm/lib/src/plugin.js:332:17)
at Generator.next ()

Error screen:
image

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant