{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/react-native/issues/12786","repository_url":"https://api.github.com/repos/facebook/react-native","labels_url":"https://api.github.com/repos/facebook/react-native/issues/12786/labels{/name}","comments_url":"https://api.github.com/repos/facebook/react-native/issues/12786/comments","events_url":"https://api.github.com/repos/facebook/react-native/issues/12786/events","html_url":"https://github.com/facebook/react-native/issues/12786","id":212662797,"number":12786,"title":"iOS: Connection to development server frequently lost?","user":{"login":"ABleas","id":15190740,"avatar_url":"https://avatars0.githubusercontent.com/u/15190740?v=4","gravatar_id":"","url":"https://api.github.com/users/ABleas","html_url":"https://github.com/ABleas","followers_url":"https://api.github.com/users/ABleas/followers","following_url":"https://api.github.com/users/ABleas/following{/other_user}","gists_url":"https://api.github.com/users/ABleas/gists{/gist_id}","starred_url":"https://api.github.com/users/ABleas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ABleas/subscriptions","organizations_url":"https://api.github.com/users/ABleas/orgs","repos_url":"https://api.github.com/users/ABleas/repos","events_url":"https://api.github.com/users/ABleas/events{/privacy}","received_events_url":"https://api.github.com/users/ABleas/received_events","type":"User","site_admin":false},"labels":[{"id":470317962,"url":"https://api.github.com/repos/facebook/react-native/labels/Icebox","name":"Icebox","color":"ededed","default":false},{"id":257497884,"url":"https://api.github.com/repos/facebook/react-native/labels/iOS","name":"iOS","color":"c7def8","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2017-03-08T07:52:44Z","updated_at":"2017-10-04T14:21:48Z","closed_at":"2017-07-25T22:57:52Z","author_association":"NONE","body":"On device refresh (shake device > reload), the error \"Could not connect to development server\" occasionally shows up. At other times, reloading doesn't update the live app, even when code has changed, but no error is thrown.\r\n\r\nIf I try to run a new server with `npm start`, it reports that there is already a development server running. I have to stop the server and rerun the app before this resolves.\r\n\r\nI was under the impression that we don't need to change `jsCodeLocation` any more, as those instructions we removed from documentation, and running live through the device works with a fresh RN project.\r\n\r\nIt happens every hour at least. I can't reliably reproduce it.\r\n\r\n### Additional Information\r\n\r\nCurrently using the following modules:\r\n```\r\n    \"lottie-react-native\": \"1.0.5\",\r\n    \"react\": \"15.4.1\",\r\n    \"react-native\": \"^0.41.2\",\r\n    \"react-native-blur\": \"^2.0.0\",\r\n    \"react-native-datepicker\": \"^1.4.2\",\r\n    \"react-native-maps\": \"0.13.0\",\r\n    \"react-native-scrollable-tab-view\": \"^0.7.2\",\r\n    \"supercluster\": \"^2.3.0\"\r\n```\r\nI'm also using a CocoaPods workspace to load google maps dependencies not included with iOS.\r\nThis is untested on Android, so just an iOS issue.\r\nDeveloping on MacOS Sierra 10.12.2.\r\n\r\nI realize this may be a troubleshooting issue for my setup but as the instability only began after RN^40, I'm wondering, am I alone with this?\r\n"},"comment":{"url":"https://api.github.com/repos/facebook/react-native/issues/comments/334171617","html_url":"https://github.com/facebook/react-native/issues/12786#issuecomment-334171617","issue_url":"https://api.github.com/repos/facebook/react-native/issues/12786","id":334171617,"user":{"login":"selsamman","id":1441870,"avatar_url":"https://avatars0.githubusercontent.com/u/1441870?v=4","gravatar_id":"","url":"https://api.github.com/users/selsamman","html_url":"https://github.com/selsamman","followers_url":"https://api.github.com/users/selsamman/followers","following_url":"https://api.github.com/users/selsamman/following{/other_user}","gists_url":"https://api.github.com/users/selsamman/gists{/gist_id}","starred_url":"https://api.github.com/users/selsamman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/selsamman/subscriptions","organizations_url":"https://api.github.com/users/selsamman/orgs","repos_url":"https://api.github.com/users/selsamman/repos","events_url":"https://api.github.com/users/selsamman/events{/privacy}","received_events_url":"https://api.github.com/users/selsamman/received_events","type":"User","site_admin":false},"created_at":"2017-10-04T14:21:48Z","updated_at":"2017-10-04T14:21:48Z","author_association":"NONE","body":"It is not clear to me why xip.io should be on by default.  The whole package manager interface is pretty fragile and having one more banana peel just doesn't make sense to me.  Maybe I am missing something about why xip.io is needed in the first place for this use-case.\r\n\r\nIn my case I travel a fair bit and each time and it is always aggravating getting things going again on a new network. Often I just use my phone as a hot spot just avoid this.   The xip.io problem I found on only one router in my travels.  It is not clear though whether it was the router or the service provider that was the source of the problem."}}
{"actor":{"display_login":"selsamman"}}