[MJSONWP] Encountered internal error running command: Error: Could not proxy. Proxy error: Could not proxy command to remote server. Original error: Error: connect ECONNREFUSED 127.0.0.1:8200 #8598
Labels
Android
related to Android-native driver(s)
The problem
While running multiple test scripts to multiple devices in parallel, I see the following Appium error occurs from the first test script running on each devices and at some random scripts at times after that and it makes the test unreliable. What can be the problem?
[MJSONWP] Encountered internal error running command: Error: Could not proxy. Proxy error: Could not proxy command to remote server. Original error: Error: connect ECONNREFUSED 127.0.0.1:8200
Environment
Details
While running uiautomator2 test scripts to multiple devices, the initial test script running on each device shows the following Appium error and test failed. Subsequent tests were executed OK after the initial failure or there were sporadic repro at random test scripts used with the same issue.
[MJSONWP] Encountered internal error running command: Error: Could not proxy. Proxy error: Could not proxy command to remote server. Original error: Error: connect ECONNREFUSED 127.0.0.1:8200
Appium log shows an error stating that platformName capability must be included, however the capability was already included as seen on the attached Appium log.
Link to Appium logs
appiumError-0.txt
appiumError-0-similar-but-slightly-different-log.txt
appium-0.txt
Capabilities used to create the uiautomator2 session
[MJSONWP] Calling AppiumDriver.createSession() with args: [null,null,[{"desiredCapabilities":{"appPackage":"com.pandora.android","appActivity":".Main","noReset":true,"newCommandTimeout":600,"automationName":"uiautomator2","platformName":"Android","deviceName":"Android Device"}},{"requiredCapabilities":{}}]]
The text was updated successfully, but these errors were encountered: