I have been stuck on this very issue for nearly 2 days. It crashes when it tries to connect (shown in code below). I am getting an exception that says :