'Error: connect ECONNREFUSED 127.0.0.1:8100
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
Solution 1:[1]
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
Solution 2:[2]
Try these caps these are working for me
serverCapabilities.setCapability("wdaStartupRetries", "4");
serverCapabilities.setCapability("iosInstallPause","8000" );
serverCapabilities.setCapability("wdaStartupRetryInterval", "20000");
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | pankaj mishra |
Solution 2 | Akash kansal |