{"action":"created","issue":{"url":"https://api.github.com/repos/practicalmeteor/meteor-wkwebview/issues/3","labels_url":"https://api.github.com/repos/practicalmeteor/meteor-wkwebview/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/practicalmeteor/meteor-wkwebview/issues/3/comments","events_url":"https://api.github.com/repos/practicalmeteor/meteor-wkwebview/issues/3/events","html_url":"https://github.com/practicalmeteor/meteor-wkwebview/issues/3","id":86292070,"number":3,"title":"Cannot connect to Meteor server","user":{"login":"JamesLefrere","id":5450382,"avatar_url":"https://avatars.githubusercontent.com/u/5450382?v=3","gravatar_id":"","url":"https://api.github.com/users/JamesLefrere","html_url":"https://github.com/JamesLefrere","followers_url":"https://api.github.com/users/JamesLefrere/followers","following_url":"https://api.github.com/users/JamesLefrere/following{/other_user}","gists_url":"https://api.github.com/users/JamesLefrere/gists{/gist_id}","starred_url":"https://api.github.com/users/JamesLefrere/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JamesLefrere/subscriptions","organizations_url":"https://api.github.com/users/JamesLefrere/orgs","repos_url":"https://api.github.com/users/JamesLefrere/repos","events_url":"https://api.github.com/users/JamesLefrere/events{/privacy}","received_events_url":"https://api.github.com/users/JamesLefrere/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-06-08T18:58:34Z","updated_at":"2015-07-16T03:08:53Z","closed_at":null,"body":"Hi, I hope this is the right repo to post this issue in, but it does seem like a Meteor issue.\r\n\r\nIn my project, with the package and the cordova plugin added, I can try to run the app as follows:\r\n\r\n    meteor run ios-device --settings=settings.json --mobile-server=http://192.168.178.75:3000\r\n\r\nThe app does launch, but it can't get past the splash screen. The log reads:\r\n\r\n\t2015-06-08 20:52:22.645 testapp[926:60b] Apache Cordova native platform version 3.7.0 is starting.\r\n\t2015-06-08 20:52:22.650 testapp[926:60b] Multi-tasking -> Device: YES, App: YES\r\n\t2015-06-08 20:52:22.808 testapp[926:60b] [CDVTimer][file] 11.548996ms\r\n\t2015-06-08 20:52:22.912 testapp[926:60b] [CDVTimer][statusbar] 103.003025ms\r\n\t2015-06-08 20:52:22.929 testapp[926:60b] [CDVTimer][splashscreen] 15.681982ms\r\n\t2015-06-08 20:52:22.931 testapp[926:60b] Init FacebookConnect Session\r\n\t2015-06-08 20:52:22.953 testapp[926:60b] [CDVTimer][facebookconnectplugin] 22.512972ms\r\n\t2015-06-08 20:52:22.956 testapp[926:60b] [CDVTimer][TotalPluginStartup] 159.676015ms\r\n\t2015-06-08 20:52:23.004 testapp[926:60b] active\r\n\t2015-06-08 20:52:24.071 testapp[926:60b] Resetting plugins due to page load.\r\n\t2015-06-08 20:52:24.314 testapp[926:60b] Finished load of: file:///var/mobile/Applications/CD65C777-3F10-43C3-88C6-435EA2BB612C/testapp.app/www/index.html\r\n\t2015-06-08 20:52:24.714 testapp[926:60b] THREAD WARNING: ['Device'] took '11.073975' ms. Plugin should use a background thread.\r\n\t2015-06-08 20:52:24.734 testapp[926:60b] METEOR CORDOVA DEBUG (meteor_cordova_loader.js) Error reading version file Error: Failed to resolve entry: file:///var/mobile/Applications/CD65C777-3F10-43C3-88C6-435EA2BB612C/Library/NoCloud/meteor/version\r\n\t2015-06-08 20:52:24.737 testapp[926:60b] METEOR CORDOVA DEBUG (meteor_cordova_loader.js) Couldn't load from the manifest, falling back to the bundled assets.\r\n\t2015-06-08 20:52:24.740 testapp[926:60b] WkWebViewCordovaUpdate.startServer: arguments - (\r\n\t    \"/var/mobile/Applications/CD65C777-3F10-43C3-88C6-435EA2BB612C/testapp.app/www/application/\",\r\n\t    \"/var/mobile/Applications/CD65C777-3F10-43C3-88C6-435EA2BB612C/testapp.app/www/\"\r\n\t)\r\n\t2015-06-08 20:52:24.741 testapp[926:60b] WkWebViewCordovaUpdate.startServer: _webServer.serverURL - (null) \r\n\t2015-06-08 20:52:24.743 testapp[926:60b] WkWebViewCordovaUpdate.startServer: documentsFolder - /var/mobile/Applications/CD65C777-3F10-43C3-88C6-435EA2BB612C/Documents \r\n\t2015-06-08 20:52:24.745 testapp[926:60b] WkWebViewCordovaUpdate.startServer: METEORCordovajsRoot - (null) \r\n\t2015-06-08 20:52:24.746 testapp[926:60b] WkWebViewCordovaUpdate.startServer: serverUrl - http://localhost:0\r\n\t2015-06-08 20:52:24.750 testapp[926:60b] METEOR CORDOVA DEBUG (meteor_cordova_loader.js) Loading from url: http://localhost:0\r\n\t2015-06-08 20:52:24.768 testapp[926:60b] Resetting plugins due to page load.\r\n\t2015-06-08 20:52:24.784 testapp[926:60b] Failed to load webpage with error: Could not connect to the server.\r\n\r\nDo I need to specify the server in a different way? I checked this without the WKWebView and it does work there.\r\n\r\nCheers\r\nJames"},"comment":{"url":"https://api.github.com/repos/practicalmeteor/meteor-wkwebview/issues/comments/121811882","html_url":"https://github.com/practicalmeteor/meteor-wkwebview/issues/3#issuecomment-121811882","issue_url":"https://api.github.com/repos/practicalmeteor/meteor-wkwebview/issues/3","id":121811882,"user":{"login":"rbabayoff","id":3960877,"avatar_url":"https://avatars.githubusercontent.com/u/3960877?v=3","gravatar_id":"","url":"https://api.github.com/users/rbabayoff","html_url":"https://github.com/rbabayoff","followers_url":"https://api.github.com/users/rbabayoff/followers","following_url":"https://api.github.com/users/rbabayoff/following{/other_user}","gists_url":"https://api.github.com/users/rbabayoff/gists{/gist_id}","starred_url":"https://api.github.com/users/rbabayoff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rbabayoff/subscriptions","organizations_url":"https://api.github.com/users/rbabayoff/orgs","repos_url":"https://api.github.com/users/rbabayoff/repos","events_url":"https://api.github.com/users/rbabayoff/events{/privacy}","received_events_url":"https://api.github.com/users/rbabayoff/received_events","type":"User","site_admin":false},"created_at":"2015-07-16T03:08:53Z","updated_at":"2015-07-16T03:08:53Z","body":"Can I close this or are people still having problems?"}}