{"action":"opened","issue":{"url":"https://api.github.com/repos/appium/appium/issues/8598","repository_url":"https://api.github.com/repos/appium/appium","labels_url":"https://api.github.com/repos/appium/appium/issues/8598/labels{/name}","comments_url":"https://api.github.com/repos/appium/appium/issues/8598/comments","events_url":"https://api.github.com/repos/appium/appium/issues/8598/events","html_url":"https://github.com/appium/appium/issues/8598","id":233226287,"number":8598,"title":"[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","user":{"login":"Zenerax","id":12147857,"avatar_url":"https://avatars2.githubusercontent.com/u/12147857?v=3","gravatar_id":"","url":"https://api.github.com/users/Zenerax","html_url":"https://github.com/Zenerax","followers_url":"https://api.github.com/users/Zenerax/followers","following_url":"https://api.github.com/users/Zenerax/following{/other_user}","gists_url":"https://api.github.com/users/Zenerax/gists{/gist_id}","starred_url":"https://api.github.com/users/Zenerax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zenerax/subscriptions","organizations_url":"https://api.github.com/users/Zenerax/orgs","repos_url":"https://api.github.com/users/Zenerax/repos","events_url":"https://api.github.com/users/Zenerax/events{/privacy}","received_events_url":"https://api.github.com/users/Zenerax/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-06-02T15:52:13Z","updated_at":"2017-06-02T15:52:13Z","closed_at":null,"body":"## The problem\r\n\r\nWhile running 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?\r\n\r\n[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\r\n\r\n## Environment\r\n\r\n* Appium version (or git revision) that exhibits the issue: Appium 1.6.5\r\n* Last Appium version that did not exhibit the issue (if applicable):\r\n* Desktop OS/version used to run Appium:   Linux  3.10.0\r\n* Node.js version (unless using Appium.app|exe):  3.10.3\r\n* Mobile platform/version under test: Android 6.x, 7.x\r\n* Real device or emulator/simulator:  Real device\r\n* Appium CLI or Appium.app|exe:\r\n\r\n## Details\r\n\r\nWhile 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.\r\n\r\n[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\r\n\r\nAppium log shows an error stating that platformName capability must be included, however the capability was already included as seen on the attached Appium log.\r\n\r\n## Link to Appium logs\r\n[appiumError-0.txt](https://github.com/appium/appium/files/1048126/appiumError-0.txt)\r\n\r\n[appiumError-0-similar-but-slightly-different-log.txt](https://github.com/appium/appium/files/1048129/appiumError-0-similar-but-slightly-different-log.txt)\r\n\r\n[appium-0.txt](https://github.com/appium/appium/files/1048168/appium-0.txt)\r\n\r\n## Capabilities used to create the uiautomator2 session\r\n[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\":{}}]]\r\n\r\n"}}
{"actor":{"display_login":"Zenerax"}}