{"action":"created","issue":{"url":"https://api.github.com/repos/appium/appium/issues/7432","repository_url":"https://api.github.com/repos/appium/appium","labels_url":"https://api.github.com/repos/appium/appium/issues/7432/labels{/name}","comments_url":"https://api.github.com/repos/appium/appium/issues/7432/comments","events_url":"https://api.github.com/repos/appium/appium/issues/7432/events","html_url":"https://github.com/appium/appium/issues/7432","id":193805896,"number":7432,"title":"Driver gets stuck in loop trying to connect to app","user":{"login":"rkavalap","id":80310,"avatar_url":"https://avatars2.githubusercontent.com/u/80310?v=4","gravatar_id":"","url":"https://api.github.com/users/rkavalap","html_url":"https://github.com/rkavalap","followers_url":"https://api.github.com/users/rkavalap/followers","following_url":"https://api.github.com/users/rkavalap/following{/other_user}","gists_url":"https://api.github.com/users/rkavalap/gists{/gist_id}","starred_url":"https://api.github.com/users/rkavalap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rkavalap/subscriptions","organizations_url":"https://api.github.com/users/rkavalap/orgs","repos_url":"https://api.github.com/users/rkavalap/repos","events_url":"https://api.github.com/users/rkavalap/events{/privacy}","received_events_url":"https://api.github.com/users/rkavalap/received_events","type":"User","site_admin":false},"labels":[{"id":24368806,"url":"https://api.github.com/repos/appium/appium/labels/Bug","name":"Bug","color":"fc2929","default":false},{"id":36581329,"url":"https://api.github.com/repos/appium/appium/labels/Mobile%20Safari","name":"Mobile Safari","color":"0052cc","default":false},{"id":647299957,"url":"https://api.github.com/repos/appium/appium/labels/P2","name":"P2","color":"fbca04","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-06T15:43:24Z","updated_at":"2018-05-01T09:58:12Z","closed_at":"2018-05-01T09:58:12Z","author_association":"CONTRIBUTOR","body":"@midopa commented on [Fri Oct 14 2016](https://github.com/appium/appium-xcuitest-driver/issues/242)\n\nThis doesn't repro all the time.\n1. Launch Appium with a browser session\n2. Sometimes, it gets stuck trying to connect to the app\n\nLog snippet: https://gist.github.com/midopa/be2377863348a30e98288fb772fad3a7\n\nAfter the 20th attempt, the driver loops back and repeats ad nauseam.\n\nAppium 1.6.0\nNode 6.7.0\nJava client 4.1.2\nOSX El Capitan\nXCode 8\niOS 10 simulator (iPad Air)\n\nCapabilities:\n\n```\n{\n  networkConnectionEnabled=false,\n  noReset=false,\n  databaseEnabled=false,\n  deviceName=iPad Air,\n  platform=MAC,\n  showIOSLog=true,\n  sendKeyStrategy=grouped,\n  newCommandTimeout=10000,\n  platformVersion=10.0,\n  safariAllowPopups=true,\n  webStorageEnabled=false,\n  locationContextEnabled=false,\n  browserName=safari,\n  takesScreenshot=true,\n  javascriptEnabled=true,\n  platformName=iOS\n}\n```\n\n\n---\n\n@midopa commented on [Fri Nov 25 2016](https://github.com/appium/appium-xcuitest-driver/issues/242#issuecomment-262904902)\n\nPing? This happens with apps too.\r\n\r\nRuntime environment is the same except now I'm running Appium 1.6.x @ 7131abb.\r\n\r\nLog snippet: https://gist.github.com/midopa/3180433a146324135db1fdb94128cab1\r\nSpecific error: https://gist.github.com/midopa/3180433a146324135db1fdb94128cab1#file-gistfile1-txt-L213\r\n\r\nSome possible clues at lines:\r\n- https://gist.github.com/midopa/3180433a146324135db1fdb94128cab1#file-gistfile1-txt-L26\r\n- https://gist.github.com/midopa/3180433a146324135db1fdb94128cab1#file-gistfile1-txt-L41\r\n\r\nInterestingly, I can take a screenshot and get the page source:\r\n- https://gist.github.com/midopa/3180433a146324135db1fdb94128cab1#file-gistfile1-txt-L260\r\n- https://gist.github.com/midopa/3180433a146324135db1fdb94128cab1#file-gistfile1-txt-L271\n\n---\n\n@midopa commented on [Fri Nov 25 2016](https://github.com/appium/appium-xcuitest-driver/issues/242#issuecomment-263014070)\n\nFWIW, it looks like this doesn't happen when I reset the Appium instance between every test run. So it might be some kind of leaked state Appium gets into?\n\n---\n\n@jlipps commented on [Mon Nov 28 2016](https://github.com/appium/appium-xcuitest-driver/issues/242#issuecomment-263435313)\n\n@midopa it does look like it might be a bug of some kind. I'm not up on the remote debugger code at the moment though, so we may have to wait for @imurchie to get back from vacation after this week\n\n"},"comment":{"url":"https://api.github.com/repos/appium/appium/issues/comments/385637765","html_url":"https://github.com/appium/appium/issues/7432#issuecomment-385637765","issue_url":"https://api.github.com/repos/appium/appium/issues/7432","id":385637765,"user":{"login":"mykola-mokhnach","id":7767781,"avatar_url":"https://avatars1.githubusercontent.com/u/7767781?v=4","gravatar_id":"","url":"https://api.github.com/users/mykola-mokhnach","html_url":"https://github.com/mykola-mokhnach","followers_url":"https://api.github.com/users/mykola-mokhnach/followers","following_url":"https://api.github.com/users/mykola-mokhnach/following{/other_user}","gists_url":"https://api.github.com/users/mykola-mokhnach/gists{/gist_id}","starred_url":"https://api.github.com/users/mykola-mokhnach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mykola-mokhnach/subscriptions","organizations_url":"https://api.github.com/users/mykola-mokhnach/orgs","repos_url":"https://api.github.com/users/mykola-mokhnach/repos","events_url":"https://api.github.com/users/mykola-mokhnach/events{/privacy}","received_events_url":"https://api.github.com/users/mykola-mokhnach/received_events","type":"User","site_admin":false},"created_at":"2018-05-01T09:58:12Z","updated_at":"2018-05-01T09:58:12Z","author_association":"COLLABORATOR","body":"Closed as fixed"}}
{"actor":{"display_login":"mykola-mokhnach"}}