{"action":"opened","issue":{"url":"https://api.github.com/repos/appium/appium/issues/5054","labels_url":"https://api.github.com/repos/appium/appium/issues/5054/labels{/name}","comments_url":"https://api.github.com/repos/appium/appium/issues/5054/comments","events_url":"https://api.github.com/repos/appium/appium/issues/5054/events","html_url":"https://github.com/appium/appium/issues/5054","id":73303217,"number":5054,"title":"iOS: Hide keyboard does not work correctly on different machines","user":{"login":"amedvedjev","id":2756856,"avatar_url":"https://avatars.githubusercontent.com/u/2756856?v=3","gravatar_id":"","url":"https://api.github.com/users/amedvedjev","html_url":"https://github.com/amedvedjev","followers_url":"https://api.github.com/users/amedvedjev/followers","following_url":"https://api.github.com/users/amedvedjev/following{/other_user}","gists_url":"https://api.github.com/users/amedvedjev/gists{/gist_id}","starred_url":"https://api.github.com/users/amedvedjev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amedvedjev/subscriptions","organizations_url":"https://api.github.com/users/amedvedjev/orgs","repos_url":"https://api.github.com/users/amedvedjev/repos","events_url":"https://api.github.com/users/amedvedjev/events{/privacy}","received_events_url":"https://api.github.com/users/amedvedjev/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-05T12:31:31Z","updated_at":"2015-05-05T12:31:31Z","closed_at":null,"body":"appium 1.3.6 (fresh installed on both machines)\r\nMacOS all updated\r\nxcode 6.3.1 (both fresh installed)\r\n\r\nCommand:\r\n((IOSDriver) driver).hideKeyboard(HideKeyboardStrategy.PRESS_KEY, \"Hide keyboard\")\r\n\r\nWith some machines it is 100% working always with others 100% fails always.\r\nSame test and client. Same way of start from command line.\r\n\r\nCan someone suggest where to dig?\r\n\r\nLogs:\r\n\r\nSUCCESS:\r\n\r\n[36minfo[39m: [37m-->[39m [37mPOST[39m [37m/wd/hub/session/d8dd4204-a126-4d5d-a069-67b102733595/appium/device/hide_keyboard[39m [90m{\"strategy\":\"pressKey\",\"key\":\"Hide keyboard\"}[39m\r\n[36minfo[39m: [debug] Pushing command to appium work queue: \"au.hideKeyboard('pressKey','Hide keyboard')\"\r\n[36minfo[39m: [debug] Sending command to instruments: au.hideKeyboard('pressKey','Hide keyboard')\r\n[36minfo[39m: [debug] [32m[INST] 2015-05-05 12:18:51 +0000 Debug: Got new command 76 from instruments: au.hideKeyboard('pressKey','Hide keyboard')[39m\r\n[36minfo[39m: [debug] [32m[INST] 2015-05-05 12:18:51 +0000 Debug: evaluating au.hideKeyboard('pressKey','Hide keyboard')[39m\r\n[36minfo[39m: [debug] [32m[INST] 2015-05-05 12:18:51 +0000 Debug: Hiding keyboard with keyName Hide keyboard[39m\r\n[36minfo[39m: [debug] [32m[INST] 2015-05-05 12:18:51 +0000 Debug: target.frontMostApp().keyboard().buttons()[\"Hide keyboard\"].tap()[39m\r\n[36minfo[39m: [debug] [32m[INST] 2015-05-05 12:18:52 +0000 Debug: evaluation finished[39m\r\n[36minfo[39m: [debug] [32m[INST] 2015-05-05 12:18:52 +0000 Debug: responding with:[39m\r\n[36minfo[39m: [debug] [32m[INST] 2015-05-05 12:18:52 +0000 Debug: Running system command #77: /Applications/Appium.app/Contents/Resources/node/bin/node /Applications/Appium.app/Contents/Resources/node/lib/node_modules/appium/node_modules/appium-uiauto/bin/command-proxy-client.js /tmp/instruments_sock 2,{\"status\":0,\"value\":\"\"}...[39m\r\n[36minfo[39m: [debug] Socket data received (25 bytes)\r\n[36minfo[39m: [debug] Socket data being routed.\r\n[36minfo[39m: [debug] Got result from instruments: {\"status\":0,\"value\":\"\"}\r\n[36minfo[39m: [debug] Responding to client with success: {\"status\":0,\"value\":\"\",\"sessionId\":\"d8dd4204-a126-4d5d-a069-67b102733595\"}\r\n[36minfo[39m: [37m<-- POST /wd/hub/session/d8dd4204-a126-4d5d-a069-67b102733595/appium/device/hide_keyboard [39m[32m200[39m[90m 918.078 ms - 74[39m [90m{\"status\":0,\"value\":\"\",\"sessionId\":\"d8dd4204-a126-4d5d-a069-67b102733595\"}[39m\r\n\r\n\r\nFAILED:\r\n\r\ninfo: --> POST /wd/hub/session/443adfcd-cfb0-49f3-98b5-af7b63e12e8e/appium/device/hide_keyboard {\"strategy\":\"pressKey\",\"key\":\"Hide keyboard\"}\r\ninfo: [debug] Pushing command to appium work queue: \"au.hideKeyboard('pressKey','Hide keyboard')\"\r\ninfo: [debug] Sending command to instruments: au.hideKeyboard('pressKey','Hide keyboard')\r\ninfo: [debug] [INST] 2015-05-05 11:08:08 +0000 Debug: Got new command 76 from instruments: au.hideKeyboard('pressKey','Hide keyboard')\r\ninfo: [debug] [INST] 2015-05-05 11:08:08 +0000 Debug: evaluating au.hideKeyboard('pressKey','Hide keyboard')\r\ninfo: [debug] [INST] 2015-05-05 11:08:08 +0000 Debug: Hiding keyboard with keyName Hide keyboard\r\ninfo: [debug] [INST] 2015-05-05 11:08:08 +0000 Debug: target.frontMostApp().keyboard().buttons()[\"Hide keyboard\"].tap()\r\ninfo: [debug] Socket data received (50 bytes)\r\ninfo: [debug] Socket data being routed.\r\ninfo: [debug] Got result from instruments: {\"status\":17,\"value\":\"Failed to hide keyboard.\"}\r\ninfo: [debug] Responding to client with error: {\"status\":17,\"value\":{\"message\":\"An error occurred while executing user supplied JavaScript.\",\"origValue\":\"Failed to hide keyboard.\"},\"sessionId\":\"443adfcd-cfb0-49f3-98b5-af7b63e12e8e\"}\r\ninfo: <-- POST /wd/hub/session/443adfcd-cfb0-49f3-98b5-af7b63e12e8e/appium/device/hide_keyboard 500 17159.748 ms - 185 "}}