Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

iOS Build a Self-Destructing Message iPhone App Capturing Photo and Video Using UIImagePickerController Adding Recipients

URL NSError message - unable to log in?

Evening all,

So I am 10 minutes into the adding Recipients video and I ran app to try to log in to add more friends via the app.

I can't log in. It's saying that the network connection was lost.

At first I thought that maybe I was signed out of parse.com but I am logged in there.

Anyone have any idea about what might be going on here?

Error message in console:

When I logged in, I got this error message on my app: 2014-10-25 18:07:21.782 Ribbit[1212:27270] Error: Error Domain=NSURLErrorDomain Code=-1005 "The network connection was lost." UserInfo=0x7fa0715b56d0 {NSUnderlyingError=0x7fa0715cbec0 "The network connection was lost.", NSErrorFailingURLStringKey=https://api.parse.com/2/user_login, NSErrorFailingURLKey=https://api.parse.com/2/user_login, _kCFStreamErrorDomainKey=1, _kCFStreamErrorCodeKey=57, NSLocalizedDescription=The network connection was lost.} (Code: 100, Version: 1.4.2)

1 Answer

Vincent, here is a full template for the social network application: Click Here.