{"action":"created","issue":{"url":"https://api.github.com/repos/cmoulton/SwiftParseDemo/issues/1","labels_url":"https://api.github.com/repos/cmoulton/SwiftParseDemo/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/cmoulton/SwiftParseDemo/issues/1/comments","events_url":"https://api.github.com/repos/cmoulton/SwiftParseDemo/issues/1/events","html_url":"https://github.com/cmoulton/SwiftParseDemo/issues/1","id":78503843,"number":1,"title":"Request cancelled before getting any data","user":{"login":"dams2007","id":3025878,"avatar_url":"https://avatars.githubusercontent.com/u/3025878?v=3","gravatar_id":"","url":"https://api.github.com/users/dams2007","html_url":"https://github.com/dams2007","followers_url":"https://api.github.com/users/dams2007/followers","following_url":"https://api.github.com/users/dams2007/following{/other_user}","gists_url":"https://api.github.com/users/dams2007/gists{/gist_id}","starred_url":"https://api.github.com/users/dams2007/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dams2007/subscriptions","organizations_url":"https://api.github.com/users/dams2007/orgs","repos_url":"https://api.github.com/users/dams2007/repos","events_url":"https://api.github.com/users/dams2007/events{/privacy}","received_events_url":"https://api.github.com/users/dams2007/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-20T12:26:08Z","updated_at":"2015-05-21T04:04:14Z","closed_at":null,"body":"Hi Christina, first thanks for this project. I setup everything to give a try to your project, but looks like the data call is cancelled. I got access to my keys, and everything is fine with Parse. But I got this error : \"Optional(Error Domain=NSURLErrorDomain Code=-999 \"cancelled\" UserInfo=0x7fa2c8e5bfb0 {NSErrorFailingURLKey=https://api.parse.com/1/classes/Products/, NSLocalizedDescription=cancelled, NSErrorFailingURLStringKey=https://api.parse.com/1/classes/Products/})\"\r\n\r\nI checked a bit and looks like the problem is coming from Alamofire, I found a similar problem here\r\nhttps://github.com/Alamofire/Alamofire/issues/157\r\n\r\nSo I changed this line\r\nmanager = Alamofire.Manager(configuration: configuration)\r\n\r\nto this one\r\nmanager = Alamofire.Manager.sharedInstance\r\n\r\nIt's working now, I wanted to know if you got a more elegant way to do it.\r\n\r\nThanks."},"comment":{"url":"https://api.github.com/repos/cmoulton/SwiftParseDemo/issues/comments/104125685","html_url":"https://github.com/cmoulton/SwiftParseDemo/issues/1#issuecomment-104125685","issue_url":"https://api.github.com/repos/cmoulton/SwiftParseDemo/issues/1","id":104125685,"user":{"login":"dams2007","id":3025878,"avatar_url":"https://avatars.githubusercontent.com/u/3025878?v=3","gravatar_id":"","url":"https://api.github.com/users/dams2007","html_url":"https://github.com/dams2007","followers_url":"https://api.github.com/users/dams2007/followers","following_url":"https://api.github.com/users/dams2007/following{/other_user}","gists_url":"https://api.github.com/users/dams2007/gists{/gist_id}","starred_url":"https://api.github.com/users/dams2007/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dams2007/subscriptions","organizations_url":"https://api.github.com/users/dams2007/orgs","repos_url":"https://api.github.com/users/dams2007/repos","events_url":"https://api.github.com/users/dams2007/events{/privacy}","received_events_url":"https://api.github.com/users/dams2007/received_events","type":"User","site_admin":false},"created_at":"2015-05-21T04:04:13Z","updated_at":"2015-05-21T04:04:13Z","body":"Thanks. It's working perfectly.\r\n\r\nDamien."}}