Error: connect ECONNREFUSED 127.0.0.1:8100 - appium-ios

Could you help with this problem.
Appium 1.7.1
Xcode- 9.0
MacOS Siera 10.13
Capabilities:
{
"platformName": "iOS",
"platformVersion": "11.0",
"deviceName": "iPhone 6",
"app": "/Users/akoval/Downloads/BusyBox.app"
}
An unknown server-side error occurred while processing the command. Original error: Unable to start WebDriverAgent session because of xcodebuild failure: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to remote server. Original error: Error: connect ECONNREFUSED 127.0.0.1:8100

Put Appium url value as
0.0.0.0:4723
Or
Localhost:4723
Remove the WDA from device and run the scripts again.
This would solve your problem

Try these caps these are working for me
serverCapabilities.setCapability("wdaStartupRetries", "4");
serverCapabilities.setCapability("iosInstallPause","8000" );
serverCapabilities.setCapability("wdaStartupRetryInterval", "20000");

Related

dyld: Symbol not found: _SecTrustEvaluateWithError

I'm on MacPro OS 10.12 (can not be upgraded to 10.13 or beyond bc HW is old!) and I get below error.
Any help please
Thanks
Task start deno run -A --watch=static/,routes/ dev.ts
Watcher Process started.
The manifest has been generated for 3 routes and 1 islands.
Server listening on http://localhost:3000
dyld: Symbol not found: _SecTrustEvaluateWithError
Referenced from: /Users/kemalgencay/Library/Caches/esbuild/bin/esbuild-darwin-
64#0.14.39
Expected in: flat namespace
An error occured during route handling or page rendering. Error: The service was
stopped
at https://deno.land/x/esbuild#v0.14.39/mod.js:1304:25
at https://deno.land/x/esbuild#v0.14.39/mod.js:633:9
at afterClose (https://deno.land/x/esbuild#v0.14.39/mod.js:611:7)
at https://deno.land/x/esbuild#v0.14.39/mod.js:1844:11
error: Uncaught (in promise) BrokenPipe: Broken pipe (os error 32)
Watcher Process finished. Restarting on file change...
"devDependencies": {
"esbuild-wasm":"latest"
},
"overrides": {
"esbuild":"npm:esbuild-wasm#latest"
}
Just add this to the package.json
And then run: npm install
Hope it helps!

Real iOS Device - Unalbe to start session in appium inspector in MAC

Error
Failed to create session. An unknown server-side error occurred while processing the command. Original error: Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 65 xcodebuild error message: . Make sure you follow the tutorial at https://github.com/appium/appium-xcuitest-driver/blob/master/docs/real-device-config.md. Try to remove the WebDriverAgentRunner application from the device if it is installed and reboot the device.
{
"appium:bundleId": "com.iconology.ComicsReader",
"appium:udid": "15cfafc4bbd70317b9ff7ae729a067c859f3890a",
"platformName": "iOS",
"appium:deviceName": "CMX's iPad",
"appium:automationName": "XCUITest"
}

Unable to install WebdriverAgent on iOS simulator, getting error on Appium Desktop

Error Received:
Encountered internal error running command: Error: Unable to start WebDriverAgent session because of xcodebuild failure: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to the remote server. Original error: connect ECONNREFUSED 127.0.0.1:8100
{
"platformName": "iOS",
"platformVersion": "15.4",
"deviceName": "iPhone 12",
"automationName": "XCUITest",
"UDID": "DEDB43E2-717B-44C6-963E-34847B5E8D90",
"app": "/Users/Tester/Library/Developer/Xcode/DerivedData/capital-behvzukvlynvsydkreldaexdsiot/Build/Products/Debug-iphonesimulator/CapitalAM.app"
I am using Appium Desktop.
This got fixed when I updated the Appium GUI to the latest version 1.22.2.

unable to create remote session-appium

I'm trying to connect appium inspector with desktop calculator through the following desired Capabilities
{
"platformName": "Windows",
"platformVersion": "10",
"deviceName": "WindowsPC",
"app": "Microsoft.WindowsCalculator_8wekyb3d8bbwe!App"
}
but I get an error:
Failed to create session. An unknown server-side error occurred while processing the command. Original error: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to the remote server. Original error: connect ECONNREFUSED 127.0.0.1:4724
The default connect port is 4723, if you use 4724, you are using the custom server configuration. Make sure that appium server is running on port 4724.
Also make sure that developer mode enabled
https://learn.microsoft.com/en-us/windows/apps/get-started/enable-your-device-for-development
and you've started appium server, and appium desktop app as Administrator.

Robot Framwork error: WebDriverException: Message: unknown error: Failed to create Chrome process

Getting this error when I try and run a test. I had to uninstall and reinstall chrome some time back and this then started happening. My chromedriver version is correct for my browser also
[ ERROR ] Calling method 'end_suite' of listener
'C:\Users\JRyan64\Projects\esp-case-management\tests\robot\Execution\ResultsListener.py'
failed: UnicodeDecodeError: 'charmap' codec can't decode byte 0x9d in
position 2640: character maps to
Tests.Robot.Tests.Cumulus.ESP.GS Portal.ADUX-11813.Test :: As a Po...
| FAIL | Parent suite setup failed: WebDriverException: Message:
unknown error: Failed to create Chrome process.
In this case there might be multiple reasons why you are getting this error:
running as root or administrator
chromedriver is not accessible, check $Path variable in "Environment Variables" or simply run chromedriver from command line to check if it's accessible.

Resources