{"action":"created","issue":{"url":"https://api.github.com/repos/realm/realm-cocoa/issues/5635","repository_url":"https://api.github.com/repos/realm/realm-cocoa","labels_url":"https://api.github.com/repos/realm/realm-cocoa/issues/5635/labels{/name}","comments_url":"https://api.github.com/repos/realm/realm-cocoa/issues/5635/comments","events_url":"https://api.github.com/repos/realm/realm-cocoa/issues/5635/events","html_url":"https://github.com/realm/realm-cocoa/issues/5635","id":300373593,"number":5635,"title":"`Realm.asyncOpen` callback not called","user":{"login":"i-schuetz","id":1381744,"avatar_url":"https://avatars2.githubusercontent.com/u/1381744?v=4","gravatar_id":"","url":"https://api.github.com/users/i-schuetz","html_url":"https://github.com/i-schuetz","followers_url":"https://api.github.com/users/i-schuetz/followers","following_url":"https://api.github.com/users/i-schuetz/following{/other_user}","gists_url":"https://api.github.com/users/i-schuetz/gists{/gist_id}","starred_url":"https://api.github.com/users/i-schuetz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/i-schuetz/subscriptions","organizations_url":"https://api.github.com/users/i-schuetz/orgs","repos_url":"https://api.github.com/users/i-schuetz/repos","events_url":"https://api.github.com/users/i-schuetz/events{/privacy}","received_events_url":"https://api.github.com/users/i-schuetz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-26T19:53:39Z","updated_at":"2018-03-24T10:48:53Z","closed_at":null,"author_association":"NONE","body":"<!---\r\n\r\n**Questions**: If you have questions about how to use Realm, ask on\r\n[StackOverflow](http://stackoverflow.com/questions/ask?tags=realm).\r\nWe monitor the `realm` tag.\r\n\r\n**Feature Request**: Just fill in the first two sections below.\r\n\r\n**Bugs**: To help you as fast as possible with an issue please describe your issue\r\nand the steps you have taken to reproduce it in as many details as possible.\r\n\r\n-->\r\n\r\n## Goals\r\nOpen the realm with `Realm.asyncOpen`\r\n\r\n\r\n## Expected Results\r\nThe callback is called - either with success or an error\r\n\r\n## Actual Results\r\nThe callback is never called. Also, no log messages.\r\n\r\n## Steps to Reproduce\r\nLogged in via `SyncUser.logIn(with: credentials, server: authUrl)`. With the returned user, and the other config data (the sync server url, added below, and an array with my object types), create a `Realm.Configuration` and then with that call `Realm.asyncOpen`.\r\n\r\nThis started happening after I switched to Realm Cloud beta - with the previous local ROS it was working correctly. I, too, just upgraded to Realm 3.1.1 (was 3.0.2 before) to see if the problem was my version being outdated, but the same problem still happens.\r\n\r\nWhen I say \"switched to Realm Cloud beta\" I mean only that I updated the auth and sync urls.\r\nThe urls I have now are:\r\nSync url: realms://myapp.us1.cloud.realm.io\r\nAuth url: https://myapp.us1.cloud.realm.io\r\n\r\n## Version of Realm and Tooling\r\n\r\n```\r\nProductName:\tMac OS X\r\nProductVersion:\t10.12.6\r\nBuildVersion:\t16G1036\r\n\r\n/Applications/Xcode.app/Contents/Developer\r\nXcode 9.2\r\nBuild version 9C40b\r\n\r\n/usr/local/bin/pod\r\n1.3.1\r\nRealm (3.1.1)\r\nRealmSwift (3.1.1)\r\nRealmSwift (~> 3.1.1)\r\n\r\n/bin/bash\r\nGNU bash, version 3.2.57(1)-release (x86_64-apple-darwin16)\r\n\r\n/usr/local/bin/carthage\r\n0.25.0\r\n(not in use here)\r\n\r\n/usr/bin/git\r\ngit version 2.14.3 (Apple Git-98)\r\n```"},"comment":{"url":"https://api.github.com/repos/realm/realm-cocoa/issues/comments/375870457","html_url":"https://github.com/realm/realm-cocoa/issues/5635#issuecomment-375870457","issue_url":"https://api.github.com/repos/realm/realm-cocoa/issues/5635","id":375870457,"user":{"login":"i-schuetz","id":1381744,"avatar_url":"https://avatars2.githubusercontent.com/u/1381744?v=4","gravatar_id":"","url":"https://api.github.com/users/i-schuetz","html_url":"https://github.com/i-schuetz","followers_url":"https://api.github.com/users/i-schuetz/followers","following_url":"https://api.github.com/users/i-schuetz/following{/other_user}","gists_url":"https://api.github.com/users/i-schuetz/gists{/gist_id}","starred_url":"https://api.github.com/users/i-schuetz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/i-schuetz/subscriptions","organizations_url":"https://api.github.com/users/i-schuetz/orgs","repos_url":"https://api.github.com/users/i-schuetz/repos","events_url":"https://api.github.com/users/i-schuetz/events{/privacy}","received_events_url":"https://api.github.com/users/i-schuetz/received_events","type":"User","site_admin":false},"created_at":"2018-03-24T10:48:53Z","updated_at":"2018-03-24T10:48:53Z","author_association":"NONE","body":"Tried again with Realm 3.3.0. Still happening. I debugged in Realm and found this is the line where it hangs:\r\n\r\n`session->wait_for_download_completion([=](std::error_code error_code) {` in `RLMRealm.mm`\r\n\r\nIs there maybe a timeout missing somewhere?"}}
{"actor":{"display_login":"i-schuetz"}}