{"action":"created","issue":{"url":"https://api.github.com/repos/appium/appium/issues/6332","repository_url":"https://api.github.com/repos/appium/appium","labels_url":"https://api.github.com/repos/appium/appium/issues/6332/labels{/name}","comments_url":"https://api.github.com/repos/appium/appium/issues/6332/comments","events_url":"https://api.github.com/repos/appium/appium/issues/6332/events","html_url":"https://github.com/appium/appium/issues/6332","id":143275190,"number":6332,"title":"[APPIUM 1.5.0] Frequent random \"This socket has been ended by the other party\"","user":{"login":"mittt","id":8478583,"avatar_url":"https://avatars.githubusercontent.com/u/8478583?v=3","gravatar_id":"","url":"https://api.github.com/users/mittt","html_url":"https://github.com/mittt","followers_url":"https://api.github.com/users/mittt/followers","following_url":"https://api.github.com/users/mittt/following{/other_user}","gists_url":"https://api.github.com/users/mittt/gists{/gist_id}","starred_url":"https://api.github.com/users/mittt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mittt/subscriptions","organizations_url":"https://api.github.com/users/mittt/orgs","repos_url":"https://api.github.com/users/mittt/repos","events_url":"https://api.github.com/users/mittt/events{/privacy}","received_events_url":"https://api.github.com/users/mittt/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/appium/appium/labels/NeedsTriage","name":"NeedsTriage","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-03-24T15:19:44Z","updated_at":"2016-03-24T23:33:45Z","closed_at":null,"body":"## The problem\r\n\r\nI have 4 tests running in sequence and i get the following error at random. The same test may pass successfully next time I start them all.\r\n\r\n**On the client**\r\nOriginal error: Android boostrap socket crashed: Error: This socket has been ended by the other party  \r\n\r\n**In the Appium log**\r\n2016-03-24 13:58:47:421 - error: [MJSONWP] Encountered internal error running command: Error: Android boostrap socket crashed: Error: This socket has been ended by the other party\r\n    at Socket.<anonymous> (lib/bootstrap.js:87:21)\r\n    at emitOne (events.js:77:13)\r\n\r\n## Environment\r\n\r\n* Appium version (or git revision) that exhibits the issue: └── appium@1.5.0\r\n* Desktop OS/version used to run Appium: Windows 10\r\n* Node.js version (unless using Appium.app|exe): node: '5.0.0',\r\n* Mobile platform/version under test: Android, \r\n* Real device or emulator/simulator: 5 devices, 5 instances of appium running connected to a selenium hub, 5 tests running in parallel on those devices\r\n* Appium CLI or Appium.app|exe: CLI\r\n\r\n\r\n## Link to Appium logs\r\n\r\n[On the Client](https://gist.github.com/mittt/a32b0f67d6d9057c08ce)\r\n[In Appium](https://gist.github.com/mittt/c8ff9f869ff1af177647)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/appium/appium/issues/comments/201073644","html_url":"https://github.com/appium/appium/issues/6332#issuecomment-201073644","issue_url":"https://api.github.com/repos/appium/appium/issues/6332","id":201073644,"user":{"login":"riverole","id":4833422,"avatar_url":"https://avatars.githubusercontent.com/u/4833422?v=3","gravatar_id":"","url":"https://api.github.com/users/riverole","html_url":"https://github.com/riverole","followers_url":"https://api.github.com/users/riverole/followers","following_url":"https://api.github.com/users/riverole/following{/other_user}","gists_url":"https://api.github.com/users/riverole/gists{/gist_id}","starred_url":"https://api.github.com/users/riverole/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/riverole/subscriptions","organizations_url":"https://api.github.com/users/riverole/orgs","repos_url":"https://api.github.com/users/riverole/repos","events_url":"https://api.github.com/users/riverole/events{/privacy}","received_events_url":"https://api.github.com/users/riverole/received_events","type":"User","site_admin":false},"created_at":"2016-03-24T23:33:45Z","updated_at":"2016-03-24T23:33:45Z","body":"Sorry to bother here, but, I am facing this issue. I installed appium through npm (the simple npm i -g appium), and I'm having a hard time to update the version of appium-android-bootstrap to 2.5.2 (I have currently 2.5.1). I have seen that the normal npm update only works for top packages, which in this case is appium, and I tried npm -g --depth Infinity update, but it doesn't seem to do the trick either. I have basically 0 idea about node and npm, could someone point me to how to achieve this? Thanks a lot!"}}