Ferny
2 years agoNew Contributor
Unable to start Appium on iOS Server Side (Appium and other frameworks) job
Hello,
Was wondering if anyone else had run into this issue:
When running an iOS Server Side (Appium and other frameworks) job, I am not able to start Appium. I am using the default OSX docker image provided by BitBar:
osx-12
13:34 up 9 mins, 1 user, load averages: 7.31 9.24 7.02
VM Version : 12.7-2024-02-06-0913 build : 2024-02-06 01:24:05 PST
In the output for appium.log, I see only the following line:
[ERROR] Unrecognized arguments: --base-path /wd/hub --port 4723 --log-timestamp --log-no-colors --default-capabilities { "appium:xcodeConfigFile": "/opt/testdroid/appium.xcconfig", "appium:udid": "00008101-0014509C2E38001E", "appium:webDriverAgentUrl": "http://localhost:8102", "appium:webkitDebugProxyPort": 27753, "appium:platformVersion": "16.0", "appium:showXcodeLog": true }
However, I am not adding these arguments in my run-tests.sh... Below is the line I use to start Appium:
appium -U ${UDID}
I have tried a whole bunch of things including installing Appium and the xcuitest driver via my run-tests.sh, I've tried to kill all node.js processes before starting Appium when I'm ready to run my tests.
Every time, Appium fails to start, and I look into the console.log and see:
nc: connectx to localhost port 4723 (tcp) failed: Connection refused
nc: connectx to localhost port 4723 (tcp) failed: Connection refused
nc: connectx to localhost port 4723 (tcp) failed: Connection refused
nc: connectx to localhost port 4723 (tcp) failed: Connection refused
nc: connectx to localhost port 4723 (tcp) failed: Connection refused
nc: connectx to localhost port 4723 (tcp) failed: Connection refused
nc: connectx to localhost port 4723 (tcp) failed: Connection refused
nc: connectx to localhost port 4723 (tcp) failed: Connection refused
info Service is not responding..
Any help or advice would be appreciated.